PLX Lead Reporting Plugin
Speeds up Google Tag Manager integration and provides dataLayer functions for Contact Form 7 integration.
Speeds up Google Tag Manager integration by providing customisable and importable GTM JSON, adding tag manager scripts to the header & body and setting up Javascript dataLayer functions for Contact Form 7 integration.
Installation
- Upload the plugin files to the
/wp-content/plugins/plx-reporting
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the \’Plugins\’ screen in WordPress.
- After successful activation go to the Reporting screen and enter your Google Tag Manager and Analytics information.
- Click on the Generate JSON button to display JSON.
- Download the .json file on your local computer and then import into your Google Tag Manager account
Screenshots
Admin credentials for adding Google Tag Manager/Analytics IDs and inline scripts
Configuring JSON dynamically for import into Google Tag Manager
Exported JSON for use in Google Tag Manager
Changelog
1.0.0
1.0.1
1.0.2
- Fixed issue with incorrect Analytics ID in JSON export
- Fixed validation for GTM Account IDs
1.0.3
- Added Form ID variable to the tag eventAction so it now outputs ‘submission {{PLX – FORM ID}}’
2
- Intergration for GA4.
- Simplified UI
- Downloadable JSON files
- Selectable form type(lead or non-lead) within CF7
- Optional notification emails sent each time a CF7 form is updated.
2.1
- Set all forms without type to lead on install.