If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

OpenCart 2.x. How to add Google Analytics tracking code

This tutorial will explain you how to add Google Analytics tracking code in OpenCart 2.x. templates.

OpenCart 2.x. How to add Google Analytics tracking code

  1. Log into the existing or create a new account to retrieve the tracking code from: Google Analytics.

  2. Copy the provided code.

  3. Log into your OpenCart admin panel.

  4. Navigate to Extensions -> Analytics:

    opencart2x_how_to_add_google_analytics_tracking_code

  5. Next to the Google Analytics title, click blue pencil icon to edit the code:

    opencart2x_how_to_add_google_analytics_tracking_code2

  6. Paste the retrieved tracking code into the text box.

  7. Select Enabled and save changes.

  8. Use Control/Command+U hotkeys to check the page source code. The snippet should appear before the closing tag of the page head section:

    opencart2x_how_to_add_google_analytics_tracking_code3

  9. Proceed to your Google Analytics Account to track the statistics of the website.

Feel free to check the detailed video tutorial below:

OpenCart 2.x. How to add Google Analytics tracking code