AMP Google Analytics 4 Support

Plugin Banner

AMP Google Analytics 4 Support

by Roland

Download
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

  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.
  1. Backend screenshot showing the admin area.

    Backend screenshot showing the admin area.

  2. Front end screenshot showing the script in the html.

    Front end screenshot showing the script in the html.

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.

Great

By PasqualePuzio on June 23, 2023

I can't believe there's no official support for GA4 on AMP.

Muito bom! Funciona perfeitamente.

By tudodemotos on June 12, 2023

Esse plugin deveria ser mais divulgado. This plugin needs to be more publicized.

Time saver!

By JAHM (hrsoft) on February 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!

Simply works as promissed

By jdevreede on September 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!

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
Back to top