Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/avidlywordpress/avidly-gf-tracking/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Gravity-Forms-tracking
Force GF forms to use AJAX and pass data to Google Tag Manager for tracking.
How it works
- Manipulate AJAX value for $form_args with 'gform_form_args' filter.
- Run dataLayer push script on AJAX forms $confirmation 'gform_confirmation'. Detects text and redirect based confirmations.
Usage
Download the plugin and activate it.
Translating with WP Cli
- Go to theme folder with SSH:
cd wp-content/plugins/avidly-gf-tracking - Create or update POT file:
wp i18n make-pot ./ languages/avidly-gf-tracking.pot - Open your PO file(s) with PoEdit & select from toolbar: Translation -> Update from POT file...
- Make your translations changes & save files