Values not URL encoded contain special characters ":", "/", "?" | Community
Skip to main content
alev1
Level 4
September 27, 2016
Solved

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

  • September 27, 2016
  • 2 replies
  • 3883 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

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.

2 replies

Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
October 3, 2016

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.

alev1
alev1Author
Level 4
October 4, 2016

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.