Expand my Community achievements bar.

SOLVED

Can referrer value be overwrittten?

Avatar

Level 6

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?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

Had an issue where I noticed this.

View solution in original post

3 Replies

Avatar

Employee Advisor

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

Avatar

Level 6

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

Correct answer by
Employee Advisor

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

Had an issue where I noticed this.