Google Analytics Ecommerce help

Discussion in 'Programming' started by Jon12345, Jan 10, 2008.

  1. #1
    I want to have Google Analytics tracking my sales via the ecommerce feature. Currently, I have the Google Analytics javascript code on my sales completion page that uses a static variable, which is set to the average order value. But since my order values change each time, I want to use their ecommerce feature where you can use a dynamic value. Currently, on my sales completion page, I have a php variable that contains the sales amount ($amount).

    I want someone to create the Google Analytics javascript code so my sales have the actual value appear in my reports.

    I have only the one service that I sell but the order value changes each time. When people get to my www.mysite.com/sold.php page, the come from www.mysite.com/order.php?amount=45.56 (the value varies)

    A couple of links you might find useful:

    http://www.google.com/support/analytics/bin/answer.py?answer=55528&topic=11002
    http://groups.google.com/group/anal...d99b4f0/4fb5ba6132e14c82?lnk=gst&q=ecommerce#

    Very quick and simple project if you are good with javascript and have experience with Google Analytics ecommerce.

    Thanks,

    Jon
     
    Jon12345, Jan 10, 2008 IP