跳至内容
菜单
此问题已终结
3 回复
7228 查看

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?

形象
丢弃
最佳答案

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
形象
丢弃
编写者

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

最佳答案

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 

形象
丢弃
相关帖文 回复 查看 活动
6
2月 21
9830
3
10月 17
6934
2
11月 15
5791
3
7月 24
6011
3
7月 25
2022