E-Commerce Tracking in Google Analytics

  • License:
  • Price:
  • Version:
  • Date Added:
    11 Jan 2016
  • Date Modified:
    02 Sep 2021
  • Rating:
    1 2 3 4 5
  • Votes:
  • Sales:
  • Qty:

    E-commerce Tracking allows you to measure the number of transactions and revenue that your store generates. This extension sends order data to Google Analytics only when selected order status is reached and it doesn't matter who change this status. The extension supports changes order status by store administrator, by payment service or by default OpenCart system, as a result, you get most accurate reports in Google Analytics.

    Main advantages

  • Easy installation and configuration
  • No files are overwritten. The extension uses OpenCart Extension Installer (OCMOD) or VQMOD
  • Support Multi-Lingual, Multi-Currency, Multi-Tracking ID and Multi-Store (Analytics Reports data in one selected language/currency or multi-language/multi-currency)
  • An order tracking by the selected statuses (Support changes from the administrator)
  • Settings for the id, name and category of product
  • Analytics Reports with/without taxes (on/off option)
  • Support any theme, quick checkout or payment extension
  • Сompatible with Google Tag Manager, Global Site Tag (gtag.js), analytics.js and ga.js (legacy)
  • Debug mode and logs system

    There are two types of e-commerce data you can send using E-commerce Tracking

    Transaction Data (Order Data)

  • Transaction ID - The transaction ID (e.g. 1234)
  • Affiliation - The store or affiliation from which this transaction occurred (e.g. Google Store, customizable option)
  • Revenue - Specifies the total revenue or grand total associated with the transaction (e.g. 11.99, customizable option)
  • Tax - The total tax associated with the transaction (e.g. 2.15)
  • Shipping - The shipping cost associated with the transaction (e.g. 1.25)
  • Currency Code - The local currency of the transaction (e.g. EUR, customizable option)

    Item Data (Product Data)

  • Transaction ID - The transaction ID (e.g. 1234)
  • Name - The name of the product (e.g. Canon EOS 5D, customizable option)
  • SKU - The product ID or SKU (e.g. 8232, customizable option)
  • Category - The category to which the product belongs (e.g. Components / Monitors, customizable option)
  • Price - The price of a product (e.g. 29.20)
  • Quantity - The quantity of a product (e.g. 2)

 If you want get access to the Google Analytics Demo Account, please send us a message with subject "Demo access to Ecommerce Tracking" and your email address associated with Google Analytics to info@vanstudio.co.ua. We will provide access within 48 hours.

    More info about E-commerce Tracking


Note: In OpenCart version 1.5.4 - the administration menu will look "Extensions > Modules" instead "Extensions > Extensions > Modules".

Step 1

    Create Your Google Analytics Account.

    If you’re already a Google Analytics User, skip ahead to Step 2.

    If you don’t already have a Google Analytics account, you can sign up for a free account here.

Step 2

    Add basic page tracking (tracking code) to your website (source).

    If you have already added a basic page tracking, skip ahead to Step 3.

    If you have not already added basic page tracking find the tracking code snippet for your property.

    2.1 Sign in to your Google Analytics account, and select the Admin tab.

    From the Account and Property columns, select the property you’re working with. Click Tracking Info > Tracking Code.

    2.2 Find your tracking code snippet. It's in a box with several lines of JavaScript in it.

    Everything in this box is your tracking code snippet. It starts with <script> and ends with </script>.

    2.3 Copy and paste your tracking code to the OpenCart store settings in the admin panel:

    - in OpenCart 1.5.4- go to System > Settings > Server Teb > Google Analytics Code;

    - in OpenCart go to System > Settings > Google Teb > Google Analytics Code;

    - in OpenCart go to Extensions > Analytics > Google Analytics;

    - in OpenCart and above go to Extensions > Extensions > Analytics > Google Analytics.

Step 3

    Enable Ecommerce for a view in your reports (source).

    3.1 Sign in to your Google Analytics account.

    3.2 Click Admin, and navigate to the view you want.

    3.3 In the VIEW column, click Ecommerce Settings.

    3.4 Set Enable Ecommerce to ON.

    3.5 Click the Enable Related Products toggle ON (optional).

    3.6 Click Next step.

    3.7 Click Submit.

Attention! it may take 24 hours for data to appear in your reports once tracking has been installed.

Step 4 (Extension Installer)

    You must have set your FTP credentials to use this type of installation on OpenCart

    Go to store administration menu "Extensions > Installer" and upload the archive "e-tracking-vX.X-ocXXXX.ocmod.zip".

Step 4 (VQMOD)

    You must have installed VQMOD to use this type of installation.

    Upload the files and folders of extension (folder admin, catalog and vqmod) from the archive "e-tracking-vX.X-ocXXXX.vqmod.zip"

    to your OpenCart server's main (root) directory by FTP client or filemanager.

Step 4 (Marketplace)

    You must have set your OpenCart API information to use this type of installation.

    Install "CLOUD E-Commerce Tracking vX.X OCXXXX" in the download tab of marketplace extension page.

Step 5

    Go to store administration menu "Extensions > Extensions > Modules" and click Install "E-Commerce Tracking in Google Analytics by VanStudio" module.

    If you use OCMOD, the extension automatically refresh the Modification List after this step.

Step 6

    6.1 Go to "Extensions > Extensions > Modules" and click Edit.

    6.2 Set Status to enabled.

    6.3 Enter your Google Analytics Tracking ID (How to get Tracking ID?).

    6.4 Enter your Order ID from opencart.com or vanstudio.co.ua.

    6.5 Select Order Status. The data will be sent to Google Analytics when an order get selected status (Complete and Pending by default).

    6.6 Click Save.

That's it!

Instruction video - Installation E-Commerce Tracking in Google Analytics OpenCart extension

Instruction video - How to install extension in OpenCart 2.x by Extension Installer

Instruction video - How to install extension in OpenCart using VQMOD

Opencart Version
Opencart 1.0 1.5.4,, 1.5.5,, 1.5.6,,,,
Opencart 2.0,,,,,,,,,,
OpenCart 3.0,,,,,,,,,,,,

- Added support for multiple Tracking IDs

- Added Extended Logs option
- Other minor fixes and improvements

- Fixed an issue with PHP < 5.4
- Other minor fixes and improvements

- Added OpenCart compatibility
- Added Taxes option
- Other minor fixes and improvements

- Added Google Tag Manager compatibility
- Added Order Status option
- Added debug mode and logs system

- Added Pavilion theme compatibility
- Other minor fixes and improvements

- Added OpenCart compatibility
- Other minor fixes and improvements

- Added escaping special characters in the names of products and categories
- Fixed an issue with detection main product category

- Fixed an issue with languages in OpenCart

- Added OpenCart compatibility
- Added Language option. You can use multilingual mode or one selected language.
- Added Currency option. You can use multi-currency mode or one selected currency.
- Added Product ID option. You can change product ID in Google Analytics reports.
- Added only one main product category in Google Analytics reports

Add Your Comment
Note: HTML is not translated!

Tags: ecommerce, tracking, ecommerce tracking, google analytics ecommerce, google analytics, analytics reports, ecommerce reports, analytics, reporting, conversions, analytics reporting, analytics conversions, analytics transactions, ecommerce transactions, orders in analytics, products in analytics