Plugin Directory

Changeset 1045331


Ignore:
Timestamp:
12/15/2014 11:20:40 PM (11 years ago)
Author:
nmarks
Message:

Preparing for 1.5.0 release

Location:
gravity-forms-google-analytics-event-tracking/trunk
Files:
29 added
2 edited

Legend:

Unmodified
Added
Removed
  • gravity-forms-google-analytics-event-tracking/trunk/README.txt

    r1037896 r1045331  
    11=== Gravity Forms Google Analytics Event Tracking ===
    2 Contributors: nmarks, ronalfy
     2Contributors: nmarks
    33Tags: gravity forms, google analytics, event tracking
    44Requires at least: 3.5.2
    55Tested up to: 4.1
    6 Stable tag: 1.4.5
     6Stable tag: 1.5.0
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2020- Automatically send form submission events to Google Analytics
    2121- Custom event categories, actions, labels and even values
    22 - Dynamic event value on payment forms (integration with the payment add-ons including Paypal Standard)
     22- Dynamic event value on payment forms (integration with the payment add-ons including Paypal Standard, PayPal Pro, Stripe, etc...)
    2323- Awesomeness
    2424
    2525= Configuration =
    26 After installing, you setup your UA ID in the Event Tracking tab on Gravity Forms' settings page and then customize your event category/action/label/value on the form settings page (see screenshots for more information).
     26After installing, you setup your UA ID in the Event Tracking tab on Gravity Forms' settings page and then customize your event category/action/label/value on the form event tracking settings page (see screenshots for more information).
    2727
    2828For payment based forms, you can leave the value blank to convert using the total payment amount.
     
    3535= Minimum Requirements =
    3636- PHP 5.3+
    37 - Gravity Forms 1.7+
     37- Gravity Forms 1.8+
    3838
    3939= Using The WordPress Dashboard =
     
    7777== Changelog ==
    7878
     79= 1.5.0 =
     80* Moved the form specific settings to their own tab.
     81* Re-structured the plugin code to fall in line with the official Gravity Forms plugins.
     82* Added a disable option to prevent a form from tracking any events.
     83* Added merge tag (choose a form field dropdown) to the settings fields for more dynamic tracking capabilities.
     84
    7985= 1.4.5 =
    8086* Fixed a bug where the source/medium was not being tracked correctly for PayPal Standard IPN Notification based conversions.
  • gravity-forms-google-analytics-event-tracking/trunk/gravity-forms-event-tracking.php

    r1037896 r1045331  
    1111 * Plugin URI:        https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/
    1212 * Description:       Add Google Analytics event tracking to your Gravity Forms with ease.
    13  * Version:           1.4.5
     13 * Version:           1.5.0
    1414 * Author:            Nathan Marks
    1515 * Author URI:        http://www.nvisionsolutions.ca
     
    2626}
    2727
    28 /*----------------------------------------------------------------------------*
    29  * Public-Facing Functionality
    30  *----------------------------------------------------------------------------*/
     28class Gravity_Forms_Event_Tracking_Bootstrap {
    3129
    32 require_once( plugin_dir_path( __FILE__ ) . 'public/class-gravity-forms-event-tracking.php' );
     30    public static function load(){
    3331
    34 add_action( 'plugins_loaded', array( 'Gravity_Forms_Event_Tracking', 'get_instance' ) );
     32        if ( ! method_exists( 'GFForms', 'include_addon_framework' ) ) {
     33            return;
     34        }
    3535
     36        require_once( plugin_dir_path( __FILE__ ) . 'includes/class-gravity-forms-event-tracking.php' );
    3637
    37 /*----------------------------------------------------------------------------*
    38  * Dashboard and Administrative Functionality
    39  *----------------------------------------------------------------------------*/
     38        GFAddOn::register( 'Gravity_Forms_Event_Tracking' );
    4039
    41 /*
    42  *
    43  * The code below is intended to to give the lightest footprint possible.
    44  */
    45 if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
    46 
    47     require_once( plugin_dir_path( __FILE__ ) . 'admin/class-gravity-forms-event-tracking-admin.php' );
    48     require_once( plugin_dir_path( __FILE__ ) . 'admin/class-gravity-forms-event-tracking-addon.php' );
    49     add_action( 'plugins_loaded', array( 'Gravity_Forms_Event_Tracking_Admin', 'get_instance' ) );
     40    }
    5041
    5142}
     43
     44add_action( 'gform_loaded', array( 'Gravity_Forms_Event_Tracking_Bootstrap', 'load' ), 5 );
Note: See TracChangeset for help on using the changeset viewer.