DuracellTomi's Google Tag Manager for WordPress - Version 1.14.1

Version Description

  • Bugfixes
Download this release

Release Info

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

Code changes from version 1.14 to 1.14.1

duracelltomi-google-tag-manager-for-wordpress.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Google Tag Manager for Wordpress
4
- Version: 1.14
5
  Plugin URI: https://gtm4wp.com/
6
  Description: The first Google Tag Manager plugin for WordPress with business goals in mind
7
  Author: Thomas Geiger
@@ -10,10 +10,10 @@ Text Domain: duracelltomi-google-tag-manager
10
  Domain Path: /languages
11
 
12
  WC requires at least: 3.2
13
- WC tested up to: 5.3.0
14
  */
15
 
16
- define( 'GTM4WP_VERSION', '1.14' );
17
  define( 'GTM4WP_PATH', plugin_dir_path( __FILE__ ) );
18
 
19
  global $gtp4wp_plugin_url, $gtp4wp_plugin_basename;
1
  <?php
2
  /*
3
  Plugin Name: Google Tag Manager for Wordpress
4
+ Version: 1.14.1
5
  Plugin URI: https://gtm4wp.com/
6
  Description: The first Google Tag Manager plugin for WordPress with business goals in mind
7
  Author: Thomas Geiger
10
  Domain Path: /languages
11
 
12
  WC requires at least: 3.2
13
+ WC tested up to: 5.9.0
14
  */
15
 
16
+ define( 'GTM4WP_VERSION', '1.14.1' );
17
  define( 'GTM4WP_PATH', plugin_dir_path( __FILE__ ) );
18
 
19
  global $gtp4wp_plugin_url, $gtp4wp_plugin_basename;
integration/woocommerce.php CHANGED
@@ -590,7 +590,7 @@ function gtm4wp_woocommerce_datalayer_filter_items( $dataLayer ) {
590
  // that is because for a specific reason.
591
  // In any other case woocommerce_thankyou hook will be the fallback if
592
  // is_order_received_page does not work
593
- // $GLOBALS['gtm4wp_woocommerce_purchase_data_pushed'] = true;
594
 
595
  if(isset($order) && $gtm4wp_options[ GTM4WP_OPTION_INTEGRATE_WCORDERMAXAGE ] ){
596
 
@@ -1069,7 +1069,7 @@ function gtm4wp_woocommerce_get_product_list_item_extra_tag($product, $listtype,
1069
  $eec_product_array = gtm4wp_process_product( $product, array(
1070
  'productlink' => $permalink,
1071
  'listname' => $list_name,
1072
- 'listposition' => $itemix + ( $posts_per_page * ( $paged - 1 ) )
1073
  ), 'productlist' );
1074
 
1075
  if ( ! isset( $eec_product_array[ 'brand' ] ) ) {
590
  // that is because for a specific reason.
591
  // In any other case woocommerce_thankyou hook will be the fallback if
592
  // is_order_received_page does not work
593
+ $GLOBALS['gtm4wp_woocommerce_purchase_data_pushed'] = true;
594
 
595
  if(isset($order) && $gtm4wp_options[ GTM4WP_OPTION_INTEGRATE_WCORDERMAXAGE ] ){
596
 
1069
  $eec_product_array = gtm4wp_process_product( $product, array(
1070
  'productlink' => $permalink,
1071
  'listname' => $list_name,
1072
+ 'listposition' => (int) $itemix + ( $posts_per_page * ( $paged - 1 ) )
1073
  ), 'productlist' );
1074
 
1075
  if ( ! isset( $eec_product_array[ 'brand' ] ) ) {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: google tag manager, tag manager, gtm, google, adwords, google adwords, goo
5
  Requires at least: 3.4.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.8.2
8
- Stable tag: 1.14
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl.html
11
 
@@ -233,6 +233,10 @@ https://gtm4wp.com/how-to-articles/how-to-exclude-admin-users-from-being-tracked
233
 
234
  == Changelog ==
235
 
 
 
 
 
236
  = 1.14 =
237
 
238
  * Added: support for tracking WooCommerce Block based product lists, except the "All Products" block
@@ -738,6 +742,10 @@ Please report all bugs found in my plugin using the [contact form on my website]
738
 
739
  == Upgrade Notice ==
740
 
 
 
 
 
741
  = 1.14 =
742
 
743
  Initial support for WooCommerce Blocks, removed jQuery usage in JavaScript codes (except for WooCommerce related codes)
5
  Requires at least: 3.4.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.8.2
8
+ Stable tag: 1.14.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl.html
11
 
233
 
234
  == Changelog ==
235
 
236
+ = 1.14.1 =
237
+
238
+ * Bugfixes
239
+
240
  = 1.14 =
241
 
242
  * Added: support for tracking WooCommerce Block based product lists, except the "All Products" block
742
 
743
  == Upgrade Notice ==
744
 
745
+ = 1.14.1 =
746
+
747
+ Bugfix release
748
+
749
  = 1.14 =
750
 
751
  Initial support for WooCommerce Blocks, removed jQuery usage in JavaScript codes (except for WooCommerce related codes)