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