Mobile app version of vmapp.org
Login or Join
Murphy175

: Google analytics not showing referrer from internal links on event label set by Google Tag Manager I've set up an trigger in GTM that tracks a 404 event. This shows the 404 page as the event

@Murphy175

Posted in: #GoogleAnalytics #GoogleTagManager #Referrer

I've set up an trigger in GTM that tracks a 404 event. This shows the 404 page as the event action and the page the 404 was found on as the page label.

This works perfectly excluding the fact that any 404's found within my own website don't show the referrer in the label.

Presumably this is an issue with analytics rather than tag manager but why do my own pages not show as a referrer and how can I get it to do so?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murphy175

1 Comments

Sorted by latest first Latest Oldest Best

 

@Berryessa370

I'm pleased to report a solution has been found. Although my site uses SSL the link on the page included http which then gets rewrote to https and excludes the Referrer data.

To solve the problem I used the following meta tag on my pages:

<meta name="referrer" content="strict-origin">


You can read more about the referrer meta tag here blog.wsol.com/seo-for-https-sites-should-you-implement-the-meta-referrer-tag

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme