How to track in Google Analytics 2 different subdomains (one for website, the other for PPC landing pages)
-
Hello Mozers!
I have a website with organic visits/goals on www.site.com and a few AdWords Campaign landing pages on lp.site.com whose goals are tracked with both adwords conversion monitoring AND analytics (not imported from analytics into Adword).
The landing pages of the campaign have nothing to do with the web site (different cms, they don't link each other, totally isolated) and viceversa.
Given that, what would it be the best practice to configure Google Analytics to track the website (www.site.com) AND a PPC campagin (lp.site.com)?
I have been told to set up different views of the same property, but do I really need that?
Please let me know what are you thinking.
Thank you very much.
DoMiSoL Rossini
-
Hi D.R.
To answer question 3, I just realized I sent you Classic GA setup - my apologies. Here is more information on how to set these up:
Cross Domain Tracking - Web Tracking (analytics.js)
Set up cross domain tracking Cross Domain Tracking (Google Tag Manager)To answer your questions:
1.) Yes, you can do that. Or you can break it down by hostname as well in your GA data if you don't want to create multiple views.2.) I would keep it under the same property. It makes it easier to consolidate your data and you're not clicking back and forth.
Hope this helps! Good luck!
-
Thank you for your kind answers.
Just to make sure I understand i have three more questions:
-
should I set the analytics property on domain.com then set a view pointing to lp.domain.com AND a view pointing to www.domain.com, having both properly filtered ?
-
At the moment I have the UA property set on lp.domain.com: wouldn't it be good as well to create a new property for www.domain.com (rather than two child views of the same parent Analytics property ? I guess this way I wouldn't need filtering.
-
By the way I omitted to tell that I am using Universal Analytics: will the references you provided still be applyable to me?
In the mean time I'll figure out how to actually do the filter and to make sure that this procedure is directly suitable with a Wordpress Plugin called Yoast Analytics, cause I am not sure I can edit the analytics code directly.
Thank you all again.
D.R.
-
-
Like Patrick already mentioned, what you could do is create a new view which is filtered based on the hostname. This should allow you to make sure you'll only have the data for lp.example.com in there.
-
Hi there
Google has resources on this - check out Tracking Multiple Domains - Web Tracking (ga.js).
Also, Moz has a great resource called How to Quickly (and Correctly) Track Google Analytics Across Multiple Domains.
Hope these help! Good luck!
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
-
Unsolved Google Ads - Subdomain on Sitelinks & Composition Change for Strategy Status
I have a basic query but could not find a definite answer on the internet. I am currently running a campaign for the main website of a big education brand and they also have a secondary learning website on subdomain, and I want to add sitelinks of subdomain to the campaign, but I am not sure whether it is allowed or not. The brand I am running ads for is https://www.rauias.com/ and the secondary website is https://compass.rauias.com/ branded slightly different in a subdomain, so should I add the sitelinks of Compass to the main campaign? Also one more silly question My Max Conversion search campaign gave me this status today. "Learning (composition change): Campaigns have been added to or removed from the bid strategy. Google Ads is now adjusting to optimize bids. 5 days left for learning" What does this mean exactly? And Why does it reenter the learning phase whenever I make a small change?
Paid Search Marketing | | rauoff0 -
Baidu PPC Agency Recommendations
I have a client that is a perfect fit for the Chinese market, but have had issues with reseller agencies that don't really know what they are doing. Does anyone have any agency recommendations? I am only spending a few grand a month.
Paid Search Marketing | | JerrodDavid0 -
How to track offline conversions
What are the best ways to track offline conversions that have come directly from paid ads such as Adwords? Say for example, John searches for 'luxury armchair' and clicks on one of our ads and is directed to the landing page that sells the luxury armchair. John then calls us and completes the transaction over the phone. How do we know that the advertising channel is responsible for that transaction without physically asking the customer? I know Google provide free forwarding phone numbers which can be provided in the Ads, but if they call us from the phone number we list on the website there is no way of tracking down that exact sale? Google mentions something to do with providing a unique ID, called a "GCLID" but I'm not familiar with this or how it works. Any advice is much appreciated.
Paid Search Marketing | | Jseddon921 -
Adwords Customizers - Possible to show different prices by country of visitor in adwords using adwords customizers?
Is it possible to show different prices by country of visitor in adwords using adwords customizers? I would like to avoid having to setup campaigns for each country, in order to show country specific prices in adwords. thanks
Paid Search Marketing | | lcourse0 -
Google Shopping Feed being blocked by robots.txt
I had created a manual Google Shopping Feed that was working fine, and then someone well meaning put a block in my robots.txt file so Google couldn't read the images folder. because of this, Google now won't accept my feed. I changed the robots.txt file to allow them to read the images again, but it's been 3 days now and I'm still getting the error saying my products are disallowed because the robots.txt file won't let them scan for images. Does anyone know how long it will take for Google to see it again?
Paid Search Marketing | | sparrowdog0 -
Google Analytics and WorldPay - Tracking Sales/Conversions
Hi there, I recently remember reading somewhere that tracking code could be used to monitor sales/conversions of eCommerce payments that went through WorldPay. I've been looking around the web for news stories, forums, discussions, but all seem to be from 2007 - 2011; was just wondering if anyone knew any up-to-date info they could point me towards? Thanks
Paid Search Marketing | | bricktech0 -
Social Media black hat methods - can google see this?
My site was hit by a Penguin or Panda, for some bad linking in 2012. Ever since then I have been 100% completely white hat, being careful who I pick to my marketing. Once burnt.... Recently, with all the hype of social media being the thing to help you boast rankings, it got me wondering about how Google really can monitor this. I saw this the other day on Elance... I need 5000 Facebook fans. They must be real looking and be coming from US IPs, Preferable real looking US accounts. If people are just going to get false Facebook fans, tweets etc.... then it is no better than all the bad linking. Perhaps Google will come out with Puma penalty (well we have pandas and penguins)
Paid Search Marketing | | Llanero0 -
Do you take Seo and ppc management on competitor sites?
I would love to hear what everyone thinks : I wanted to know what people do about seo and ppc when the keywords and industries overlap.
Paid Search Marketing | | DavidKonigsberg0