E-commerce tracking in osCommerce with new Google Analytics tracking code

A few days ago, I was working on an existing osCommerce webshop and decided to install the new Google Analytics Tracking Code. Changing the script in the footer wasn’t all that had to be done (unfortunately). Since almost all functions have changed, the e-commerce script that registers the transaction also needed a few changes.

New Google Analytics Tracking Code (GATC ga.js)

I took a look around and couldn’t find the adjusted osCommerce code. The only solution was to program it myself and in order to spare you some valuable time, here it is…

Continue reading E-commerce tracking in osCommerce with new Google Analytics tracking code