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
-
Tracking Pop Up Form Submission Events with GTM
Hello, I'm currently tracking contact form submissions any time a user clicks 'Submit' on a pop-up form. Once the form is submitted, the URL of the page remains the same (there is no /thank-you page or such like), hence needing to fire the Event based on a click. Problem is, even if the form is not actually submitted and a user just clicks the Submit button without filling in the fields, the Event will still fire. I know there is a way to ensure the Event ONLY fires when the form is actually submitted for real, but I don't know how to implement that in GTM. Any help most appreciated 🙂 Cheers, Gill.
Reporting & Analytics | | Cannetastic0 -
Https Referral Issues
Hi Moz! We are having some trouble passing along referral data to our linked websites. We are an advertising platform that counts on our clients seeing our traffic in analytics. We recently switched to HTTPS and implemented the meta referral <always>however, we are still experiencing issues with clients not seeing our referral traffic. Are there other ways to make a full-proof fix so they will always see us as a referral? I know the referral tag should help but it isn't supported by all browsers. </always> Also, would there be an issue if we have our site (https) linked to their http site that redirects to https? Even with the referral tag, we are seeing issues. I feel so lucky that our actual transition to https went fine but now with all this referral traffic on clients analytics, I am concerned we are losing the credit we should get for the traffic to their site. Thanks Moz Community!
Reporting & Analytics | | GoAbroadKP0 -
How do I track specific referral traffics journey through a website?
Hello, A client has asked us to track the journey each separate referral traffic visitor takes through out the website. I have had a look through analytics and am not sure how to ensure I can do this for all referral traffic visitors? Can anyone help? Thank you.
Reporting & Analytics | | mblsolutions0 -
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 -
All goal conversion in Google analytics showing under referral
Hi All, I have switched my website from http to https After switching from http to https all goal conversions in Google analytics showing under referral.I have also updated the GA code for https. Please help me out to fix the issue. Thanks
Reporting & Analytics | | Alick3000 -
Subdomain referral
Hi, We have two sites mysite.com and aa.mysite.com. We want to track these sites separately. We created two different properties with IDs UA-XXX-1 for main domain UA-XXX-2 for subdomain. gaq code for main domain is as following, gaq code for subdomain is as following, It works well for subdomain. But we want to see traffic from subdomain to main domain as referral.
Reporting & Analytics | | OkanKortan
What is wrong with the gaq code of main domain?
Do i need to change code or is it enough to inactivate subdomain tracking option in profile settings of main domain? Thanks in advance,0 -
Dramatic Increase in referrals from own website
The past few weeks I've been wracking my brain to figure out why on earth my branded searches could be dropping off at 30-40%. Well today, I realize I've had a dramatic increase in referrals from my own site (the non www verison). I'm talking 150 in March of last year to 5k in March of this year drastic. My 301 redirects haven't changed as far as I know -- I've had them set to redirect from the non www. to the www. for at least a year or two. I'm assuming visitors from search engines are somehow getting the non www version and the redirect is attributing the traffic to referrals instead of search. The drop in search traffic and the increase in referral traffic fall on the same day. Does that sound right/possible? If so, how do I fix this? My traffic stats for two clients are all screwy because of this. I want to make sure whatever solution I implement won't hurt my search traffic numbers any more 🙂 Has anyone else seen this happen recently? I could imagine an anomaly with one site but I find it odd that it could be two client sites. I still have some others to check. Thanks in advance! Leslie
Reporting & Analytics | | LeslieVS0 -
Yahoo Webmaster Tools still work?
Now that Yahoo is using Bing's search results, do we still need to monitor and use Yahoo's Webmaster's Tools - or do we stick to using the Bing Webmaster Tools?
Reporting & Analytics | | findachristianjob0