AMP Google Analytics 4 Support

描述

This is a simple plugin to add GA4 support to AMP and insert GA4 tags into your AMP WordPress pages or posts.

Description

This is a simple plugin to add GA4 support to AMP and insert GA4 tags into your AMP WordPress pages or posts.

*Requires the AMP Plugin

Credits

Roland Farkas – https://github.com/rolandfarkasCOM
David Vallejo – https://github.com/thyngster – https://github.com/analytics-debugger/google-analytics-4-for-amp/blob/main/ga4.json

屏幕截图

  • Backend screenshot showing the admin area.
  • Front end screenshot showing the script in the html.

安装

  1. Upload the plugin folder to your /wp-content/plugins/ folder or download the plugin using the plugin installer.
  2. Go to the Plugins page and activate the plugin.

常见问题

How do I use this plugin?

Simply insert your GA4 MEASUREMENT ID in to the form on the settings page.

UPDATE v1.1.1 – Added addittional options in the admin settings.

How to uninstall the plugin?

Simply deactivate and delete the plugin.

评价

2023 年 6 月 23 日
I can’t believe there’s no official support for GA4 on AMP.
2023 年 2 月 8 日
I’ve been looking for a way to add GA4 to AMP but non of the methods, did not work, but this does what it should do! thank you!
2022 年 9 月 30 日
Google Analytics 4 was easy to set up for my normal web pages; for my AMP it was a hell … until I found this simple plugin. Added it, enterd my GA 4 code and a day later saw the AMP pages show up im my results. Very happy with this!
阅读所有4条评价

贡献者及开发者

“AMP Google Analytics 4 Support” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「AMP Google Analytics 4 Support」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“AMP Google Analytics 4 Support”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Plugin released.

1.0.1

  • Updated Uninstall Process to purge data.
  • Corrected a file name.

1.0.2

  • Updated deactivate and insert

1.0.7

  • Updated Plugin Directory

1.0.8

  • Removed / from Plugin Directory

1.0.9

  • Added Support for AMP Reader Mode

1.1.1

  • Added more options in the admin settings

1.1.2

  • Fix session calculator

1.1.3

  • Fix Typo on the admin page