Can referrer value be overwrittten? | Community
Skip to main content
Level 5
August 8, 2018
Solved

Can referrer value be overwrittten?

  • August 8, 2018
  • 3 replies
  • 2353 views

Hi!

Since we are having a lot of problems with the referrer report dealing with blank values, we want to override the referrer value in our GTM: whenever there is no referrer, we write a String value.

However it doesn't show up in referrer report. Is referrer report only accepting blank or URLs?

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 Hyder_Ziaee

Yes, spaces and other non-URL characters will be removed if they are set in the variable.

Had an issue where I noticed this.

3 replies

Gigazelle
Adobe Employee
Adobe Employee
August 8, 2018

If you're using an s_code implementation, s.referrer would be the variable you'd want to overwrite to ensure it is populated.

alv123456Author
Level 5
August 9, 2018

Unfortunately we don't, we create the imag tags by ourselves and send them to adobe. We tried to overwrite the "r=" parameter with a string (not an URL), but it won't populate the reports. So my assumption is that the value must have the structure an URL?

Hyder_Ziaee
Adobe Employee
Hyder_ZiaeeAdobe EmployeeAccepted solution
Adobe Employee
August 9, 2018

Yes, spaces and other non-URL characters will be removed if they are set in the variable.

Had an issue where I noticed this.