DuracellTomi's Google Tag Manager for WordPress - Version 1.1.1

Version Description

  • Fixed: PHP errors in frontend.php and admin.php
Download this release

Release Info

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

Code changes from version 1.1 to 1.1.1

admin/admin.php CHANGED
@@ -395,7 +395,8 @@ $GLOBALS["gtm4wp_integratefieldtexts"] = array(
395
  GTM4WP_OPTION_INTEGRATE_WCREMARKETINGSKU => array(
396
  "label" => __( "Use SKU instead of ID", GTM4WP_TEXTDOMAIN ),
397
  "description" => __( "Check this to use product SKU in the dynamic remarketing variables instead of the ID of the products. Will fallback to ID if no SKU is set.", GTM4WP_TEXTDOMAIN ),
398
- "phase" => GTM4WP_PHASE_EXPERIMENTAL
 
399
  )
400
  );
401
 
395
  GTM4WP_OPTION_INTEGRATE_WCREMARKETINGSKU => array(
396
  "label" => __( "Use SKU instead of ID", GTM4WP_TEXTDOMAIN ),
397
  "description" => __( "Check this to use product SKU in the dynamic remarketing variables instead of the ID of the products. Will fallback to ID if no SKU is set.", GTM4WP_TEXTDOMAIN ),
398
+ "phase" => GTM4WP_PHASE_EXPERIMENTAL,
399
+ "plugintocheck" => "woocommerce/woocommerce.php"
400
  )
401
  );
402
 
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: 1.1
5
  Plugin URI: https://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: https://duracelltomi.com/
9
  */
10
 
11
- define( 'GTM4WP_VERSION', '1.1' );
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: 1.1.1
5
  Plugin URI: https://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: https://duracelltomi.com/
9
  */
10
 
11
+ define( 'GTM4WP_VERSION', '1.1.1' );
12
  define( 'GTM4WP_PATH', plugin_dir_path( __FILE__ ) );
13
  define( 'GTM4WP_TEXTDOMAIN', 'gtm4wp-lang' );
14
 
public/frontend.php CHANGED
@@ -546,6 +546,8 @@ function gtm4wp_wp_header_end() {
546
  }
547
 
548
  function gtm4wp_body_class( $classes ) {
 
 
549
  // solution is based on the code of Yaniv Friedensohn
550
  // http://www.affectivia.com/blog/placing-the-google-tag-manager-in-wordpress-after-the-body-tag/
551
  if ( GTM4WP_PLACEMENT_BODYOPEN_AUTO == $gtm4wp_options[ GTM4WP_OPTION_GTM_PLACEMENT ] ) {
546
  }
547
 
548
  function gtm4wp_body_class( $classes ) {
549
+ global $gtm4wp_options;
550
+
551
  // solution is based on the code of Yaniv Friedensohn
552
  // http://www.affectivia.com/blog/placing-the-google-tag-manager-in-wordpress-after-the-body-tag/
553
  if ( GTM4WP_PLACEMENT_BODYOPEN_AUTO == $gtm4wp_options[ GTM4WP_OPTION_GTM_PLACEMENT ] ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://duracelltomi.com/
4
  Tags: google tag manager, tag manager, gtm, google, adwords, google adwords, adwords remarketing, remarketing, google analytics, analytics
5
  Requires at least: 3.0.1
6
  Tested up to: 4.2.1
7
- Stable tag: 1.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
@@ -286,6 +286,10 @@ If you or your social plugin inserts the Facebook buttons using IFRAMEs (like So
286
 
287
  == Changelog ==
288
 
 
 
 
 
289
  = 1.1 =
290
 
291
  * Added: track embedded YouTube/Vimeo/Soundcloud videos (experimental)
@@ -403,6 +407,14 @@ Please report all bugs found in my plugin using the [contact form on my website]
403
 
404
  == Upgrade Notice ==
405
 
 
 
 
 
 
 
 
 
406
  = 1.0 =
407
 
408
  First stable release, please read changelog for details!
4
  Tags: google tag manager, tag manager, gtm, google, adwords, google adwords, adwords remarketing, remarketing, google analytics, analytics
5
  Requires at least: 3.0.1
6
  Tested up to: 4.2.1
7
+ Stable tag: 1.1.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
286
 
287
  == Changelog ==
288
 
289
+ = 1.1.1 =
290
+
291
+ * Fixed: PHP errors in frontend.php and admin.php
292
+
293
  = 1.1 =
294
 
295
  * Added: track embedded YouTube/Vimeo/Soundcloud videos (experimental)
407
 
408
  == Upgrade Notice ==
409
 
410
+ = 1.1.1 =
411
+
412
+ This is a bugfix release to address some issues with v1.1
413
+
414
+ = 1.1 =
415
+
416
+ New! Track popular media players embedded into your website!
417
+
418
  = 1.0 =
419
 
420
  First stable release, please read changelog for details!