Changeset 2980972
- Timestamp:
- 10/19/2023 03:03:34 AM (2 years ago)
- Location:
- cf7-google-analytics
- Files:
-
- 6 edited
- 1 copied
-
tags/1.8.10 (copied) (copied from cf7-google-analytics/trunk)
-
tags/1.8.10/cf7-google-analytics.php (modified) (2 diffs)
-
tags/1.8.10/inc/class-cf7-google-analytics.php (modified) (3 diffs)
-
tags/1.8.10/readme.txt (modified) (2 diffs)
-
trunk/cf7-google-analytics.php (modified) (2 diffs)
-
trunk/inc/class-cf7-google-analytics.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cf7-google-analytics/tags/1.8.10/cf7-google-analytics.php
r2978808 r2980972 5 5 * Description: Adds Google Analytics Event Tracking to all Contact Form 7 forms. 6 6 * Tags: contact form, contact form 7, cf7, contactform7, google analytics, ga, universal, forms, form, track, tracking, event, events, goal, goals 7 * Version: 1.8. 97 * Version: 1.8.10 8 8 * Author: Andrew Minion 9 9 * Author URI: https://www.andrewrminion.com … … 25 25 } 26 26 27 define( 'CF7GA_PLUGIN_VERSION', '1.8.10' ); 28 27 29 /** Include the main class. */ 28 30 if ( ! class_exists( 'CF7_Google_Analytics' ) ) { -
cf7-google-analytics/tags/1.8.10/inc/class-cf7-google-analytics.php
r2978808 r2980972 14 14 */ 15 15 class CF7_Google_Analytics { 16 16 17 /** 17 18 * Plugin version … … 19 20 * @var string 20 21 */ 21 public $version = '1.8.7';22 public $version = CF7GA_PLUGIN_VERSION; 22 23 23 24 /** … … 195 196 public function enqueue_assets() { 196 197 wp_enqueue_script( 'wpcf7-ga-events', $this->get_plugin_dir_url() . 'js/cf7-google-analytics.min.js', array( 'contact-form-7' ), $this->version, true ); 197 wp_add_inline_script( 'wpcf7-ga-events', 'var cf7GASendActions = ' . wp_json_encode( $this->get_send_actions( 'all' ) ) . ', cf7FormIDs = ' . $this->get_form_ids() , 'before' );198 wp_add_inline_script( 'wpcf7-ga-events', 'var cf7GASendActions = ' . wp_json_encode( $this->get_send_actions( 'all' ) ) . ', cf7FormIDs = ' . $this->get_form_ids() . ';', 'before' ); 198 199 } 199 200 -
cf7-google-analytics/tags/1.8.10/readme.txt
r2978808 r2980972 5 5 Requires at least: 4.3 6 6 Tested up to: 6.3.0 7 Stable tag: 1.8. 97 Stable tag: 1.8.10 8 8 License: GPL2 9 9 … … 101 101 == Changelog == 102 102 103 = 1.8.10 = 104 - Fix issue with minified JS 105 103 106 = 1.8.9 = 104 107 - Fix undefined index issue in new installations -
cf7-google-analytics/trunk/cf7-google-analytics.php
r2978808 r2980972 5 5 * Description: Adds Google Analytics Event Tracking to all Contact Form 7 forms. 6 6 * Tags: contact form, contact form 7, cf7, contactform7, google analytics, ga, universal, forms, form, track, tracking, event, events, goal, goals 7 * Version: 1.8. 97 * Version: 1.8.10 8 8 * Author: Andrew Minion 9 9 * Author URI: https://www.andrewrminion.com … … 25 25 } 26 26 27 define( 'CF7GA_PLUGIN_VERSION', '1.8.10' ); 28 27 29 /** Include the main class. */ 28 30 if ( ! class_exists( 'CF7_Google_Analytics' ) ) { -
cf7-google-analytics/trunk/inc/class-cf7-google-analytics.php
r2978808 r2980972 14 14 */ 15 15 class CF7_Google_Analytics { 16 16 17 /** 17 18 * Plugin version … … 19 20 * @var string 20 21 */ 21 public $version = '1.8.7';22 public $version = CF7GA_PLUGIN_VERSION; 22 23 23 24 /** … … 195 196 public function enqueue_assets() { 196 197 wp_enqueue_script( 'wpcf7-ga-events', $this->get_plugin_dir_url() . 'js/cf7-google-analytics.min.js', array( 'contact-form-7' ), $this->version, true ); 197 wp_add_inline_script( 'wpcf7-ga-events', 'var cf7GASendActions = ' . wp_json_encode( $this->get_send_actions( 'all' ) ) . ', cf7FormIDs = ' . $this->get_form_ids() , 'before' );198 wp_add_inline_script( 'wpcf7-ga-events', 'var cf7GASendActions = ' . wp_json_encode( $this->get_send_actions( 'all' ) ) . ', cf7FormIDs = ' . $this->get_form_ids() . ';', 'before' ); 198 199 } 199 200 -
cf7-google-analytics/trunk/readme.txt
r2978808 r2980972 5 5 Requires at least: 4.3 6 6 Tested up to: 6.3.0 7 Stable tag: 1.8. 97 Stable tag: 1.8.10 8 8 License: GPL2 9 9 … … 101 101 == Changelog == 102 102 103 = 1.8.10 = 104 - Fix issue with minified JS 105 103 106 = 1.8.9 = 104 107 - Fix undefined index issue in new installations
Note: See TracChangeset
for help on using the changeset viewer.