Home Opencart Extensions How to add an Analytics extension in Opencart 4? Third-party JS free...

How to add an Analytics extension in Opencart 4? Third-party JS free Opencart extension

With the launch of Opencart 4 we did not find the Google Analytics Opencart 4 module that we used to have in Opencart 3, so to fulfill that requirement we created a free Opencart extension called Third Party JS extension where you can add the Javascript code provided by third-party like Google Analytics, Facebook pixel, etc and add it on this extension.

How to install the Opencart 4 module?

Log in to Admin >> Extensions >> Installer >> Click the Upload button and select the file that ends with .ocmod.zip. In the above download example, it is third_party_js.ocmod.zip. Once it is installed you will see the “Third Party JS” in the installed extensions.

Once you uploaded the zip file, you click the install green icon to install the extension.

Installed extensions Opencart 4

Once you clicked the install button, your extension is installed successfully

Once you see the success message. Now you can go to Admin >> Extensions >> Extension. Then, choose the extension type “Analytics”  and click the install green install button.

Read More: Add HTML, google analytics, tag manager, and third-party JS code in Opencart

Once you click the install button, you can edit the store and you will see a form where you can install the third-party JavaScript like below and enable the status and click the blue save button.

After clicking the save, now the JavaScript code is shown at the head tag.

In this way, you can install the Opencart 4 extensions and use our free Opencart 4 analytics extension for your website.  Hope you liked this post, let us know if you have any questions or suggestions, please subscribe to our YouTube Channel for Opencart video tutorials. You can also find us on Twitter and Facebook. Enjoy Google Analytics Opencart 4 module!



Please enter your comment!
Please enter your name here

Exit mobile version