| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Google Analytics Event Tracking | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Google Analytics Event Tracking
A customer of mine recently wanted to know which products and category pages were the most viewed on his site via Google Analytics.
You can use the Site Content section to see all page loads, but it was more difficult to see just the product for instance. So I implemented Event tracking for page loads on product, category and static pages on X-Cart 4. Using this javascript as an example for a product page load Code:
You can use the following Code:
Here is a full example of the code https://www.zone1creative.co.uk/know-products-selling-x-cart-store-know-pages-visited/ |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|