Can referrer value be overwrittten?

Avatar

Avatar

alv123456

Avatar

alv123456

alv123456

08-08-2018

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

hyderziaee

Employee

Avatar

hyderziaee

Employee

hyderziaee
Employee

09-08-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.

Answers (2)

Answers (2)

Avatar

Avatar

alv123456

Avatar

alv123456

alv123456

09-08-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?

Avatar

Avatar

Gigazelle

Employee

Avatar

Gigazelle

Employee

Gigazelle
Employee

08-08-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.