Google URL Builder / Campaign Tracking on two Different Domain using the Same Analytics Code
-
Hey Everyone,
I think I know the answer to this but I'd like to get some confirmation.
I currently have a landing page at "www.xyz.com", it's a separate domain in which only the landing page exists and not a vanity URL which redirects. However, the navigation and all the links on "www.xyz.com" actually link out to "www.abc.com". The domain / landing page "xyz" has the same analytics tracking code as domain "www.abc.com".
My question is this, if I use Google URL builder to create custom URL's to track for each ad that I'm running in Adwords, will this data show up in the analytics of "abc" even though it's a separate domain because it has the same analytics code?
In other words, does campaign data show only if the domain and the google analytics code line up, or does the domain not matter and as long as you have the same analytics code (despite two separate domains) that campaign data (built through Google URL builder) will show?
My hunch and best guess it that as long as the analytics code is the same (regardless of a separate domain) that the data in campaign will show with the custom URL's I build. I'm aware that I can test this and I will but I'd like to get an idea from the community first to make things easier. Anybody have experience with this? Answers greatly appreciated!
Thanks!
-
Thanks Tom, I'll try to implement this.
The link for http://psgrep.com/ isn't working? If I implement the solution for cross domain tracking above, will my adwords data flow through? Right now I'm getting no behaviour data even though my adwords and analytics are linked up or is there additional work I will need to do that is available on the link that isn't working?
Thanks!
-
Hey Jon,
I hope what is written above is more helpful and explains I do not want to copy the instructions Word for Word.
But I think this will give you enough to understand if you have implemented these changes you are all set if not please make the changes.
Because there are code changes that should be in place to use to different domains in order to track them you need to set up her primary and secondary.
You are on the right track I hope the information above gives you what you need if it does not.
Let me know and I would try using http://www.analytics-debugger.com/en http://memo.suan3se.com/?p=643 & http://psgrep.com/
in order to set up and know that it set up properly.
Sincerely,
Thomas
-
HI Jon,
There are because
Because cross domain tracking is dealing with a primary and secondary you do have to change the tracking snippet
For Adwords
by following the steps in the link above you will be able to set up Adwords
I have pasted example below using example1.com as well as example2.com represent the different domains. One of the easiest ways to set this up is to simply use the Google analytics debugger it is available in the chrome store as well as a this incredible resource
Here is exactly what you need to do for ad words because it is slight differences you will need to use Google auto linker plug-in
Step 1: Set up a property in your Google Analytics account.
autoLink plugin
to your tracking code, it automatically loads with your pages and does a substring match on all your links. It then recognizes any links that include a domain name that you’ve specified in your tracking code. Any traffic that clicks a link to those domains get counted as cross domain traffic.
The tracking code snippet must contain these changes every place it appears on your secondary domain.
For three or more domains
Follow the example above, but add the other domains to the autoLink plugin. Even the additional comma here is important:
ga('linker:autoLink', ['example-1.com', 'example-3.com'] );
See what this looks like in full context
The tracking code snippet on your secondary domain(s) should look like this:
https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain
for GA
https://support.google.com/analytics/answer/1034342?hl=en&ref_topic=2772342
For cross domain tracking, set up one property in your Google Analytics account. Use the same tracking code snippet and tracking ID from that property for all of your domains.
You need to edit the tracking code snippet for cross domain tracking to work. If you haven’t already included the snippet on all your webpages, you might want copy and paste it into a text editor before continuing with the instructions here. This way, you only have to make the changes once before including the modified snippet on all your webpages.
For details on setup help, follow the instructions on how to set up the web tracking code, but remember: You must customize the snippet using the instructions in this article for cross domain tracking to work properly.
Step 2: Edit the tracking code for the primary domain.
Find the create line in the snippet. For a website called example-1.com, it looks like this:
ga('create', 'UA-XXXXXXX-Y', 'example-1.com');
Make the following changes to the snippet (the changes you need to make are in bold red text
ga('create', 'UA-XXXXXXX-Y', 'auto', {'allowLinker': true});
** ga('require', 'linker');**
** ga('linker:autoLink', ['example-2.com'] );**
Remember to replace the example tracking ID (UA-XXXXXX-Y) with your own tracking ID, and replace the example secondary domain (example-2.com) with your own secondary domain name.
http://www.analytics-debugger.com/en
https://www.google.com/search?q=google+analytics+debugger&oq=google-analytics-debugger
https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna
I hope this is more helpful and explains I do not want to copy the instructions Word for Word.
But I think this will give you enough to understand if you have implemented these changes you are all set if not please make the changes.
https://support.google.com/analytics/answer/1042508
TRACKING ACROSS MULTIPLE DOMAINS
autoLink plugin
https://support.google.com/analytics/answer/4627488
https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain
I hope this will tell you yes or no
let me know,
Tom
-
Hey Thomas,
Just to be sure, could you answer the question whether my assumption is correct or not? I'll read through the resource you sent but your opinion would be great.
Thanks!
-
here is a detailed answer to your question.
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite
https://developers.google.com/analytics/resources/concepts/gaConceptsDomains
Please let me know if I can be of more help,
Thomas
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
-
I've 'lost' my Google Referral international traffic
We recently launched a new version of our website on the PrestaShop platform. On our old DNN platform, we would typically see several thousand clicks a month from Google Referral (domestic) and several thousand more collectively from Google Referral international traffic (i.e. UK, Canada, Germany, France). This was the data being reported in Google Analytics. Once the new site went live however, Google Referral traffic, both domestic and international, all dropped to 0. My question is: Did we lose this traffic due to some improper setting on our new platform, or is this Google Referral traffic simply being re-categorized into another category, i.e. Organic Search?
Paid Search Marketing | | bmayer090 -
Using + in Adwords URL
Hi. I am using keywords in my Destination URL in Adwords. So http://example.com/?football+boots+supplier This was done by someone else and I am trying to understand the full meaning behind this. If I go to the page it links to, it is just the homepage of the website but obviously shows up in Analytics as a landing page that stills out from the general landing page of homepage / Is that the reason so its easier to track the data? I would have though using the Paid referral in Analytics does this better? Any help be great. Thanks
Paid Search Marketing | | YNWA0 -
A Call From Google (Not a Question but the Moderators said to Put this Here)
This is not going to be a long post but I wanted to get something out there that a lot of other business owners might not understand. I have several different PPC campaigns that my business partner and I personally run. The campaigns are all doing quite well with a high rate of return. Never has Google contacted me (other than for surveys, which I did wind up receiving 5 blue gym bags with the Google insignia on them) and never did I think they would. The campaign they called me on wasn’t a particularly large campaign. Right now the PPC spend is around 3000/month. I understand this isn’t a little bit of money, but at the same time it’s not in the millions like most of Google’s top sites. The thing that concerned me most was the reason for their call. A nice woman introduced herself and said that the campaigns were nicely run except for a few changes. She went on to tell me of a couple of updates in the PPC realm (this happened to me yesterday – Feb 28). She said within the past few months they were rolling out a new way to target their content network and for most people they were able to save 35% (that was a number she mentioned) with the tactics she was going to suggest. My background lies in mathematics and finance (somewhat related) and I tend to know when I am either being sold or being tricked into being sold. Through the whole list of things she mentioned that would help as she was walking me through she mentioned that it was a good idea to up the bid on the content network. That way we would have more chances of being seen and it would help with out conversions. This by itself seems like decent advice, but our bid for the content network is not cheap. If they are calling every small – medium business and telling them to up their bids, we are going to have a dilemma on our hands. The dilemma being that the AdWords placement is going to cost a heck of a lot more. She said that even if we up our bid, we are not likely to pay the full amount. She wants us to have a repeat conversation on Monday. One side of me was a little upset after the conversation but all they are doing is simply up-selling. They are raising the rates through what I guess are fair business practices. A lot of business owners might just take the advice of a Google representative and not think twice about it. This means we have thousands to hundreds of thousands of people at this very moment upping the bid on their content network. If they can even get a small proportion of people to increase their bids - let's say 10% - the other 90% will start getting less shows and eventually increase their bids. Also, the people that have higher bid amounts in but aren't paying the full amount will start getting closer and closer to the amount they put in as their maximum bid. This wouldn’t be alarming to me but this is the first and only time I have ever heard from a Google representative. I can’t say I didn’t see this coming but at the same time I was definitely taken aback. I am curious to know what the MOZ community has to say.
Paid Search Marketing | | JacobEdward0 -
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 -
Broad Match Modifier: Should I use the + on the first keyword?
I am playing with Adwords and want to use the broad match modifier, however I see some examples always using the + in front of every keyword and some with with it on just the secondary keyword or more e.g. personalised +towels
Paid Search Marketing | | Towelsrus
+personalised +towels Does this give different results? And which is best practice0 -
Adwords campaign and adgroup ideas
When it comes to SEO, I can do that. When it comes to adwords I tend to scratch my head. No idea why, I just do. Anyways I want to get some ideas of how I can setup a killer campaign and structure it and target relevant keywords. Here is my description of my business We are a private christian school providing preschool, elementary and highschool. We are located in Henderson, NV but service Las Vegas, NV as well. We have some of the highest scores and accolades in Nevada so we pride ourselves with those and feel we should target that. So far when it comes to structure I have come up with this setup Campaigns Henderson adgroups Preschool Top Keywords preschool Example Keywords preschools in henderson, nv preschools in henderson nevada preschool henderson nv preschool henderson nevada top rated Example Keywords top rated preschools in henderson nv top rates preschools in henderson nevada best Example Keywords best preschool in henderson nv best preschool in henderson nevada Elementary Top Keywords private school Example Keywords Elementary private schools in henderson nv Elementary private schools in henderson nevada Elementary private school in henderson nv Elementary private school in henderson nevada top rated Example Keywords top rated elementary private school in henderson nv top rated elementary private school in henderson nevada best Example Keywords best elementary private school in henderson nv High School Top Keywords private school top rated best Las Vegas adgroups Preschool Elementary High School I didn't finish the rest because you should get the point. I don't know if these are exact keywords, I just know that private school, top rated and best tend to be what people type. Then each adgroup will get a relevant ad pertaining to those keywords. Am I going overbaord? or is this a good start?
Paid Search Marketing | | cbielich0 -
Adwords Product Listing Ads & Google Analytics mis-reporting
I hope you're sitting comfortably, this could be a long one and loaded with questions! Cut to the chase: Why is traffic from google product ads showing as 'organic' traffic in GA? Here's the scenario: Google Shopping I have thousands of products in a feed to google shopping (froogle, google base, google merchant, whatever you like to call it, I'll settle for google shopping for the purpose of this question). The URLs of this feed is tagged with GA tracking data (notably utm_source=GoogleBase&utm_medium=Product-Search), I have also tagged this with internal tracking which comes through in the back-end to assign orders to that specific source. In this case 'GOOGLEBASE'. Adwords Product Listing Ads As you know, a new (ish) feature of adwords pulls in your products from google shopping so that you get a richer ad (image, title, price) and displays this in the 'advert section' of the SERP. Once setting up a few of these, I noticed I was getting a fair amount of traffic for these new ads, taking one example, which resided in a relatively specific ad group (advertising Aviation Snips). Naturally, I wanted to find out which keywords were driving that traffic in order to improve the ads, or kill them if they weren't working. What was interesting is that I can't find anything about that traffic anywhere in adwords or google analytics. 254 clicks to 'aviation snips' must show up somewhere in analytics, if not the keywords, then what about the product? Analytics is showing nothing like that quantity of visits to those product landing pages where you'd expect. It's like ghost traffic. Google Analytics Since experimenting with product listing ads the organic traffic in GA has suddenly shot up, looking at the new keywords they are all queries which when I test them show up product listing ads in the SERP so it's obviously the paid listing ads driving this traffic. Why is google reporting these as organic, rather than paid? I also noticed a keyword appear as * in the PAID segment of analytics. I thought this was my missing aviation snips traffic, but digging into the landing pages for the * keyword, they are many different ones. There's a connection between the * and product listing ads, but what is it? Is the traffic being doubly reported? Back End Meanwhile we've seen an increase for orders tagged in the back-end of GOOGLEBASE which makes sense - google are pulling in my google shopping feed into the paid part of the SERPs and these are generating sales. Here are some of my initial thoughts / theories: 1. When google pulls in google shopping results into the organic part of the SERP, these get reported as ORGANIC in google analytics, even if you've tagged them otherwise. It seems they strip the tags out. This makes it very difficult to know if your google shopping feed is working well, or if you are doing well on standard organic traffic. 2. Google isn't separating out traffic as PAID with their new product listing ads, completely skewing the reports. It makes it look like you've gained great natural organic listings when if fact you are paying. 3. With relation to the missing Aviation Snips data - maybe google is showing a huge variety of products for that adgroup (even though it's specific) and therefore I can't see the traffic to the specific products that you'd expect. This I'm most confused about and wondered if I've missed a trick in setting the product listing ads up? I've attached a couple of screenshots which I hope will help clarify some of this. I can see product listing ads being great if you could get proper data to analyse and improve them. So here are my questions again if anyone can help? How do I see which keywords are driving the product listing ads? How do I see the landing pages for the product listings ads? What is the * keyword coming through in GA? How can you get GA to report product listing ads as paid rather than organic? Thank you so much. If I can gather enough data on this all and work it out I'll try to write up in a blog post to help others. 0rOMM.png GUAE0.png fWPL7.png
Paid Search Marketing | | ewanr0 -
Where are the URLs in Google top ads coming from?
I'm not sure if this new but I noticed it today: Some of the ads that are displayed on top of the SERPs have a title, and then their web address, separated by a vertical bar. For example (see image): Coffee Beans Online | CoffeeBeansDirect.com The same ad, when displayed in the side bar (see 2nd image) doesn't contain the web address. I expected that because if you count the letters in the ad, including the 'coffeebeansdirect.com' it exceeds the amount allowed for a google ad. My question is: How did it get there? There's no room to distinguish between top ads and side ads when you write a new a new ad in adwords so where did it come from? Plus, notice that both CoffeeBeanDirect.com and ROASTe.com use caps that are not used in the green link at the bottom. How did Google know to present the url that way? 549sR 4tAnb
Paid Search Marketing | | 5225Marketing0