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
-
PPC: how to get rid of an ad appearing on a keyword we don't want?
Hi, Our ad on Google Ads is appearing for a search we don't want. it isn't in our search keywords and when i try and ad it to our negative ones, we get the error " You cannot exclude keywords that are targeted " which i assume means that google thinks we are bidding on it? We have a selection of broad phrase matches so i can only think that this is where it's coming from? Do you have any tips on tracking down which keyword is generating this ad and how we can turn it off? (we don't want to pay for clicks on this search if possible!) Btw - i have turned off each keyword in turn to test it = nothing. have then paused the whole campaign = gets rid of the ad (but this is our most successful campaign so i can't just turn it off). Any advice super super welcome. thank you!
Paid Search Marketing | | Fubra1 -
Can Google shopping listings affect SEO rankings?
Hello everyone. Here is my question: Until 4 weeks ago we used to have just around 2,000 product/pages on Google shopping of our product pages, then we added over 40,000 more items/pages to it, and our Google natural search rankings dropped on most of our long-tail keywords pointing to the same product pages. Do you think that's just coincidence or could the number of products/pages on Google shopping affect natural search results?
Paid Search Marketing | | fablau0 -
Is it better to place PPC when competition is high or low?
When managing a clients PPC campaign is there any advice on throttling up and down the accounts depending on the search popularity. Let's take "wedding cake" there are obvious trends here https://www.google.com/trends/explore#q=wedding cake but would you advise to spend more on Ads during the quite months as competition is low and you can get more click for less cost, or do you load up on clicks when it is more competitive/expencive . Please don't get bogged down in the "weeding cake" keyword, I'm looking more for views on when would be best to load an account in terms of return on investment. For example would you get better quality clicks when low search volumes as opposed to high. Lets also assume that our product costs us the same all year round. I have seen different side to the story. What are your views
Paid Search Marketing | | smartcow0 -
Do only paid adwords appear in google shopping
Does anyone know if we have to have a paid addwords campain for our products to appear in google shopping. We have a feed set up for google shopping. We have addwords campaigns running for google. But our products do not seem to appear in google shopping. Any advise on how to get them there?
Paid Search Marketing | | CostumeD0 -
Moving from old GTM to New Version of GTM - Analytic & Adwords transaction and revenue stop refelecting
Hi Guys, I am moving from old version of tag manager to new version of tag manager. But when i do so at that time in my google analytic 1) my adwords transaction, revenue and ecommerce conversion rate stop showing. 2) In ecommerce -overview also transaction, revenenue and ecommermce conversion rate stop showing. Can any one tell me what is the issue? I am sharing with you the details configuration of my old tag manager and new version of tag manager - I am using google analytic having id - UA-12345678-9 I am using old version of google tag manager in that i have configure 5 tags - a) google adwords conversion tracking
Paid Search Marketing | | devdan
b) GA pageview tracking
c) google remarketing
d) GA conversion tracking
e) twitter conversion tracking I did following configuration for all - Tag Name - google adwords conversion tracking
tag type - Adwords conversion tracking
conversion id - 123123123 ( from adwords)
conversion lable - sdfsnfs-sfsf ( from adowrds) Firing rule -{{url}} contains ordersuccessful.aspx
{{event}} equals gtm.dom save Google Analytic PageView Tracking
Tag Type - classic Google Analytic
web properid id - UA-12345678-9
track type - page view Firing rule - all pages save GA conversion Tracking
tag type - classic google analytics
web property id - UA-12345678-9
track type - transaction Firing rule -{{url}} contains ordersuccessful.aspx
{{event}} equals gtm.dom By above configuration everything work fine with google analytic. In New versoin of tag mananger following configuration i did - Adwords conversion tracking
Choose Product - Google Adwords
choose tag type - adwords conversion tracking
configure tag - conversion id - taken from adwords
conversion label - taken from adwords
conversion value - {{google_conversion_value}}
Fire on - Name - order successful page
type - custom event
Filter- Page url contains ordersuccessful.aspx
event equals gtm.dom save Choose Product - Google Analytic,
choose tag type - universal analytic
configure tag - tracking id - UA-12345678-9, track type - page view Fire on - All pages save GA conversion tracking Choose Product - Google Analytic,
choose tag type - universal analytic
configure tag - tracking id - UA-12345678-9, track type - transaction Fire on - Name - order successful page
type - custom event
Filter- Page url contains ordersuccessful.aspx
event equals gtm.dom save By above configuration my analytic stop reflecting transaction, revenue, ecommerce conversion rate for adwords and ecommerce overview. Thanks!0 -
Site penalized by google
I noticed for a while that our competitors don't rank for any keywords organically and they are using paid ads to gain traffic. They have been in the industry for over 6 years and we are only new and have ranked above them already. How can we find out if a competitor has been penalized? Thanks
Paid Search Marketing | | edward-may0 -
Why are some restricted items showing up on Google Shopping?
Hi there, We sell tactical gear but only "Google Friendly" items in our Google Shopping Product Listing Ads. We don't include anything that goes on a rifle, including rifle scopes. However, we see that companies like ebay and OpticsPlanet can still sell riflescopes: https://www.google.com/#q=Bushnell+3-12x44+Mil+Dot+Tactical+Riflescope&tbm=shop. There's even an article by SearchEngineLand that points this out, too: http://searchengineland.com/google-weapon-listings-shopping-search-126487. So why is it that they can sell them and we can't? What advantage do they have or what have they done?
Paid Search Marketing | | PatriotOutfitters810 -
Preparation of website before Submitting to Paid Directories?
I am reading that submitting to premium directories is a good way to get a jumpstart on SEO rankings. I have noticed that most of the good ones take a while in order to be approved and that many do not guarantee a listing, even if you pay $299 (Yahoo). So my question is, Do directories turn you away if you have bad web page optimization on your website? Because if they do then I definitely need work done there first. Any advice on getting accepted into the premium directories the first time? Boo
Paid Search Marketing | | Boodreaux0