تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
7275 أدوات العرض

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
فبراير 21
9892
3
أكتوبر 17
6975
2
نوفمبر 15
5827
3
يوليو 24
6091
3
يوليو 25
2063