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
-
Was Google Analytics and Adsense Down Today?
For the last 4 hours of so we were registering zero users and Adsense reporting has not changed. We checked the site, and there were no problems. It seems for some reason there was no reporting. Just now it came back up and we are showing live traffic. Trying to figure out if this was a problem specific to us or if it is on Google's end. Thanks,
Reporting & Analytics | | akin670 -
Google Analytics & Google Sheets
Hi guys, I'm looking to use google analytics google sheets extension to pull data into a google sheet with metrics from other tools e.g. semrush, moz, etc. From my understanding with google analytics google sheet extension its designed to run reports and doesn't really allow you to add other metrics. Basically what i'm trying to do is this: https://www.useloom.com/share/c1e42bfa60bd46fca2b1120018969ce8 Any suggestions/advice on how to do this would be great. Cheers.
Reporting & Analytics | | jayoliverwright0 -
Google Analytics reporting traffic for 404 pages
Hi guys, Unique issue with google analytics reporting for one of our sites. GA is reporting sessions for 404 pages (landing pages, organic traffic) e.g. for this page: http://www.milkandlove.com.au/breastfeeding-dresses/index.php the page is currently a 404 page but GA (see screenshot) is reporting organic traffic (to the landing page). Does anyone know any reasons why this is happening? Cheers. http://www.milkandlove.com.au/breastfeeding-dresses/index.php GK0zDzj.jpg
Reporting & Analytics | | jayoliverwright2 -
Conflicting data in Google Analytics
Hi Guys I've been looking at the data for a client in Google analytics and I was wondering if anyone knows why some of the data doesn't tally up. In my case its the following: Under Aquisition
Reporting & Analytics | | Relative
No of Sessions for a Keyword shown in Organic Search tab (compared to)
No of Clicks for a Query in the Search Engine Optimisation tab For example, for a brand term, Google are showing 17 Sessions in Organic Search.
For the same term Google are showing 90 Clicks in the Queries section of Search Engine Optimisation OK, we know that Google are a little cloak and dagger regarding keyword data but surely Sessions and Clicks for the same keyword should be identical unless I'm missing something.0 -
Installing Google Analytics tracking code on Landing Pages
Hello, I have my landing pages located on a separated subdomain (LP.example.com). I've created a new property in Google Analytics for that subdomain. My question is: where do I have to place the GA tracking code ? in the header ? before I close the tag or before I close the tag ? I have another issue: I've placed the GA Tracking code on some pages in the way below:
Reporting & Analytics | | JonsonSwartz
in the body tag of that Landing page HTML Code I added this line:0 -
Weird Analytics Question
Looking at a Google Analytics report for a client - Traffic Sources - Referrals - Landing Pages from one particular referrer. This one referral site is a large trade directory that links onto several deep pages of the site, but also links onto the homepage. Analytics is showing the one landing page as //index.html. That's 2 // - not one. If you click on the link, it's a 404. I've never seen this in Analytics before. I'm looking at the client's info on this trade directory site and I can't see a link that points to this 404. The majority of incoming traffic from this site is apparently coming to this //index.html page, so you'd think it would be coming from their main profile on the site. But it's not there. Also, if you had all this referral traffic coming to a 404, you'd expect a really high bounce rate, but it's not - it's average. The client also has a sister site also listed in this directory, and I'm not seeing this same issue in their Analytics. Is this just some weird glitch in Analytics?
Reporting & Analytics | | stevefidelity0 -
How to track subfolders in GA?
Is it possible to get the visitor statistics for a subfolder (example.com/blog/) in Google Analytics? I already have GA tracking set-up like normal, and visitors do get logged, but to see data only for /blog/ I have to go to Content > Site Content > All pages and search for "/blog/". Should I create a new profile in Google Analytics? Or is there a better way to only see stats for a subfolder?
Reporting & Analytics | | Qon0 -
URL Re-Structure - Tracking success of it
Hi guys, I was wondering what would be the best approach to track the success of a URL restructure? What we plan to do is to implement the URL re-structure slowly by only having it on new pages which go live for property listings. Any previous listings will use the old URL structure. I thought it would be best to limit any potential problems by testing it on a smaller number of pages. So my question really is, what metrics should I be looking at to determine the success of this given the fact that we remove any property listings once they get rented or sold?
Reporting & Analytics | | MarkScully0