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
-
How to Tell Google About My Near Duplicate Pages?
For my Adwords campaign, I create a separate landing page for each Ad Group, but are similar enough to one another that they may be considered duplicate content. Should I use a canonical tag on the page to tell Google which page is priority? I don't care about any of those pages ranking in search, I'm just using them for my ads. I also don't want to redirect, clearly. Is the canonical tag the correct way to go?
Paid Search Marketing | | Dino640 -
I am a seller on Amazon and am looking for an agency/consultant to help optimize my products
Anyone do this kind of work or know anyone who does? Looking to act quickly. Our product is selling well and the team wants to put more money behind it and I'm not sure if that's necessary or if we just need to optimize our organic listing. Trying to understand scale and how Amazon differs from Adwords
Paid Search Marketing | | Eric_OWPP0 -
Session and conversion data missing from AdWords campaigns in Analytics
Hi all, For a client of ours, we're not seeing session & conversion data for AdWords campaigns in Analytics. We are seeing click & cost data. Adwords and Analytics are linked and autotagging is enabled. The site where we're experiencing this problem is www.maxifleur-plantes-artificielles.fr. It's a Magento-based store with the Web Cooking Universal Analytics extension installed. The bulk of AdWords traffic is landing on the page www.maxifleur-plantes-artificielles.fr/plantes-artificielles, which has no active redirects that could remove the ?gclid parameter for as far as I can tell. Yet, click IDs that I manually tested won't show up in the reports either. Mid April, all traffic aside from direct traffic just disappeared from the reports. Google's Tag Assistant gives a lot of errors, but in the source code the snippet looks just fine and we don't have problems with other web shops that use the aforementioned extension. Suggestions as to what could be the problem are most welcome. Thanks! Bas
Paid Search Marketing | | Evoworks0 -
Do UTM Parameters reflect in Google Analytics
Hi, We have recently enabled auto tagging in our URLs but not sure if tagging is working correctly. Does Google Analytics shows the utm parameters also in URLs in Google Analytics OR Google shows only the base url (after removing utm parameters) in Analytics. For example: Will http://www.abc.com/?utm_source=Indiaweb&utm_medium=Display&utm_campaign=CPC&utm_content=NRI_newprojects&utm_term=US be shown as is in Google Analytics under PAID Tab or only http://www.abc.com/ will be shown and the utm parameters will be removed in Analytics if auto tagging is enabled. Thanks in Advance 🙂 Regards Anirban
Paid Search Marketing | | vivekrathore0 -
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 -
A heads-up about problems with the new Google Adwords Keyword Planner tool
I noticed that when I was using this tool, the data in the tables would change, often by a lot (up to 50%) when I sorted the columns. (Did nothing else, just sorted.) Since I was starting a new campaign and really needed data, I contacted Google about this and was told: "I understand that the estimates are changing in the Keyword Planner tool when you sort the data. I reproduced this on my end as well and was able to confirm that this is a known technical issue on our end." "Unfortunately the information in the Keyword Planner Tool is currently not the best source of data for your analysis." They then went on to suggest I just test things blindly. So, what do you do to get information about keyword traffic and ppc estimates?
Paid Search Marketing | | Linda-Vassily0 -
Google Adwords Conversion Tracking Code Help - Not Showing Conversions
Hi, all. I am having issues with a clients website. They have their website developed by a company http://www.flowerstoreinabox.com.au/ my clients website is http://www.flawlessflowers.com.au the google adwords conversion tracking code has been added to their site. It measures all details as far as ads clicked on, etc.. the only part that is not been measured is the conversions of the adwords campaign. So I cannot see if the ads are successful or what their conversion % is. I have looked at the code on the thank you page and the google adwords conversion code is present on the thank you page after the sale. I am not a coder and so not sure what to look at if all the details on the checkout page exist in the code to measure the adwords conversion ecommerce transactions correctly. I have provided a link to the source code of the competed order page. If someone could look at the code and provide any assistance I would appreciate it. http://dl.dropbox.com/u/16973368/7 may adwords flawless flowers.txt I am also happy to provide you access to the google analytics account if required just give me your email address to set it up. Thanks for all your help Regards Arthur
Paid Search Marketing | | VivaArturo0 -
PPC Campaign Setup Fee - Fair?
We already do our PPC campaigns with an agency and we're looking to create another campaign. They told us that the amount of traffic around our campaign would allow for about $2-3k spend per month, possibly with some additional funds placed into display ads. For this campaign, they have proposed a setup fee of $2k and an increased management fee of $750 -- is this a reasonable price?
Paid Search Marketing | | kylesuss0