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 -
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 -
PPC sessions being counted as organic in GA
I am coming across a very frustrating phenomenon in one of my PPC campaign reporting. In short: I believe that GA is counting some of my PPC sessions as organic (not provided). Has anybody come across this before? I believe they are being counted as organic because of the following: the website is brand new and does not rank for anything but their branded terms the few keywords showing up in GA are the terms we target our PPC towards the amount of sessions of Paid Search (in channels) and AdWords sessions don't match up (The number of actual PPC clicks is substantially higher than the Paid Search sessions) PPC clicks and sessions don't even match up in the AdWords part of GA GWT shows 0% CTR for any non branded terms Tell me I am crazy, but I really don't think I am. I just don't have the hard evidence to back it up. Any help is greatly appreciated.
Paid Search Marketing | | Rebecca.Holloway0 -
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 -
Near-duplicate content for landing pages - use noindex?
We want to create 5-10 near-duplicates of our homepage to use as landing pages – nearly all same text, but some different images. We want to make sure Google doesn't ding us for duplicate content. Is the best way to do that to tag each of these pages with "noindex"?
Paid Search Marketing | | HopeIndu1 -
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 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 -
PPC question for the experts
I know this is paid search but since Moz had a section for it, I thought it would be ok to ask. 🙂 According to: http://support.google.com/adwords/answer/2497836?hl=en Broad match modifier +tennis +shoes Ads may show on searches for tennis shoes
Paid Search Marketing | | MattAntonino
buy tennis shoes
best shoes for tennis Ads won't show on searches for running shoes
tennis sneakers I'm using (for a client) +wedding +photographer. It should show on wedding photographer hire a wedding photographer best wedding photographer in dallas It should not show on photographer in Dallas become a photographer dallas pictures But it is. Why would this happen? Isn't that exactly what it says it won't show up on? Also, Google writes: Don't leave space between the plus sign (+) prefix and the word you're modifying! •Correct: +leather +shoes
•Incorrect: + leather + shoes
•Incorrect: +leather+shoes Yet the client was told by Google the opposite. "I spoke with Google and they confirmed that the space after the plus and before wedding (“+ wedding”) would notrequire “wedding” to show up." How on Earth does this reconcile or make ANY sense? ETA: This is fairly clear to me: Be sure there are no spaces between the + and modified words, but do leave spaces between words. The right way to do it: +formal +shoes. The wrong way to do it: +formal+shoes. http://www.google.com/ads/innovations/bmm.html0