Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I sell a windows software through a third party company (FastSpring) and would like to track those sales with GA.

The problem is that all my "buy links" on my site (www.easyjob.net) don't point directly to www.fastspring.com, so I can't implement the techniques described here. Instead, they all point to a php file (www.easyjob.net/buyNow.php). I need this php in order to:

  • Save affiliate cookies (if present)
  • Decide to which fastspring.com url to send, depending on the location of the visitor (US visitors are sent a price in USD, EU visitors to a price in Euros).

All this is done without displaying any html (via a meta redirect) and without any interaction with the user.

How can I still send the necessary information to google when redirecting to the shopping cart at www.fastspring.com under this circumstances?

Any help would be really appreciated.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You have to track outbound links to get more accurate information on what links are going to your fastspring subscription.

http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55527 the link above explains it a bit.

Also, the Buynow.php script can be modified to track, if you put the google analytics code on there. Put it there, and then a javascript redirect, would be a quick fix.

share|improve this answer
    
Link not working anymore :( –  adriaanp Oct 30 '12 at 19:44
    
support.google.com/analytics/bin/… –  Frank Nov 12 '12 at 12:26
    
wptheming.com/2012/01/… –  Frank Nov 12 '12 at 12:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.