Home > Google Analytics > Google Analytics Subdomain Filter

Google Analytics Subdomain Filter

Contents

That would be a horrible feature in Google Analytics.. :) If you want to get rid of self-referrals, adding the parent domain domain.de to the Referral Exclusion List is a mandatory Your reports will now show: — www.example.com/index.php — sub.example.com/more.php This will capture the www.example.com portion of your URL and include that at the beginning of your page URL in the content Where do I find this? This post clearly gives the best solution to some long due queries that were frequent among beginners in Analytics. navigate here

As long as the code is set up properly, the pageviews from the original subdomain and the pageviews from the second subdomain will be combined into one session.

Submit Cancel technopro Browse other questions tagged google-analytics subdomain or ask your own question. more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science This is moderately difficult configuration if you are inexperienced with Google Analytics. http://www.ericmobley.net/guide-to-tracking-multiple-subdomains-in-google-analytics/

Google Analytics Subdomain Filter

For example : In landing page list following URL given : www.sitegeek.com/compareHosting/arvixe_vs_hostgat... When you have confirmed that you are using Universal Analytics or upgraded, then copy & paste the default Google Analytics code into each subdomain. You intentionally removed the entry from the Referral Exclusion List, because you want your data to include self-referrals. So, if you're tracking one domain and subdomains of that domain, then it seems you ONLY need to add the root domain to the referrel exclusion list.

Thanks you very much Tom I was successful

1 0 Reply

GREAT !!!

Thanks you very much Tom

I was successful

Submit Cancel R.A.H. 2014-11-12T12:41:43-08:00 Thanks, for the great article! I'd be so grateful for any help or advice! Thanks in advance. Subdomain Tracking Google Tag Manager The first sets whether the linking parameters are in the anchor (rather than the query) portion of the URL, and the second enables form decoration (as well as link decoration).

Review: What is a Subdomain and How Should I Track It If you have a webpage whose URL is www.example.com, then example.com is the "root domain" or "parent domain," and www.example.com Right? via cross-domain), they'll still show up as referrals from domain.de until either the campaign timeouts (6 months by default) or they enter via another campaign. https://moz.com/community/q/how-do-i-add-subdomain-tracking-to-an-existing-google-analytics-account-that-was-set-up-to-track-website-only-without-the-subdomain-option Watch QueueQueueWatch QueueQueue Remove allDisconnect Loading...

This means that the majority of Google Analytics users will have their Referral Exclusion List configured properly for subdomain tracking, even if they didn't realize the need. Google Analytics Multiple Sites However, you still must use the _link() and _linkByPost() methods for any form or links to www.example-petstore.com. I asked Google support but... If you followed the recommendation for setting up master views (profiles), this should be simply a matter of creating an additional view (profile) for your primary domain using the same tracking

Google Analytics Multiple Subdomains

Is there anything else I may be missing?

1 0 Reply

Thank you for the extremely helpful article. You can overcome this using an advanced filter: In the example, this means that we'd see "www.example.com/index.html" as a page in reports, rather than just "/index.html", and metrics that rely on Google Analytics Subdomain Filter For example, it allows you to credit a product promotion on shop.example.com with an ecommerce transaction on checkout.example.com. Google Analytics Subdomains Best Practice To track subdomains correctly, all you need are cookieDomain:auto and the parent domain (maindomain.com) in the Referral Exclusion List.

I followed all the steps above exactly and when I review the Site Content | All Pages report on abc.com I still only see visited content for abc.com. check over here Hoping to use the new account from now on but continue to track the old account for historical comparisons.

Thanks

Submit Cancel Tom Capper 2015-04-09T02:16:18-07:00 Take a look at "Working with multiple tracking objects" here Repeat this filter for each profile that you created where you need to isolate a subdomain. Choose Add New Filter and provide the filter a name. Subdomain Tracking Universal Analytics

And yes, I can confirm there has been site traffic on xyz.com. There's one thing we're a little confused about though. My tracking code looks like this: var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxxx-x']); _gaq.push(['_setDomainName', '.mysite.com']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = http://pfntech.com/google-analytics/google-analytics-filter-pattern.html Considering this scenario, do I still have the risk of self-referrals?

All other web properties that you want to link should also have the same tracking code on them. Analytics.js Multiple Domains Let's See It In Action Suppose we have a visitor flow that looks like the following: User arrives at: http://www.example.com/ Clicks to learn more about widgets: http://www.example.com/widgets Wants to know more However, does that mean that, if someone goes from mysite.com to store.mysite.com and my referral exclusion is set up, their session and pageviews will be excluded from my data after they've

I'm getting many referral visits from my own site in analytics.

I have corrected this as per the Google guide. It also covers how to track portions of a website, such as sub-directories and iFramed content. They all have their own UA property numbers, and we'd like to see referrals from the other sites. Cross Domain Tracking Universal Analytics If I were doing it, I would verify in unfiltered and then just duplicate what is working in your sub-domain view.

It is important to remember that filters in Google Analytics do not alter historical data. Simo Reply Paul says 12/07/2016 at 10:35 Hi Simo, If I have two separate google tracking ID for each propoerty meaning: a) domain.com b) app.domain.com Will this also work without problems I've tried to cover UA, GA classic and GTM throughout the guide.

Submit Cancel David_c_40 2015-04-08T02:13:03-07:00 Great blog. http://pfntech.com/google-analytics/google-analytics-filter-pattern-generator.html GO OUT AND VOTE Is adding the ‘tbl’ prefix to table names really a problem?

Continue To Your Blog Post

To use Google Groups Discussions, please enable JavaScript in your browser settings, and then refresh this page. . This domain points to partner1.mydomain.com. Both domains link to each other and I'm looking for a way to determine whether the traffic flowing between the two is back and forth traffic or real referral traffic from Working...

Ajay Pathak 41,867 views 1:14:11 How To Install Google Analytics Tracking Code - Duration: 6:24. In one case there is the "article" site and the other is a about the author page. When to use it. This works because that's a valid domain to write the cookie on.

Filter verify does not work for all filters but has no problems with hostnames. That might inform joint marketing campaigns or opportunities in future.  I wondered if this is the kind of thing that we could use a shared Analytics dashboard for? This is the current format you need to have. 

//on example.com
script

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12345-1']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setDomainName', 'example.com']);
_gaq.push(['_trackPageview']);

...

//ever link you should The following example illustrates only the linking function and assumes that cross-domain tracking is configured in the tracking snippets for both domains.

One of my clients have an affiliate site where visitors leave domain 1 via an iframe to book and pay (on the second domain - where I also inserted my G.A For details on implementation, check Google's guidelines here (and also here if you use Google Tag Manager).Ignoring self-referrals A "self-referral" is when one of the sources of traffic to your own Well, unfortunately, that's not true.