=== Gravity Forms Google Analytics Event Tracking === Contributors: nmarks, ronalfy Tags: gravity forms, google analytics, event tracking Requires at least:4.0 Tested up to: 4.6 Stable tag: 1.7.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Donate link: https://mediaron.com/contribute/ Add Google Analytics Event Tracking to your Gravity Forms in less than 5 minutes! Requires PHP 5.3+. == Description == This plugin provides an easy way to add Google Analytics event tracking to your Gravity Forms, allowing you to properly track form submissions as events/conversions within Google Analytics. = Setup Guide = Looking for help setting things up? [Read My Setup Guide](http://nvis.io/x8fld) = Minimum Requirements = - PHP 5.3+ - Gravity Forms 1.8.20+ - Google Analytics Universal Analytics (classic is not supported by Google's new fancy stuff this plugin leverages) = Features = - Automatically send form submission events to Google Analytics - Add multiple event feeds with conditionals - Custom event categories, actions, labels and even values - Dynamic event value on payment forms (integration with the payment add-ons including Paypal Standard, PayPal Pro, Stripe, etc...) - Awesomeness = Configuration = If you meet all the requirements of this plugin, you can simply install this plugin in your WordPress plugins folder. Once this plugin is activated, you can browse to the Gravity Forms settings and find a new sub-menu item called Event Tracker. There, you will enter your Google Analytics Tracking Code. The plugin provides some default event categories, labels, and actions. You can override these per form by going into the individual form's settings. Within Google Analytics, you will want to set up an event-based goal and match the event label, event category, and event action with the ones you set up. On each form, you need to make sure to setup an Event Tracking Feed. Open each forms settings, go to the "Event Tracking" section, and set one up. Leave the fields blank to use the default values. For payment based forms, you can leave the value blank to convert using the total payment amount. = Hooks/Filters = Check out the documentation on [github](https://github.com/ronalfy/wordpress-gravity-forms-event-tracking) == Installation == = Minimum Requirements = - PHP 5.3+ - Gravity Forms 1.8.20+ = Using The WordPress Dashboard = 1. Navigate to the 'Add New' in the plugins dashboard 2. Search for gravity-forms-google-analytics-event-tracking 3. Click 'Install Now' 4. Activate the plugin on the Plugin dashboard = Uploading in WordPress Dashboard = 1. Navigate to the 'Add New' in the plugins dashboard 2. Navigate to the 'Upload' area 3. Select `gravity-forms-event-tracking.zip` from your computer 4. Click 'Install Now' 5. Activate the plugin in the Plugin dashboard = Using FTP = 1. Download `gravity-forms-event-tracking.zip` 2. Extract the `gravity-forms-event-tracking` directory to your computer 3. Upload the `gravity-forms-event-tracking` directory to the `/wp-content/plugins/` directory 4. Activate the plugin in the Plugin dashboard == Frequently Asked Questions == = How do I configure the event category, action and label for the form? = Looking for help setting things up? [Read My Setup Guide](http://nvis.io/x8fld) = Are there any filters/hooks? = Check out the documentation on [github](https://github.com/ronalfy/wordpress-gravity-forms-event-tracking) == Screenshots == 1. The Gravity Forms setting screen where you setup your UA ID. 2. The form settings feed list. 3. The feed settings page == Changelog == = 1.7.3 = * Bugfix - Some users were experiencing PHP fatal errors upon form submission. Reverting to previously used library. = 1.7.1 = * Released 2016-03-28 * Hotfix - Removing SSL requirement. Needs more testing. = 1.7.0 = * Released 2016-03-28 * Plugin will now display an error if an incompatible version of PHP is installed. * Bug Fix: Plugin no longer shows a notice if a UA code isn't set * Bug Fix: Plugin will now trigger events if a UA code is set in the feed but not in the settings * Enhancement: Document Path will now be set as part of event creation * Enhancement: Measurement protocol updated * Enhancement: Measurement protocol will not detect SSL and use the appropriate protocol = 1.6.5 = * Released 2015-12-11 * Ability to add multiple UA codes in the feed settings. = 1.6.4 = * Released 2015-09-22 * Testing with WordPress 4.3. * Better internationalization = 1.6.3 = * Released 2015-02-10 * Integration with members plugin = 1.6.2 = * Released 2015-02-06 * Fixed bug where manual event values were not sent properly. = 1.6.1 = * Released 2015-01-28 * Hotfix to remove echo'd text bug = 1.6.0 = * Released 2015-01-25 * Refactored the plugin to use feeds. Now you can have multiple feeds with conditions! = 1.5.5 = * Released 2015-01-19 * Hotfix for issue with paypal standard converting early = 1.5.3 = * Released 2014-12-20 * Ensured page title and location are properly being sent to Google = 1.5.2 = * Released 2014-12-16 * Hotfix for PHP strict standards warning = 1.5.0 = * Released 2014-12-15 * Moved the form specific settings to their own tab. * Re-structured the plugin code to fall in line with the official Gravity Forms plugins. * Added a disable option to prevent a form from tracking any events. * Added merge tag (choose a form field dropdown) to the settings fields for more dynamic tracking capabilities. = 1.4.5 = * Released 2014-12-04 * Fixed a bug where the source/medium was not being tracked correctly for PayPal Standard IPN Notification based conversions. = 1.4.4 = * Released 2014-12-03 * Added some information to the event settings section = 1.4.3 = * Released 2014-12-02 * Fixed backwards-compat issue = 1.4 = * Released 2014-12-01- * Added value for events * Properly integrated with payment based forms = 1.3 = * Properly integrated with Gravity Forms settings API (thanks ronalfy!) * Enabled custom category/action/label on a per form basis. == Upgrade Notice == = 1.7.3 = Bugfix - Some users were experiencing PHP fatal errors upon form submission. Reverting to previously used library. = 1.7.1 = Removing SSL requirement. Needs more testing. = 1.7.0 = Updates to measurement protocol. Friendly notices for incompatible PHP versions and no UA codes. = 1.6.5 = Ability to add multiple UA codes in the feed settings = 1.6.4 = WordPress 4.3 compatibility and better internationalization.