Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
Can Google Shopping Ads Lower Ranking due to Bounce?
I am noticing Google Shopping Ads are showing up for really irrelevant keywords on some of my products. This quite predictably causes a high bounce rate when a user comes from these ads. There is very little control over what Google Ads seems to decide are relevant keywords from what I can see. Only control is by viewing search terms and setting as negative keywords, but his doesn't help much. Negative keywords are often ignored or they come up with some other really irrelevant new keyword. Seems this high bounce rate could hurt ranking? Any experiences shared with Google Shopping ads appreciated!
Paid Search Marketing | | Chris6611 -
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 -
Why does my google analytics show a massive discrepancy from facebook's reported website clicks?
We're running a Facebook news feed ad that is pointing at our homepage. Facebook says that for yesterday there were 47 website clicks. Google analytics shows 15 total visitors from facebook with 3 of them landing on the homepage. I understand that there is likely going to be some discrepancy with users accidentally clicking and clicking back before the page loads, but this seems a little insane. I tested the ad using a page that pulls the Analytics cookie data using php and it is working properly so I don't understand what's happening. The url isn't tagged with utm parameters, which is going to be fixed. Anyone experience this or have any insight as to what could be this issue? Is this click fraud? Edit: For more clarification I was checking on my completely unfiltered google analytics profile/view.
Paid Search Marketing | | spencerhjustice0 -
OK to have a modal pop-up on an AdWords landing page?
We're about to launch an AdWords campaign targeting users who are searching for hand-crafted furniture. The website we're sending users to has a large inventory of furniture, and all if it is hand-crafted. But there currently is no page on the site specifically communicating that all the furniture on the site is hand-crafted. So, rather than dump the user right into browsing the inventory, we want to put an intermediate step in place to say, in essence, "Hey, welcome, yes, we have lots of handcrafted furniture. In fact, all of it is hand-crafted. Here, have a look around." The art director on the project is suggesting that a modal pop-up would be perfect for this scenario. It would greet the user, who could then dismiss the pop-up and move into the site. I have two concerns about using a modal, though: Does a modal violate Google's policy against pop-ups that open new windows? Assuming we trigger the modal using Javascript, will AdsBot have any trouble crawling the content of the modal, such that it could hurt the landing page component of our quality score?
Paid Search Marketing | | ydop0 -
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 -
CPC or CPM for Google Display Network?
HI all I'm setting up my first Remarketing campaign on the display network. I'm targeting those that have visited a specific product page at the moment and therefore there won't be a massive amount of traffic to remarket to - roughly no more than 50 clicks/day. My question is - what is the best bidding option for a campaign like this? Not sure whether to go for CPM or traditional CPC. I have previously found CPM much better for Facebook but obviously thats very different to Google. All help appreciated!
Paid Search Marketing | | SamMaley0 -
What are the best sources for finding competitor PPC spending by category?
Can anyone provide sources for gathering paid search advertising spend for competitors, preferably by category? Thank you.
Paid Search Marketing | | JoeAmadon0 -
Does anybody know of a good bulk import http response checker? The one I was using has disappeared and I can only find checkers that only take one URL at a time.
An example of something I'm looking for but I want to check multiple checkers: http://web-sniffer.net/
Paid Search Marketing | | SWKurt0