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
-
Combine Facebook referrals into one
Hello, I am a bit confused about the correct setting of filter to combine All facebook referrals into one.
Reporting & Analytics | | Johnroger
After going through different versions, not sure which one is correct and will work Some versions say that Search string should be - *^.facebook.com$ and Replace string should be - facebook.com While according to other Search string should be > *.facebook
and Replace string should be - facebook Please guide which one of this is correct and will work ? Thanks0 -
Google Optimize via Google Tag manager not working properly
Hi All, I am using google optimize via tag manager. I have successfully implemented it and my experiment appeared in google analytic but google optimize chrome addon always give me add script not installed properly. How to solve solve error? Thanks!
Reporting & Analytics | | amu1230 -
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 -
Tracking specific path and referral for unique session
Happy Monday everyone! We recently received a unique lead on our site and I was wondering if there was anyway to pinpoint the exact behavior flow and/or specific referral source they came from on Google Analytics. I know you can view the general behavior flow for all or segmented users based on what pages they viewed, but I wanted to see if I can track by unique sessions to see where this person exactly found us. Any insight is appreciated! Thanks
Reporting & Analytics | | KathleenDC0 -
Payment gateway referrals disappeared
Hi All, I was getting payment gateway referrals for my site for many months but when I have implemented enhanced eCommerce tracking self referral issue resolved but I haven't read anywhere about this solution so I just want to confirm once . Thanks
Reporting & Analytics | | Alick3000 -
Filters for referral bots ineffective
I'm not sure what I'm doing wrong here. I've been trying to block spam from my client's analytics for over a month and I just can't seem to get it right. I am beyond frustrated. Here is a list of the filters I have: http://imgur.com/a/SVvEA#0 And here is referral traffic from them regardless: http://imgur.com/a/SVvEA#1 Specifically this is what the filter looks like. Am I doing something wrong here? http://imgur.com/a/SVvEA#2 I have also put a filter in place to block traffic from Russia, and it doesn't seem to be working 100% either. http://imgur.com/a/SVvEA#3 On top of that, it seems anytime I do manage to block something, another site just pops up in its place. Is it endless? My clients are very small local business and this is absolutely ruining their analytics. I can't even show them their traffic reports since it's absolutely meaningless with all this spam. Any help would be greatly appreciated.
Reporting & Analytics | | everestagency0 -
Referral Traffic vs. Campaign Traffic in Google Analytics
I have two sites: a blog and an ecommerce site. The blog funnels people to the ecommerce site. In Analytics I'm seeing declines in referral traffic from the blog to the ecommerce site. During the same time I'm seeing an increase in campaign traffic to the ecommerce site, with most campaign traffic coming from the blog. I believe the increase in campaign traffic is largely a result of simply having installed more tracking links. This leads me to believe that the declines I'm seeing in referral traffic is simply a result of the increase in campaign traffic. In other words, what was once counted and reported as being referral traffic is now being counted and reported as campaign traffic. So my question is this: In Google Analytics is campaign traffic ALSO reported as referral traffic, or is campaign traffic reported separately and not duplicated in referral traffic reports? I'll provide a concrete example to make this more clear in case it isn't: Say site X sends 1000 visits each month to site Y. Say 50 of those visits come from a single link on X. If that link is changed so that campaign Z data info added (via the Google URL Builder), would you expect to then see 950 referral visits each month from site X to site Y plus 50 campaign visits to site Y via new campaign Z, or would you continue to see 1000 referral visits plus the new 50 campaign visits? Many thanks in advance to anyone that can shed some light on this.
Reporting & Analytics | | aaronprimal0 -
The client's website serves as the main referral?
Hi mozzers, I have this weird case where one of my client's first referral is its own website!! I am really confused especially that I have checked there www vs non www and the non www is redirected to the www. This means that it resolve to one version which is good! Any thoughts on why the main referral is its own site? Thanks
Reporting & Analytics | | Ideas-Money-Art0