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
-
Have you had success using adwords to promote blog content?
From time to time I see an ad pop up in search results for blog content and have often wondered how much success these ads have had in promoting the specific post. Does anyone have experience with this? What results did you see?
Paid Search Marketing | | unikey0 -
How to track offline conversions
What are the best ways to track offline conversions that have come directly from paid ads such as Adwords? Say for example, John searches for 'luxury armchair' and clicks on one of our ads and is directed to the landing page that sells the luxury armchair. John then calls us and completes the transaction over the phone. How do we know that the advertising channel is responsible for that transaction without physically asking the customer? I know Google provide free forwarding phone numbers which can be provided in the Ads, but if they call us from the phone number we list on the website there is no way of tracking down that exact sale? Google mentions something to do with providing a unique ID, called a "GCLID" but I'm not familiar with this or how it works. Any advice is much appreciated.
Paid Search Marketing | | Jseddon921 -
Best Apps for Tracking Google Analytics, Facebook Pages, and More?
Hi! I'm looking for an iPhone app that I can set up for a client so that he can view data from Google Analytics and Facebook (new "likes," "shares", etc). Is there any such thing? I'm not a big Apple user, but he is, and I'd like to find something that would work well for him. Thanks!
Paid Search Marketing | | ScottImageWorks0 -
Tracking Sales That Result From GA Trackable Leads?
I have a client who tracks leads via URL destination goal completions in Google Analytics - when a visitor hits their "quote form" thank you page, a "goal" is completed and thus a lead is tracked in GA. After that, none of the sales process is passed through to GA - The client enters data from form submissions into their CRM software, without any way of knowing which leads came specifically from PPC, email marketing, social, organic, etc., making determining true ROI impossible. We're wondering what the best way is to pass through the traffic source to our client, so they can attach it to the individual lead in their completely manual CRM. Mainly they care about CPC traffic. Any ideas?
Paid Search Marketing | | VTDesignWorks0 -
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 -
Google Analytics Code
I have an ecommerce website and have installed the Google Analytics Code. i am also spending the money for google adwords. i m getting clicks and as well as orders but in google analytics it show that i am getting all the traffic from organic search results whereas my daily budget get exhausted and i do get business for the keywords i bid. i want to ask is there a problem with adwords or anlytics. Or have i placed the wrong code or have placed the code not in a proper format.
Paid Search Marketing | | seosogo0 -
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 -
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