Track subdomain in analytics
-
Hi,
Our jobs section has recently been moved on to a subdomain https://jobs.ourwebsite.co.uk/home.html which is handled by a third party. Our analytics for the jobs section was lost as no code was added to the pages. Previously it was part of the main site.
How do I track it as a subdomain so that it appears to be part of our main site?
We have the old GA and universal GA code on the site
Thanks
-
Thanks Hutch
-
You would need to use a series of filters and/or regular expressions to draw out only your job pages based on the domain and then place information into the URI. Your filters can be found in the admin section under your view. It takes a good amount of testing to get filters like this right, and a small mistake can destroy a lot of data so make sure not to use your main account and instead create a testing account to fine tune this.
-
Thanks.
How do you set up the find and replace filter?
-
Using universal is it not hard to, you can just place the code onto the 3rd party site. To make it easy to look at you will want to make a find and replace filter to target only the traffic to your 3rd party site and change the URI so that it will make more sense when looking at it (if you do not then it will see your home page and the main page of the jobs site as just "/"). Make sure that you set up a test profile for your filters so that you do not cause problems with your data. This is the more complex way of looking at it, if you only care how many people click off to your jobs section and not how they interact with it you can place event tracking code onto any link that goes to the job section.
All of this is much easier if you use Google's Tag Manager as the cross domain linking or adding custom event calls become even easier to implement.
-
Hi, I think the 3rd party can add code.
Our main site currently has both old and universal code
-
Does your 3rd party service have the ability to add GA code to include the necessary cross domain tracking code or does it use universal analytics?
-
Thanks, but still unsure. I've also read
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite
http://www.ericmobley.net/guide-to-tracking-multiple-subdomains-in-google-analytics/
-
Hi!
There was an article about this on Moz main blog: http://moz.com/blog/cross-domain-subdomain-tracking-in-google-analytics
Maybe it will be helpful for you.
Gr., Keszi
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
-
What Analytics Do You Use To Track IOS and Android?
We have about 600k downloads of our app and would like to know what cost effective analytics tool you use to gain insight into what your app users are doing? Thanks! Best... Mike
Reporting & Analytics | | 945011 -
Organic vs SEO in Analytics
In my analytics account, the Acquisition / All Traffic / Google organic searches shows me around 19,000 hits from 1st Jan to 1st Feb. But if I go to the Search Engine Optimization tab / Queries or Landing pages I can only count 1,800 clicks from 1st Jan to 1st Feb. Why such a huge discrepancy ? Am I getting 1800 clicks from the Google organic search, or 19,000 ?
Reporting & Analytics | | coadr930 -
Analytics confusion
Hi all I am trying to see how many people visit the 'report a repair' pages of our website. It is on a separate domain to our main site. I have looked in our Google account for stats on it and now got confused. In our Google Analytics account, there is a property set up that says it is for spectrum-online (the domain I am after). However, it isn't collecting any data. It's admin info is: Tracking ID UA-7828548-8
Reporting & Analytics | | Houses
Property name
https://www.spectrum-online.co.uk There is another one there set up under the name 'Western Challenge' that does have data and mentions it is for spectrum-online: When I go into the Western Challenge property, the info is: Tracking ID
UA-7828548-3
Property name
http://www.westernchallenge.co.uk Western Challenge shouldn't exist now though. It was one of our old brand names and the site should be 301'd to the main www.spectrumhousing.co.uk site. I looked in this property at the top pages where people appeared to be landing. There are 9 of them, all with stats against them.Usually you can click the icon next to the URL and be taken to the live page. I however get taken to the Spectrum home page each time. All very odd. UA-7828548-3 is not the GA code used on our main site. I then tried clicking on a live spectrum-online page http://www.spectrum-online.co.uk/keyfax32/main.asp?co=KFRDROL_WCHA to see which Google UA number tracking code is being used but I can't see any GA code and it is a frame. Queries are:
Why is the Western Challenge property collecting any info?
Why is the spectrum-online property not collecting any info?
Is there any Analytics code on the Spectrum-online site and if so where? Apologies if I'm missing something obvious but your help would be appreciated. Thanks0 -
Where does the organic keyword information come from in Google Analytics?
I know that Google switch to all encrypted search, but I still show some keywords. Are those keywords that slipped through? Or are they all from Yahoo/Bing?
Reporting & Analytics | | EcommerceSite0 -
Google analytics Goals and Funnels??
Hey - how's things? I've got 2 goals setup, each of which use the same thank you page but with different required funnels. The results have been identical for the last few weeks - which tells me I've got something wrong!! The first goal has a contact form on every page in the /products/ directory set up like this:
Reporting & Analytics | | agua
destination equal to: /thanks-enquiry/funnel step1 page: ^/products/.* required: yes The first goal has a form on 1 page called /on-sale set up like this:
destination equal to: /thanks-enquiry/
funnel step1 page: /on-sale required: yes Any ideas?0 -
Google Analytics
How can you see the conversion rates for the referral traffic? For example I want to see if any of the facebook visits to my site resulted in a purchase.
Reporting & Analytics | | EcomLkwd0 -
Cross domain tracking setup in Google Analytics
I really need help on this, I can't figure it out. I need to track a few subdomains and and couple of seperate domains in one profile in Google Analytics. So I have: www.maindomain.co.uk sub1.maindomain.co.uk sub2.maindomain.co.uk www.anotherdomain.co.uk So the code I have placed on all of these domains is as following: I have then set up seperate profiles which filter out the data by domain. E.g. for sub1.maindomain.co.uk, I have user the fitler: Custom filter > Include > Filter Field = Hostname > Filter Pattern = sub1.maindomain.co.uk For the www.anotherdomain.co.uk, I have used the same filter. Now this all seems to be tracking visits and unique visitors okay, but I always have a very low pageview count, less than visits and sometimes zero. Could anyone shed any light on what I am doing wrong? Thanks in advance mozzers.
Reporting & Analytics | | MirandaP0 -
Exporting Keywords in Google Analytics
In the old Google Analytics, I would simply add &limit=30000 in the URL. Does anyone know how to export all keywords from the new Google Analytics?
Reporting & Analytics | | TommySwanson520