This question has been flagged
3 Replies
5901 Views

I'm trying to use the Google analytics module to track actions inside of odoo but it's not working.
I looked through the code of the pages for the tag with tracking code but I didn't find it.

I double checked the configuration on Google Analytics website and I added the Tracking ID in the Odoo's module but it's still not working. I checked the module's code and it adds the js code in the assets_backend template, so it should work.
Does someone have the same problem? or does someone know about this issue?

Avatar
Discard
Best Answer

Which version ?

Itshould be present on the website only, and if you are not logged with access right to edit the website (avoid noise in google anlaytics)...

website and website.google_analytics_key and not editable
Avatar
Discard
Author

Thanks! I was thinking something like this but I needed to confirme.

Best Answer

You could do that kind of tracking with the manual use of the ga api, you will need to extends Odoo action manager class to use the ga manual tracking that fulfill your needs as described here:

https://mjau-mjau.com/blog/ajax-universal-analytics/

You could extends the action manager or also jsonrpc calls to add the tracking needed 

Avatar
Discard