1. Home
  2. Knowledge Base
  3. OpenCart
  4. How to add Google Analytics tracking code in OpenCart

How to add Google Analytics tracking code in OpenCart

  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:
  5. Next to the Google Analytics title, click blue pencil icon to edit the code:
  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:
  9. Proceed to your Google Analytics Account to track the statistics of the website.

Was this article helpful?

Related Articles