AMP Google Analytics 4 Support

Description

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

Screenshots

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

Installation

  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.

FAQ

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.

Reviews

Òkúdù 23, 2023
I can’t believe there’s no official support for GA4 on AMP.
Èrèlé 8, 2023
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!
Ọwẹ́wẹ̀ 30, 2022
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!
Read all 4 reviews

Contributors & Developers

“AMP Google Analytics 4 Support” is open source software. The following people have contributed to this plugin.

Contributors

“AMP Google Analytics 4 Support” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “AMP Google Analytics 4 Support” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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