How to enable google analytics in Opencart

Hello please know to enable the google analytics we have to follow the below steps.

Step-1: Login to your admin panel.

Step-2: Go to Extension -> Analytics please screenshot below.

Step-3: Here at the right side you will see a pencil button to edit. click on edit. 

Step-4: Now you have to add the script in Google Analytics Code please copy and paste the below script in here.

<!-- Google Analytics -->



(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),



ga('create', 'Your Code', 'auto');

ga('send', 'pageview');


<!-- End Google Analytics -->

Step5: Your code should be placed in ga('create', 'Your Code', 'auto');  this line.

Step-6: Now Select Enable nd save it

Comments :

Add your valuable comments, so others can read.

Leave A Comment :