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
-
Website is flagged by Google as Compromised Site
Hi everyone, We have been running Google Ads for a while now and last week all of our Google Ads were paused with reason Compromised Site. We reached out to Google and they identify this page as one of the affected page: https://manpower.com.vn/vi/dich-vu-san-dau-nguoi-and-tu-van-nhan-su-cap-cao? The malicious links they found are:
Paid Search Marketing | | ManpowerVietnam
• googie-anaiytics[.]com
• vty68[.]net We have asked our Website vendor to scan and they found nothing. We would be greatly appreciated if you could help. I tried Google Search Console and even the tool Google Safe Browsing that Google itself suggested but both the tools showed that our website does not have any malicious links at all. And yet Google Ads support team keeps telling us our page contains these links. I am wondering if anyone in the community has experienced this before and how did you address this issue. Or could you guys please help to share any tools that you know can do a deep scan on this page and if possible our entire website to help us identify where the links are located? Please let me know if you need any additional information from us and I would be happy to provide it.1 -
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 -
Paid Search Visits Not Showing Up in Google Analytics
Hey all, Just took over SEM for my company, and noticed a bit of a problem with GA. Whereas Adwords has registered 141 clicks on paid campaigns that go to the site, GA has tracked only 5 vists in that time. Two things of note: The GA account was not linked to the Adwords account until today, and also, auto-tagging was not turned on. I understand these two things are important to having proper GA tracking, but I just want to make sure that there aren't any other things I should check right now to make sure I start to see tracked paid visits again. Is there anything else I should try? Cheers.
Paid Search Marketing | | danny.wood0 -
Using the same landing page for seo and ppc
When does it make sense to create one landing page for both seo and ppc?
Paid Search Marketing | | melen0 -
What to do against competitor PPC sabotage?
This morning a competitor of ours decided to go on a PPC rampage against us. Basically our budgeting money was spent within the first hour of going live on bing. Its pretty obvious whats going on as we had a tremendous amount of clicks all from the exact same keyword within a short period of time. Obviously first step was to contact bing and they are going to refund me a credit once they go through their process, but they didnt really give me confidence about the future. It seems they may not be able to prevent this from continually happening.. ? The attacker used some sort of IP spoofing as the clicks were all from different IP's which is probably why it snuck pasted Bing. Wondering what have you guys done in the past to prevent this or combat it? Thankfully it didnt happen on google
Paid Search Marketing | | DemiGR0 -
Increasing Google Ad spend - is it worth it
Hi We are currently spending approx £500 pcm on google ad words however if I increased this spend to £4000 pcm what kind of results would this achieve? For example would it just be more visits per day as the budget is larger? Also what is the best way to track the success of an adwords campaign - the ultimate goal of the campaign would be to generate a lead whether this be a phone call, email or using our book an appointment form. Our service covers a geographical area (Scotland) and for organic search we are doing well 1st pages listings for searches such as pvc doors edinburgh etc so I am unsure whether it's worth increasing my PPC spend or put more resource into SEO, or even Facebook ads?
Paid Search Marketing | | ocelot0 -
Index or Noindex PPC Landing Pages?
Hi all, We have thousands of PPC landing pages for our products. Usually, these pages are very similar and may differ only slightly for the keyword in question. The landing pages are sitting in a sub-domain of our site. From SEO perspective, assuming we don't want to get hit by Panda, Penguin and other animals Google stuffed into its ranking algorithm...Is it a good idea not to index these landing pages at all (i.e. add meta robots - noindex, nofollow to these pages)? What say you? Thanks!
Paid Search Marketing | | ShivaS0 -
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