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 -
Excluding Cookieless Static Content Sub-domain from GA/GTM
For the purposes of this question our ecommerce site url is www.ecommerce.com Our TLD is ecommerce.com We have, following advice from Yslow, Pagespeed and others, moved our static content to a subdomain - static.ecommerce.com We have Google Analytics and Enhance Ecommerce installed, fired from GTM. The cookieDomain setting in GTM is 'auto' At present cookies are being attached to our static resources. What changes do I need to make to to prevent this happening? Many thanks Julian
Reporting & Analytics | | jdeb0 -
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 -
Will 301 redirects (Same Domain) show as referral traffic in Analytics?
For an eCommerce site we have 301'd legacy product pages to new product pages. Is all that traffic going to show up as referral traffic from our own domain in Google Analytics? If so, is there any way to preserve original source/medium info or will all the source/medium info be our own domain since there is a 301 redirect?
Reporting & Analytics | | bozzie3111 -
Google Analytics Goal Tracking Not Working
I am trying to install goal tracking for a client to measure leads from SEO, and I'm running into problems with the Google Analytics goal tracking not working. The only thing that I can think of that is preventing goal tracking from working is that the URL confirming page request URI looks like "contact/#contact-form-4475" and perhaps the hashtag is causing problems. I wanted to ask the community if any of you have run into basic conversion tracking problems like this, where you need to track form fills on a website via a confirmation URL/destination URL goal, and what you did to solve it? I appreciate any input on how to get data on conversions either by fixing the goal in GA or using a different tracking tool. Thanks!
Reporting & Analytics | | williammarlow0 -
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 -
Google Analytics Report throws up Google as a referrer
Good morning from Wet & Windy 12 degrees C wetherby UK... Using Google analytics I've noticed in the traffic sources refferer subsection some traffic is categorized as originating from Google. Whats puzzling me is.... I know a huge amount of traddic stems from Google but as the below screenshot illustrates only 21 visitors come from Google: http://i216.photobucket.com/albums/cc53/zymurgy_bucket/google-refferal-sources-top-levelcopy.jpg And when i drill down some are coming from Google mobile 😞 http://i216.photobucket.com/albums/cc53/zymurgy_bucket/google-referral-sourcescopy.jpg Is traffic categorised as Google referrer down to Google hiding searches via ssl as explained here: http://i216.photobucket.com/albums/cc53/zymurgy_bucket/google-referral-sourcescopy.jpg Any insights welcome 🙂
Reporting & Analytics | | Nightwing0 -
Keyword referrals in GA
Hi chaps, Quick question for you. I'm drilling down in GA to one of our eCommerce pages which has a pretty high bounce rate. I'm looking at referring keywords and they don't seem to make much sense. The page I'm looking at is a pretty deep page but the top referring keywords are all branded terms. The page isn't included in our site links. To explain a little further, this is the scenario I think is happening: User searches using "Brand term". They then click through to our homepage and eventually land on the deep shopping page (on a different subdomain) In GA Content > Site Content > Pages > Primary dimension set to keyword - "Brand term" shows as the referring keyword. Does this sound right? We have a custom GA script set up to track multiple subdomains.
Reporting & Analytics | | Confetti_Wedding0