简体   繁体   中英

Google Analytics on AMP-Pages without cookies

Is it possible to use Google Analytics on AMP (Accelerated Mobile Pages) Pages without cookies?

If yes, how should it be configured?

Because of the General Data Protection Regulation (EU) 2016/679 (GDPR) the user of a website has to give its consent to store (tracking)-data on users computer. We want to use Google Analytics on AMP (Accelerated Mobile Pages) anyway. Currently we doing it with <amp-pixel> and the analytics API, but this is only a superficial tracking. Is it possible to use <amp-analytics> and disable cookie like the "desktop-version" of the analytics-script?

Thanks, for help

这可能会有所帮助: https ://amp.dev/documentation/components/amp-consent/ 文档提供了一个示例,说明如何将amp-consentamp-analytics一起使用

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM