Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Values not URL encoded contain special characters ":", "/", "?"

Avatar

Level 5

Hi, I created a new value that should need to pick up the page's URL and host name. But the values passed are not encoded, they look like "https://www.abc.com?tracker=abc". I guess this might be a problem? I'm picking them up via tag manager. Any idea how to avoid this?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Values collected by Adobe Analytics are automatically encoded in the image request and decoded when it hits Adobe's servers. You are free to pass URL data, including characters that would normally need to be encoded, as text strings and Adobe Analytics will take care of the encoding/decoding for you.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Values collected by Adobe Analytics are automatically encoded in the image request and decoded when it hits Adobe's servers. You are free to pass URL data, including characters that would normally need to be encoded, as text strings and Adobe Analytics will take care of the encoding/decoding for you.

Avatar

Level 5

Didn't work for me. I created a "custom image tag" in GTM which contained the tracking call's URL and the query string. For some reason GTM didn't percent encode the query string parameter values and sent them as they were https://comapany.122.2o7.net/b/ss/reportsuiteid/5/H.24.1--WAP?AQB=1&v1=www.abc.com?trackeridXY&AQE=1

Somehow these tracking calls weren't accepted by Adobe, they didn't populat the reports. Only properly encoded were.