Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
7287 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
6
feb 21
9899
3
ott 17
6976
2
nov 15
5830
3
lug 24
6096
3
lug 25
2067