如何在Google Analytics中跟踪你的网站流量¶
警告
Google deprecated Universal Analytics which won’t be supported anymore in July 2023. They are replacing it with Analytics 4.
New accounts are already using it, but accounts created before October 2020 are most likely still using Universal Analytics.
Odoo 15.0 is already adapted and ready for Analytics 4. After July 2023, if you want to use Google Analytics tracking in versions before 15.0, you will need to insert the GA tracker code manually, instead of entering your GA key in the Odoo settings.
用Google Analytics跟踪网站流量的方法如下:
`如果没有Google Analytics账号,先到<https://www.google.com/analytics/>`__ 创建一个。
填写完新建表格后,接受用户条款并获得跟踪ID号。
将这个跟踪ID插入到Odoo。
进Odoo网址App的 配置 模式,在设置中打开Google Analytics并粘贴此跟踪ID号,保存页面。
在Google Analytics中的首次操作请参阅 Google文档。