AMP Google Analytics 4 Support

May 29, 2024

AMP Google Analytics 4 Support Plugin

A WordPress plugin to add GA4 - Google Analytics 4 Support to AMP - Accelerated Mobile Pages.

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

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.

Screenshots

  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.

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.

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

Details

  • Version: 1.1.6
  • Active installations: 300
  • WordPress Version: 4.9
  • Tested up to: 6.5.5
  • PHP Version: 5.6

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars