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
-
GTM: Transaction value without tax as variable
Hi Mozzers, I'm trying to create a GTM variable for transaction value without tax. There is no datalayer field for this at the moment. e.g. I only have these fields in the datalayer: Revenue (€19.99) Tax (€3.47) Price (€19.99) No field with the price without tax. Is there a way to create a variable? Is it possible to work with a specific function? Or is it standard to implement an extra field in the datalayer? Many thanks,
Reporting & Analytics | | WeAreDigital_BE
Sander0 -
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 -
Why would on-site search queries show up as referral traffic?
The site analytics have been set up for over a year and suddenly last month there was a huge spike in referral traffic (1100+ sessions). Upon further investigation, the majority of it was coming directly from internally, either as mysite.com or search.mysite.com and the landing pages from the referrals are all /search.html?query=* This was never an issue before so I'm trying to understand what could have changed. I'm following up with the client to find out if their dev team may have changed anything related to their search engine but I'm wondering if there may be another explanation. A few notes: previously mysite.com / search.mysite.com were not in the Referral Exclusion list. I've added them now but this was never an issue before. Thanks in advance!
Reporting & Analytics | | SEMnMs0 -
How to stop Spam Referral Traffic?
We get referral traffic from Spammers to our Wordpress sites. That traffic comes from different countries: Russia, Ukraine, India, Germany, Pakistan etc. What's the best way to get rid of it? Setting up filters in Google Analytics? Is there something else that I need to do? Is there a plug-in that could help? Does that traffic have a negative impact on my SEO? Does it affect the rankings?
Reporting & Analytics | | Armen-SEO2 -
.com site referral traffic to ccTLDs
We have 7 international domains set up along with our main .com site. All of the ccTLds are showing their main referral traffic as coming from the .com site in GA, and most of those being from mobile. Each site is set up correctly with geo-targeting and hreflang tags. Has anyone experienced this before?
Reporting & Analytics | | ggpaul5620 -
Some goal conversion in Google analytics showing under referral
Yesterday I have created Google analytics account for a new website but few goal conversions comes from payment gateway site (paypal.com, epdq.co.uk) and showing under referral. How to fix this issue so I can know the real source of Goal conversion. *Note - utm_nooverride=1 on thank you page applied, payment gateway URL is already placed in Referral Exclusion List. So please don't suggest either of them. Thanks
Reporting & Analytics | | Alick3000 -
How to Track Button Clicks as Events in Universal Analytic using New Interface of GTM?
Hello Experts, How to Track Button Clicks as Events in Universal Analytic using New Interface of GTM? Also is there anything code we have to do on website also to track buttons? Sorry to say request please don't just share any post, please give specific answer or share very relevant post. Your input is really very valuable to me. Regards, Mitesh
Reporting & Analytics | | bkmitesh0 -
Google Analytics shows most referrers as "Direct" -- What are some better tools?
Very often Google Analytics will show 50-90% of our referrers as (direct) which is not very helpful. Are there other tools out there that will provide a clearer breakdown of what other websites are sending us our traffic? Specifically, I want to be able to be able to tell who are the top traffic referrers to my top performing pages on my site for the last 30 days. (I want to be able to study this on a per-page basis.) Thanks in advance!
Reporting & Analytics | | Brand_Psychic0