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
-
To use new domain name or not?
I've had a web site since before most people knew what a web site was, aeroconsult.com. It has a page authority of 30, domain authority of 21, and 21 root domains that link to path. The problem is, I am not getting many organic hits, and I am wasting a lot of non-productive money on ad words. Because this site is over 20 years old, with a few rudimentary modifications, I decided to create a totally new web site that is modern and that has a regular menu, pictures, etc. It also has a domain name that more accurately reflects what I do. I am an engineering consultant working in the area of RF and microwave design and development. I design rf and microwave circuits and systems for clients. Those clients range from individual inventors to start-up companies, to large (and, yes, sometimes) corporations, including some aerospace companies. But, I do not design rockets, space ships, airplanes, or other things that an aerospace company does. I get a lot of organic hits on "aerospace consultant", "aerospace consulting", "aerospace design", etc. But, those are useless to me, since that is not what I do. So, I designed a new website. It is still under development, but it is out there at rfandmicrowavedesign.com. Clearly, the URL is appropriate to what I do. And, all pages have my company name, Aerospace Consulting LLC. But, even with Google adwords, which I just activated for this site yesterday, I am not getting good results, especially when you look at the cost of the CPC. I plan to keep my e-mail address, that is tied to aeroconsult.com since it has been out there for over 2 decades and that is what my old clients know. But, I am wondering if I should move the new web site contents to my old domain, aeroconsult.com because of the domain authority, page authority, and links? Or, am I better just leaving the old aeroconsult.com web site out there and concentrate on the new web site with the new domain name? Both web sites have 1 or 2 organic search results in the top 10, although the only organic search result that really relates to my business is "wireless design consulting" which is #8 for rfandmicrowavedesign.com, although I think it is something like #10 for aeroconsult.com. All other organic search results are less than 50, which is, of course, useless. (Although, #8 for rfandmicrowavedesign.com is pretty impressive since it has only been live for a couple of weeks, vs over 20 years for aeroconsult.com. Anyway, I am looking for advice. Should I scrap the old aeroconsult.com web site and replace its contents with the contents of rfandmicrowavedesign.com, or should I leave them both active for at least a while? I plan to continue to use the aeroconsult.com domain for e-mail since it has been out there for so long. I guess the real question is whether I would gain lot by putting the clearly better content and structure of rfandmicrowavedesign.com on my old, established, aeroconsult.com, or whether I should concentrate in building up organic and paid search for rfandmicrowavedsign.com.
Paid Search Marketing | | Nanook10 -
Adding Coremetrics Tags with Google Adwords
Hello, I would like to know if it's possible to add Coremetrics tracking tags in Google Adwords while the auto tagging functionnality is on. The point of doing this is to be able to track in both Analytics systems the performance of the PPC campaigns while still having Adwords to use Google Analytics conversion data. Thanks, Guillaume
Paid Search Marketing | | guiberube0 -
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 -
Bought domains to some of my best keywords. What should I do?
So I work in a very niche industry and compete very well with Google PPC. I was recently able to acquire domains of keywords that drive almost 40% of all our paid traffic and quite a bit of organic traffic as well. The problem is that these keyword domains carry no authority (obviously because i just bought them). Would i be best served to just do redirects with these names to my current site(s)? Or i was also thinking about setting up independent blog sites that would link back to my main site. I' was also thinking of changing the domains of my paid google ads to align with the recently acquired links.... Thanks in advance for your help!
Paid Search Marketing | | ckonicek0 -
Does having a new website design and code affects the SEO
Dear experts, We are in the process of completely revamping our website code and design to a new version of prestashop. Having mentioned that, please note that we are not changing the URL links. So, the same products links will be the same and intact. Only the content is changing. So, how this is affecting my website SEO or SERP? Regards,
Paid Search Marketing | | kanary0 -
Google PPC - coupon balances
So, I know that you can't simply transfer a coupon credit in Google AdWords to another account. My question, if anyone knows, is there a way to do this using My Client Center? We manage multiple accounts, and have another coming on board that has a pre-existing coupon credit. We were going to set up a new account (which we would handle billing for and just invoice) for the client. But, that would leave them unable to use a coupon code. If it's managed under MCC, is there a way to work around this?
Paid Search Marketing | | DeliaAssociates0 -
Google Adwords Book
Does anyone have a suggestion on a very recent Google Adwords book?
Paid Search Marketing | | phogan0 -
Adwords budget for different days of the week
We operate a Google Adwords campaign that clearly performs better conversion wise on Monday, Tuesday and Wednesdays ... What is the best way to stack a higher daily budget on specifc days in Adwords - There doesn't appear to be any formal way of doing this and the advice online is mixed...
Paid Search Marketing | | digitalarts0