DuracellTomi's Google Tag Manager for WordPress - Version 0.5.1

Version Description

  • Fixed: WooCommerce integration did not work on some environments
Download this release

Release Info

Developer duracelltomi
Plugin Icon 128x128 DuracellTomi's Google Tag Manager for WordPress
Version 0.5.1
Comparing to
See all releases

Code changes from version 0.5 to 0.5.1

duracelltomi-google-tag-manager-for-wordpress.php CHANGED
@@ -1,14 +1,14 @@
1
  <?php
2
  /*
3
  Plugin Name: Google Tag Manager for Wordpress
4
- Version: 0.5
5
  Plugin URI: http://www.duracelltomi.com/google-tag-manager-for-wordpress/
6
  Description: The first Google Tag Manager plugin for WordPress with business goals in mind
7
  Author: Thomas Geiger
8
  Author URI: http://www.duracelltomi.com/
9
  */
10
 
11
- define( 'GTM4WP_VERSION', '0.5' );
12
  define( 'GTM4WP_PATH', plugin_dir_path( __FILE__ ) );
13
  define( 'GTM4WP_TEXTDOMAIN', 'gtm4wp-lang' );
14
 
1
  <?php
2
  /*
3
  Plugin Name: Google Tag Manager for Wordpress
4
+ Version: 0.5.1
5
  Plugin URI: http://www.duracelltomi.com/google-tag-manager-for-wordpress/
6
  Description: The first Google Tag Manager plugin for WordPress with business goals in mind
7
  Author: Thomas Geiger
8
  Author URI: http://www.duracelltomi.com/
9
  */
10
 
11
+ define( 'GTM4WP_VERSION', '0.5.1' );
12
  define( 'GTM4WP_PATH', plugin_dir_path( __FILE__ ) );
13
  define( 'GTM4WP_TEXTDOMAIN', 'gtm4wp-lang' );
14
 
integration/woocommerce.php CHANGED
@@ -120,6 +120,6 @@ function gtm4wp_woocommerce_datalayer_filter_items( $dataLayer ) {
120
  }
121
 
122
  // do not add filter if someone enabled WooCommerce integration without an activated WooCommerce plugin
123
- if ( isset ( $woocommerce ) ) {
124
  add_filter( GTM4WP_WPFILTER_COMPILE_DATALAYER, "gtm4wp_woocommerce_datalayer_filter_items" );
125
  }
120
  }
121
 
122
  // do not add filter if someone enabled WooCommerce integration without an activated WooCommerce plugin
123
+ if ( isset ( $GLOBALS["woocommerce"] ) ) {
124
  add_filter( GTM4WP_WPFILTER_COMPILE_DATALAYER, "gtm4wp_woocommerce_datalayer_filter_items" );
125
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://duracelltomi.com/
4
  Tags: google tag manager, tag manager, google, adwords, google adwords, adwords remarketing, remarketing, google analytics, analytics
5
  Requires at least: 3.0.1
6
  Tested up to: 3.8
7
- Stable tag: 0.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
@@ -158,6 +158,10 @@ If you or your social plugin inserts the Facebook buttons using IFRAME-s (like S
158
 
159
  == Changelog ==
160
 
 
 
 
 
161
  = 0.5 =
162
  * Added: scroll tracking
163
  * Fixed: social tracking option on the admin panel was being shown as an edit box instead of a checbox
@@ -195,6 +199,10 @@ If you or your social plugin inserts the Facebook buttons using IFRAME-s (like S
195
 
196
  == Upgrade Notice ==
197
 
 
 
 
 
198
  = 0.5 =
199
  Besides of some fixes this version includes scroll tracking events for Google Tag Manager.
200
 
4
  Tags: google tag manager, tag manager, google, adwords, google adwords, adwords remarketing, remarketing, google analytics, analytics
5
  Requires at least: 3.0.1
6
  Tested up to: 3.8
7
+ Stable tag: 0.5.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
158
 
159
  == Changelog ==
160
 
161
+ = 0.5.1 =
162
+
163
+ * Fixed: WooCommerce integration did not work on some environments
164
+
165
  = 0.5 =
166
  * Added: scroll tracking
167
  * Fixed: social tracking option on the admin panel was being shown as an edit box instead of a checbox
199
 
200
  == Upgrade Notice ==
201
 
202
+ = 0.5.1 =
203
+
204
+ Bug fix release for WooCommerce users
205
+
206
  = 0.5 =
207
  Besides of some fixes this version includes scroll tracking events for Google Tag Manager.
208