(I do not want to use Google Analytics, I want the data on my database server and I don't like multi-national cooperations who are into world domination, so I want to use Open Web Analytics.)
One part of the installation is to add some code to the website (either php or javascript). Step 7 of this tutorial https://websiteforstudents.com/setup-op ... b-and-php/ explains it.
This additional code should be added to the header.php file of whatever website I'm trying to monitor, however Opencart doesn't seem to have a header.php file. So where in my Opencart installation can I add this code?
Since you are using 3.? ? ? it would be a twig file so follow using this part of the guide "which is often defined in a ‘header.php‘, ‘header.tpl‘ or similar template file" .matthewbaynham wrote: ↑Mon Jan 11, 2021 3:31 amI'm trying to setup Open Web Analytics to monitor what's going on on my Opencart installation. http://www.openwebanalytics.com
(I do not want to use Google Analytics, I want the data on my database server and I don't like multi-national cooperations who are into world domination, so I want to use Open Web Analytics.)
One part of the installation is to add some code to the website (either php or javascript). Step 7 of this tutorial https://websiteforstudents.com/setup-op ... b-and-php/ explains it.
This additional code should be added to the header.php file of whatever website I'm trying to monitor, however Opencart doesn't seem to have a header.php file. So where in my Opencart installation can I add this code?
You should provide your Opencart version and the template for better help.
Mike
cue4cheap not cheap quality
If you need to add PHP code, then use the file catalog/controller/common/header.php
HuntBee OpenCart Services
https://www.huntbee.com
Yeah I don't blame you.matthewbaynham wrote: ↑Mon Jan 11, 2021 3:31 am(I do not want to use Google Analytics, I want the data on my database server and I don't like multi-national cooperations who are into world domination, so I want to use Open Web Analytics.)
Doesn't your web host provide traffic stats?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Were you able to figure it out?matthewbaynham wrote: ↑Mon Jan 11, 2021 3:31 amI'm trying to setup Open Web Analytics to monitor what's going on on my Opencart installation. http://www.openwebanalytics.com
(I do not want to use Google Analytics, I want the data on my database server and I don't like multi-national cooperations who are into world domination, so I want to use Open Web Analytics.)
One part of the installation is to add some code to the website (either php or javascript). Step 7 of this tutorial https://websiteforstudents.com/setup-op ... b-and-php/ explains it.
This additional code should be added to the header.php file of whatever website I'm trying to monitor, however Opencart doesn't seem to have a header.php file. So where in my Opencart installation can I add this code?
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
Using the Google Analytics field works but there's no tracking showing on the Open Web Analytics Admin page.huntbee wrote: ↑Mon Jan 11, 2021 3:50 amYou can use the Google Analytics field (Extensions > Extensions > Analytics > Google Analytics) to use the javascript code of the Open Web Analytics. This will place the script in the header file.
If you need to add PHP code, then use the file catalog/controller/common/header.php
Attachments
Screenshot_2021-01-12 Open Web Analytics - Dashboard.png (30.67 KiB) Viewed 861 times
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Thank you @johnp, let me try it.johnp wrote: ↑Tue Jan 12, 2021 10:56 pmHow about using this extension?
https://www.opencart.com/index.php?rout ... _license=0
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
@johnp I think it could be a bug with Open Web Analytics, because it looks like the tracking is occurring but it is not reflecting in Admin Dashboard Page.johnp wrote: ↑Tue Jan 12, 2021 10:56 pmHow about using this extension?
https://www.opencart.com/index.php?rout ... _license=0
Attachments
owa log 1.png (64.38 KiB) Viewed 820 times
owa log 0.png (58.05 KiB) Viewed 820 times
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
You mean in the OWA dashboard? What's your Opencart site URL?fegdeed wrote: ↑Tue Jan 12, 2021 11:51 pm@johnp I think it could be a bug with Open Web Analytics, because it looks like the tracking is occurring but it is not reflecting in Admin Dashboard Page.johnp wrote: ↑Tue Jan 12, 2021 10:56 pmHow about using this extension?
https://www.opencart.com/index.php?rout ... _license=0
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Yes in the OWA dashboard. https://deehaven.comjohnp wrote: ↑Wed Jan 13, 2021 12:51 amYou mean in the OWA dashboard? What's your Opencart site URL?fegdeed wrote: ↑Tue Jan 12, 2021 11:51 pm@johnp I think it could be a bug with Open Web Analytics, because it looks like the tracking is occurring but it is not reflecting in Admin Dashboard Page.johnp wrote: ↑Tue Jan 12, 2021 10:56 pmHow about using this extension?
https://www.opencart.com/index.php?rout ... _license=0
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Thanks @Johnp for your help, I forgot to disable the one for Google Analytics lol.
That makes sense, I had assumed it was going to be instant lol .
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Users browsing this forum: No registered users and 224 guests