Announcement

Collapse
No announcement yet.

Tracking my referrals in GA

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Tracking my referrals in GA

    Hi guys, my site's statistics along with product data is being tracked nicely in google analytics thanks to a fair few helpful posts on here. However, i'm looking at my Ecommerce tab for any period, under the 'Sources / Medium' heading I have just my homepage as a referral...

    My checkout makes use of the hosts ssl, so upon checkout a customer is forwarded from my domain to this address:
    https://secure.hosts.co.uk/~hobby-to...in/os******.pl
    - the first checkout page.

    Do I have to set up a funnel to track each page of the checkout process to maintain this referral data? I'm thinking my code at the moment is only registering that final page referred from my domain, but I want it to track the referral to that first checkout page, and then through to receipt.html? I'm keen to learn how to optimise analytics but i'm not sure where to start, or if it's possible with hosted (shared?) ssl?
    If I used this code, that would register each of the checkout stages to use in a funnel in analytics right?

    Here's my analytics code:

    Code:
    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', '<actinic:variable name="GoogleAnalyticsNumber" />']);
      _gaq.push(['_trackPageview','<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22">/receipt.html</actinic:block>']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga' + '.' + 'js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>
    Thanks guys,

    Rob
    Golf Grips Direct
    Hobby Tools

    #2
    I too have this problem with a new site that also uses a shared ssl for secure checkout. The problem is that google sees the secure area as a seperate website (which it is) but tracks the sales as the tracking code is in place. It assumes that your main site was refering the traffic that resulted in a sale. It's a pain and im also working on it im sure somthing can be done inside google analytics.

    Comment


      #3
      This should help http://support.google.com/googleanal...n&answer=55532

      Comment

      Working...
      X