Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 WordPress for Ecommerce Templates
 Google Analytics ecommerce tracking for ECT
Author « Topic »  

ECT Moderator

95440 Posts

Posted - 05/26/2016 :  06:16:24  
To track your sales (and visits etc) through Google Analytics on your Wordpress ECT store add the following to vsadmin/includes.php


and this code snippet to footer.php

<script type="text/javascript">
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
<?php print @$GLOBALS['googleanalyticstrackorderinfo']?>

Replacing UA-XXXXXXXX-X with your own Google tracking ID.

Make sure that code is added to the HTML of footer.php and not added as a custom script function.

In your Google Analytics console make sure the site is set up as an ecommerce site ie. Conversions > Ecommerce


Please feel free to review / rate our software
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022
This page was generated in 0 seconds. Snitz Forums 2000