Implement Google event tracking for Freeform form submissions
To install Freeform Event Tracking, follow these steps:
- Download & unzip the file and place the
freeformeventtracking
directory into yourcraft/plugins
directory - -OR- do a
git clone https://github.com/sparkison/freeformeventtracking.git
directly into yourcraft/plugins
folder. You can then update it withgit pull
- -OR- install with Composer via
composer require sparkison/freeformeventtracking
- Install plugin in the Craft Control Panel under Settings > Plugins
- The plugin folder should be named
freeformeventtracking
for Craft to see it. GitHub recently started appending-master
(the branch name) to the name of the folder for zip file downloads.
Freeform Event Tracking works on Craft 2.4.x and Craft 2.5.x.
Allows for sending custom events to Google upon successful form submission. Will not send subsequent event if form is being updated. Includes ability to only send events for specific forms by form id.
Navigate to Settings > Freeform Event Tracking to configure.
Once configured, you should be good to go! Events will now be sent to Google upon successfuly form submission.
Currently the event response is logged to the database. Will be adding an additional tab to review the log at some point...
- Release it
Brought to you by https://nerdymind.com/