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
-
Will google consider it as one click for adwords?
Hi All, Many times I want to check actual page of competitors they are targeting in google adwords. Like when I search for any keywords and my competitors page comes on top ads in google, then I copy url from search result and paste in any other browser will it be consider as click and google will charge to my competitor? Example url - https://www.googleadservices.com/pagead/aclk?------------------------------------------------------------------------&adurl= Thanks!
Paid Search Marketing | | pragnesh96390 -
I've 'lost' my Google Referral Traffic
We recently re-launched our website on a new platform, PrestaShop. Up until that launch,our website, based on the DNN platform, received several thousand clicks per month from what Google Analytics classified as 'Google/referral', and several thousand more clicks collectively from international Google/referrals, i.e. Canada, Germany, UK and France. When the re-launched site went live, these clicks all went to zero on Google Analytics. My question is: Did we actually lose this Referral traffic through an improper setting on our new platform, or is this Referral simply being re-categorized in some other Source category like Organic Search?
Paid Search Marketing | | bmayer091 -
Seeking Critique on PPC Campaign Gameplan
Background: We're a home service business with potential for recurring clients. In the past, I've run PPC campaigns for a much larger company, and was profitable, but the business model was vastly different. The campaign also took place during their busy season, allowing flexibility I won't receive here. Campaign Details: AdWords only SERPs only (not partner network) Desktop users only Data Available: Lots of past data was incomplete, prompting my best estimates and judgment calls. For past leads data, I'm using Google as lead source (organic + local pack rankings), generated specifically from our quote form. Since our quote form doesn't render on Mobile/Tablet, I omitted those visits from our Analytics data, and only target Desktop in the campaign. I wound up with the following statistics: Organic (any web search), Desktop visitors who viewed our quote form page: Number of overall pageviews Number of overall leads generated from our quote form Number of overall leads which converted to sales And for our sales/numbers end of things: % our clients choose targeted package Revenue of initial sale on that package Profit generated from sale on that package Using these numbers, I calculated the % of clickers likely to bounce, complete the form, convert to clients, etc. Using our sales records, I calculated revenue/profit expected from each. And with that, I calculated the highest CPC to break even (unacceptable, obviously), as well as the projected ROI from lower, more reasonable CPCs. Notes: We're a home service business. Not all homes are created equal. Through data, I found our clients average home size and the average estimate for that home. Due to incomplete records, I can't know which Google _clients _are specific to our quote form. Some likely called through the local pack or manually dialed and said "Google" if our staff asked. To combat this, I found the % of Google _leads _who completed the quote form vs. phone call, email and applied it to clients for a reliable estimate (our system removes the quote form identifier upon lead to client conversion). I'm not factoring in the % of clients who become recurring customers as I don't have this data. Given that it's much higher than 0%, I think this allows a LOT of breathing room on my estimates. Many of our clients have stayed with us for years. If only a small number convert to long-term status, the current ROI shoots WAY up. Similar to above, I'm also not factoring in the % of clients who don't choose the initial package, but instead choose a lesser package. Again, I think this provides breathing room. Any PPC campaign will have a plethora of variables, especially intangible issues (damages, refunds, etc). I feel I have the important things down, but I'm far from an expert. I'd love to receive any advice or things I'm overlooking. Thanks.
Paid Search Marketing | | kirmeliux1 -
Adwords negative keywords / keyword lists conflicting?
Does any of you had any experience on large 5k+ shared negative keyword lists impacting normal campaign negative keywords in Adwords even if they are not selected on these campaigns? And a second question; does anyone know how selected negative keyword lists can be removed from a campaign? I seem to be able to add them but not to remove them... Cheers!
Paid Search Marketing | | hellemans0 -
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 -
Yahoo Showing Adwords URLS in Organic Results
a client is getting adwords campaign url's showing up high in the SERPs, like 2 spots under the original page. The actual unique page is number one, and number three is the same page except the url is pulled from and adwords click My guess is that yahoo is crawling adsense and mistakenly following it as a link. It's crazy that it ranks on the 3rd page though... At the same time I have recently seen 25 pages deindexed in Google! How could this happen - could these two be related. I read this forum post about similar things happening in yahoo to their site Could this be a duplicate content issue (copyscape is showing no duplicate content) or are my pages getting indexed for some other reason?
Paid Search Marketing | | imageworks-2612900 -
Google Adwords Book
Does anyone have a suggestion on a very recent Google Adwords book?
Paid Search Marketing | | phogan0