Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>See <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setReferrerOverride" rel="nofollow">_setReferrerOveride</a>:</p> <blockquote> <p><strong>_setReferrerOverride()</strong></p> <p>_setReferrerOverride(newReferrerUrl) Sets the referrer URL used to determine campaign tracking values. Use this method to allow gadgets within an iFrame to track referrals correctly. By default, campaign tracking uses the document.referrer property to determine the referrer URL, which is passed in the utmr parameter of the GIF request. However, you can over-ride this parameter with your own value. For example, if you set the new referrer to <a href="http://www.google.com/search?hl=en&amp;q=hats" rel="nofollow">http://www.google.com/search?hl=en&amp;q=hats</a>, the campaign cookie stores a new campaign with source=google, medium=organic, and keyword=hats.</p> </blockquote> <pre><code>_gaq.push(['_setReferrerOverride', 'URL-YOU-WANT-AS-REFERRER']); </code></pre> <p>Or, you could try</p> <p><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html#_gat.GA_Tracker_._addIgnoredRef" rel="nofollow">_addIgnoredRef()</a>:</p> <blockquote> <p><strong>_addIgnoredRef()</strong></p> <p>_addIgnoredRef(newIgnoredReferrer) Excludes a source as a referring site. Use this option when you want to set certain referring links as direct traffic, rather than as referring sites. For example, your company might own another domain that you want to track as direct traffic so that it does not show up on the "Referring Sites" reports. Requests from excluded referrals are still counted in your overall page view count. Async Snippet (recommended)</p> </blockquote> <pre><code>_gaq.push(['_addIgnoredRef', 'www.sister-site.com']); </code></pre> <p>You would have to grab the referrer and populate it dynamically. Probably with <code>parent.document.referrer</code> Of course this might make any referrals (non-bookmarklet) from these sites not record in the future. And, at some point you would need to <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html#_gat.GA_Tracker_._clearIgnoredRef" rel="nofollow">clear them</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload