Referral exclusion not working with GTM?
-
Hi, how are you?
I have my website with Google Tag Manager implemented. Google Analytics is one of the tags I have configured.The problem is that Referral exclusions aren't working for me. I excluded 3 domains, and I keep seeing them in my Referral Traffic report.
Any idea why this could be happening?Best wishes,
Ariel -
So good to hear!
-
Fixed it.
Seems that the IT guys left some old ga.js tracking codes that were activated in some transactions. When you have mixed tracking codes between analytics.js and ga.js this kind of pathological behaviors happen.
Thanks!
-
Not yet. Still trying different possible causes. Hopefully I'll have some results in the next few days.
-
Did this ever get resolved?
-
Nope, still trying to contact Google to fix this issue.
-
Did you figure this out?
-
Yeah, I've seen that article. The problem is that I don't have acceso to the other domain, and that what I did is exactly what it says in the last step, that's why I'm really lost!
I just contacted some people in Google to see if they can check what's going on.
-
I don't see anything wrong there ... I wonder if something like this would help you? I've never done it myself, but this article might be worth checking out: http://www.lunametrics.com/blog/2013/12/24/cross-domain-tracking-tag-manager/#sr=g&m=o&cp=or&ct=-tmc&st=(opu qspwjefe)&ts=1420936709
-
There's no way a user can come from those subdomains without passing from my site first. The path you give as an example is accurate.
Analytics is being tracked threw a tag in Google Tag Manager. You can see the configuration of the tag in http://imgur.com/Pqi3Gt5. Can you find anything wrong?
-
Ah, that makes more sense. Is there any way that traffic could be coming from those domains without having gone to your site first? Can you give me an instance of a path a user might take?
Example: User goes to product page on shop.domain.com, checks out, is referred to na.otherdomain.com, and comes back to shop.domain.com.
I am trying to see if there is another issue in the path of the user.
Also, can you share the tag you are using on your site for GA?
-
Yes, but those subdomains aren't from my website, they are from the website of payment gateway from where my visits return to my website after paying.
-
In your attachments, the screen grabs referenced two subdomains, one starting with eu and one with na.
-
I'm sorry, what subdomains are you talking about?
-
Are these subdomains on the same tracking code as the root domain?
I can't find a live instance of pages on these subdomains, can you give us examples of the tracking code on one page of each subdomain and the main domain (the one being tracked)?
-
Any ideas why this isn't working?
-
Yes, that's what I did, please check the tho images I attached, one of them (http://imgur.com/IrzKXiY) is a screenshot of the Referral Exclusion in the admin section.
-
With the new version of Google Analytics and GTM, you no longer code referral exclusions into the ga.js, instead you should be excluding them in the admin section.
https://developers.google.com/analytics/devguides/collection/upgrade/reference/gtm
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Google Analytics not Working on all pages despite many attempts
Hey gang, So this problem has been going on for months. None of our landing pages track, but all of our blog pages do. I've tried GA plugins, (we are on wordpress) and just now even put the code in the theme header script. Still to no avail. I just checked right now, and the blog pages have the global GA code, but now I noticed not even the home page has the code! Could it be something to do with my theme? I tried to pay a guy on upwork to fix but he couldn't fix it either. Thank you for you help!
Reporting & Analytics | | Meier0 -
GTM variable based on Datalayer
Hi Mozzers, I'm having some troubles with implementing a GTM variable for one of my clients. I need to have a variable which takes out the quantity of products. Attached you can find a screen shot of the datalayer push. What's the path I need to setup in order to create a variable for the quantity? Many thanks!
Reporting & Analytics | | WeAreDigital_BE
Sander Wa4HI0 -
Referral Data Q's
1. We recently ran a promotion on both FB and Reddit, which is https, linking to our non-https site. We utilized UTM links to our landing page. Our GA campaign data returned extremely low hits in comparison to what we actually received (and recorded via FB/Reddit dashboard). Obviously our Direct traffic spiked during these times, caused by a secure to nonsecure referral, I'm sure. I'm also noticing a spike in referral traffic from lm.facebook.com that correlates to the ad times. Does this mean Facebook's link shim is stripping away my UTM data? My question is why we receive SOME properly UTM-tagged referral traffic in our campaigns? What's allowing some of it to go through? 2. I've tagged our email signature links with UTM as well, hoping to clean up some of our Direct traffic. I understand that external clients like Outlook and Thunderbird likely won't pass referral data, but do hosted clients like Gmail, Yahoo, and such? And if so, would the https to http difference obstruct this again? I'd love some insight onto these questions, especially if I'm off the mark with a few of my assumptions there.
Reporting & Analytics | | kirmeliux0 -
Weird referral data. Spam?
Hi all, a few of my sites are suffering from referral spam. I read a couple of articles here on how to exclude them from your traffic using htaccess but today I was going through some referral stats of the company I work for and I noticed a lot of referral traffic coming from prod2.ssosecure.com I didn't find any article telling me this is spam, so it could also be an intranet of one of our clients where they are sending their employees to our application. Anybody a clue what this could be?
Reporting & Analytics | | jorisbrabants0 -
Drop in google.com / referral trafic
Hi, On one of our sites (after the release of a new version, including redirections), we've seen a drop in referral trafic from google.fr (france). I know that this trafic usually comes from Google Images but it doesnt seem to be the case this time. The referal path is "/" and not "imgres" as it usually is when it comes from google images. The search trafic hasnt dropped tough... The site is a job listing site. We also saw a drop from indeed.com, I guess their crawler got lost in our new site... Any idea on the possible google site it could come from? Thank you,
Reporting & Analytics | | AdrienLargus0 -
Google Analytics Real Time Not Working! :(
Hello Everyone, Today, the real time feature in my google analytics stopped working. I am able to see that traffic is visiting my site, but not in real time. The real time count is usually at 0. But, there are some instances where real time will come back online, but there will be only 1 unique visitor. At any given time, our website usually has 20 visitors or so..Has anyone encountered this issue? Where should i start looking for fixes? What are the possible problems? Thanks!
Reporting & Analytics | | KarlMarxTheBear0 -
Google Analytics Not Working
I added the code before tag but still google not showing it is installed. Status: Tracking Not Installed Last checked: Mar 15, 2013 10:38:10 PM PDT Can someone check my domain - www.plugnbuy.com
Reporting & Analytics | | chandubaba0 -
Event Tracking Not Working
Hey there. Could use some help in figuring on why the event tracking code on this site http://www.baltimoreareahondadealers.com is not working. There is code on all external domain links but none seem to be firing. Inspect all the map links to view code ie. Search New Honda Inventory What am I missing? Thanks so much. -Caryn
Reporting & Analytics | | Caryn0