Cross Domain Tracking
-
I want to track across domains, but also track as a virtual pageview anytime someone clicks on the link to another domain. So currently I have, for example:
As per Google's instructions, I need to have the link set to:
But this will obviously get rid of my virtual pageview. Is there a way I can do both?
-
Thanks Benjamin, very helpful. I'm not wedded to the virtual pageviews, just wondering as all our site goals are currently attached to them. I suspected that I could get rid of them once the cross-domain tracking is operating properly, so thanks for confirming that as well!
-
Are you sure you definitely want to keep the virtual pageview in there? I ask because normally you'd have that in place to track clicks on an outbound link, so that you can see how many people clicked it. But if you're hooking up cross domain tracking to another domain that you control, you can see how many people clicked the link just by checking pageviews of the URL that the link points to.
If you do need to keep it though, your link would look like this:
-
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
-
Can you track two Google Analytics Accounts on one site?
If you have a site that had an old analytics account and then implemented a new one is it possible to run tracking code that records to both accounts without causing your site or data issues? We are doing this so we don't loose data at any point - ideally it wouldn't have been split between the two but making one redundant isn't an option. Ideally we would have merged the data from both accounts and had one - however the research we have done points to this not being a possibility - unless one of you guys knows different? It would be great if anyone has experience on any this.. Thanks
Reporting & Analytics | | ChrisAllbones0 -
How to track in Google Analytics
Hello, I am helping a client track traffic using Google Analytics. We recently just signed an agreement with a publisher and they have given original credit using a canonical link. How can I track this? I believe it is showing up under direct/ none and I don't know to measure the success of our new partnership.
Reporting & Analytics | | rmazur0 -
Does traffic coming from Adwords increase overall Domain Authority or Page Rank?
If I'm setting up an Adwords campaign, will setting my homepage as the landing page boost my domain rank? and will the Page Rank of the landing page get boosted because of the high click rate coming from the Adwords campaign?
Reporting & Analytics | | s2bkevin0 -
Spike in 404 Errors from a redirecting domain
All, The non www version of a site I own redirects to the www version. Recently, WMT began showing a big spike in 404 errors (1,000+) on the non www version of the site. Site traffic is off about 15% since the spike in 404 errors. There was also a brief period about two weeks ago, where the site went down due to an issue with the code that has now been resolved. Any ideas how WMT is showing 404 errors on redirected pages? Thanks, John
Reporting & Analytics | | JSOC0 -
Large recent drop in "Domain Authority" and backlinks through OSE
Hello, I've noticed that our sites domain authority has dropped enormously this past week according to Open Site Explorer. It also shows us as having lost about half of our backlinks. Google webmaster tools doesn't show a corresponding drop in links and we haven't done anything to our domain recently. Anyone have any ideas what might have happened? Our site is at: http://www.GoldMaxUSA.com Thanks!
Reporting & Analytics | | JFritton0 -
Looking for a Drupal module to track conversions...
I don't use drupal very often, so I'm looking for some help. We manage two sites in drupal, and the way they are set up, it creates a new thank you page every time someone fills out a contact form. The thank you page displays the information that was entered, so I assume it is necessary to create a page to do this (this was set up before I came on board). What I'm trying to do is track conversions in analytics by thank you page, but because a different node is created for every page, it makes things really difficult. My guess is that there's some kind of module or shortcut that could make this easier. Do any of you know of something, or preferably, is there something you're using that you'd endorse? Thanks for your help. -Adam
Reporting & Analytics | | DeliaAssociates0 -
Setting up GA to report on sub domains
I've just launched a mobile version of my site at m.mydomain.com. I could do with a bit of help just checking I've inserted my Google Analytics code correctly though. I've chosen the sub domain option from settings and pasted the code into both the mobile and the non-mobile version of my sites. However, am I right in thinking that the setDomain attribute should point to two different domains for example: _gaq.push(['_setDomainName', 'm.mydomain.com']); (for the mobile site) and: _gaq.push(['_setDomainName', 'mydomain.com']); (for the standard site) Thanks very much for your help!
Reporting & Analytics | | theshortstack0 -
Is there a way to use Google Analytics event tracking for YouTube embedded videos on my website?
Hello! I am trying to track different types of interaction on the YouTube for videos which are embedded on a website to measure the interaction on these video from my organic traffic. Is there a good way to go about this with the code since these are coming from an iFrame on YouTube? Would appreciate any feedback or help on implementing the event tracking with YouTube videos. Many thanks!
Reporting & Analytics | | CabbageTree0