Using Google Analytics with OpenCart
Google Analytics provides detailed statistics about visitor traffic to your site. To use Google Analytics with OpenCart (or with any other type of site), you must first sign up for a Google Analytics account at http://www.google.com/analytics and obtain a unique Tracking ID. After you have set up a Google Analytics account and have the Tracking ID for your site, you can configure it for OpenCart. Unlike many other e-commerce and CMS applications, you do not have to install a separate plugin or module to use Google Analytics. OpenCart includes Google Analytics support by default. To enable this feature, follow the appropriate procedure for your version of OpenCart.OpenCart 2.1
To enable Google Analytics for OpenCart 2.1, follow these steps:- Log in to OpenCart as the administrator.
-
In the left pane, click the
icon, and then click Analytics.
-
Locate Google Analytics, and then click the Install (
) icon.
-
Click the Edit (
) icon.
- In the Google Analytics Code text box, type your Google Analytics tracking ID.
- In the Status list box, select Enabled.
-
Click the Save (
) icon.
📘 Note It can take up to 24 hours for Google Analytics to change its status from
Tracking Not Installed to
Receiving Data .
OpenCart 2.0
To enable Google Analytics for OpenCart 2.0, follow these steps:- Log in to OpenCart as the administrator.
-
In the left pane, click the
icon, and then click Settings.
-
Select your store, and then click the Edit (
) icon.
- Click the Google tab.
- Under Google Analytics, in the Google Analytics Code text box, type your Google Analytics tracking ID.
- In the Status list box, select Enabled.
-
Click the Save (
) icon.
📘 Note It can take up to 24 hours for Google Analytics to change its status from
Tracking Not Installed to
Receiving Data .
OpenCart 1.5
To enable Google Analytics for OpenCart 1.5, follow these steps:- Log in to OpenCart as the administrator.
- On the top menu bar, click System, and then click Settings.
- Select your store, and then click Edit.
- Click the Server tab.
- Scroll to the bottom of the page, and then in the Google Analytics Code text box, type your Google Analytics tracking ID.
-
Click Save.
📘 Note It can take up to 24 hours for Google Analytics to change its status from
Tracking Not Installed to
Receiving Data .