Gravity Forms tracking by Avidly
Force GF forms to use AJAX and pass data to Google Tag Manager for tracking.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/avidlywordpress/avidly-gf-tracking/archive/refs/heads/main.zipReadme
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