Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8578543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:24:52+00:00 2026-06-11T20:24:52+00:00

I am having two GA reporting problems with a site I manage that I

  • 0

I am having two GA reporting problems with a site I manage that I am not sure how to solve:

  1. The site is showing up as a referrer to its own domain in GA reports.
  2. My goal completions (sales conversions on 3rd party off-domain
    ecommerce cart) are all showing the site’s domain as “source” when I
    obviously want to see the true “referers” who are sending traffic
    that results in goal completions.

My thoughts on potential reasons why this could happening:

I am using absolute paths for internal links, like this:

<a href="http://example.com/contact.html">

as opposed to

<a href="/contact.html">

Could this be it? Users often do click around internally before they purchase.

Also, on several high traffic pages, I am using javascript history backlinks, like this ::

<a href="javascript: history.go(-1)">go back</a>

Lastly, I’m doing a 301 redirect on “add to cart” traffic clicks so that

http://example.com/add_to_cart

redirects to:

http://paymentprocessor.com/ugly_url/cart_page.html

(Although this is an external 3rd party domain, my GA code still fires there)

Any guesses why I am experiencing the issues stated at the top here? … thank you to all you GA wizards.


UPDATE UPDATE UPDATE

Thanks Eduardo for the great answer.

Thought I might share that now for href text links to 3rd party ecomm site I am tracking events with jquery via class, so my _gaq.push to track both the click event and copy the cookie data over from my site to the third party site looks like this:

$('a.index_addtocart_smallest').click(function(){
    _gaq.push(['_trackEvent', 'Outbound Links', 'index_addtocart_smallest', 'buy_click'],['_link', 'ssl.thirdpartyecom.net/order/']);           
    });

And when I use the form action “add to cart” submit in the HTML look like this:

<form action="http://example.com/add_to_cart" method="post" onsubmit="that=this;_gaq.push(['_trackEvent','Outbound Links','index_big_buy_button', 'buy_click'],['_linkByPost', this]);setTimeout(function() { that.submit() }, 100);return false;">

… to track the event, and post the existing cookie to third party server, while adding a delay to the click to make sure it is captured by GA.

In my case I am using the asynchronous syntax for Tracking Between a Domain and a Sub-Directory on Another Domain: https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite#domainAndSubDirectory

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:24:53+00:00Added an answer on June 11, 2026 at 8:24 pm

    In your case it’s very clear that the problem is with the cart. When you redirect the user to your cart domain he lands on a new domain and lose access to the cookies that he was using on your site. Because GA needs to create a new set of cookies on the cart site it also creates a new visitor id and a new visit, that visit will be a self referral because that’s where the visitor is coming from from GA point of view.

    Google Analytics keeps state on cookies, __utm*. So when changing domains we need to copy the cookies from the domain you are currently in to the domain you are moving to. The google analytics API offers some methods to implement this. This is often known as “cross-domain tracking” or “multiple domain tracking”. Google Analytics documentation offers a good explanation on how to implement it. You can also search Stack Overflow for several questions related to cross-domain tracking, people seem to have a hard time getting it right.

    You are free to use absolute or relative links, it makes no difference for Google Analytics at all.

    Javascript redirects are usually ok. Even though there are cases where they certainly make things a little bit more difficult your use case of a back button is fine and should not be causing any problems at all. Of course if the javascript redirect changes the domain you are in you are back to the same issue and needs to implement cross-domain tracking.

    Sometimes internal referrers are legitimate. One example of legit self referrals: When a user visits a page on your site and stay there for over 30 min, then navigates to a second page. In that case after the 30 minutes the visit expires and when he navigates to that second page a new visit is created. This new visit will be a self referral and the second page will be considered a landing page. That might seem odd at first, but this is a self referral and it’s usually fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having two forms, each in it's own jQuery UI tab, how can I post
We are having two load balancing server. In that we have hosted a asp.net
I'm having two jquery's that I run and I want to combine them both
I'm creating installer using InstallShield 2010 (basic MSI) that is having two features. First
I having two arrays say, $array1 = array(code => E0089, desc => some description);
I am having two forms, 1st is form_1 and 2nd is form_2. form_1 containing
I am having two coordinate points on Google map. I calculated the distance between
I am having two activities A and B. when i click the button in
I am having two issues: I usually create separate view for the login to
My layout having two parts. I want to change the upper part by keeping

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.