Pixel Manager for WooCommerce – Track Google Analytics, Google Ads, Facebook and more - Version 1.18.1

Version Description

04.08.2022

  • Fix: Fixed the test which checks if Facebook CAPI is enabled.
  • Fix: Fixed a division by zero error when no conversions have been tracked yet.
Download this release

Release Info

Developer alekv
Plugin Icon 128x128 Pixel Manager for WooCommerce – Track Google Analytics, Google Ads, Facebook and more
Version 1.18.1
Comparing to
See all releases

Code changes from version 1.18.0 to 1.18.1

Files changed (3) hide show
  1. classes/admin/class-debug-info.php +10 -1
  2. readme.txt +8 -2
  3. wgact.php +2 -2
classes/admin/class-debug-info.php CHANGED
@@ -195,7 +195,16 @@ class Debug_Info {
195
  $html .= PHP_EOL;
196
  }
197
 
198
- $html .= "\t" . $order_count_measured . "\t" . ' of ' . "\t" . $order_count_total . "\t" . ' = ' . round( $order_count_measured / $order_count_total * 100 ) . '%' . "\t" . 'total';
 
 
 
 
 
 
 
 
 
199
  $html .= PHP_EOL;
200
 
201
  return $html;
195
  $html .= PHP_EOL;
196
  }
197
 
198
+ $html .= "\t" . $order_count_measured . "\t" . ' of ' . "\t" . $order_count_total . "\t" . ' = ';
199
+
200
+ if ($order_count_total > 0) {
201
+ $html .= round($order_count_measured / $order_count_total * 100);
202
+ } else {
203
+ $html .= '0';
204
+ }
205
+
206
+ $html .= '%' . "\t" . 'total';
207
+
208
  $html .= PHP_EOL;
209
 
210
  return $html;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, google ads, google analytics, facebook pixel, conversion trac
4
  Requires at least: 3.7
5
  Tested up to: 6.0
6
  Requires PHP: 7.3
7
- Stable tag: 1.18.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -198,10 +198,16 @@ You can send the link to the front page of your shop too if you think it would b
198
 
199
  == Changelog ==
200
 
 
 
 
 
 
201
  = 1.18.0 = 03.08.2022
202
 
203
 
204
- * New: Switched all server request to use the REST API with AJAX fallback. Much faster. Reduces server load by approx. 30%.
 
205
  * Tweak: Added WP memory limit to the debug information.
206
  * Tweak: Added safeguard for CLV output on low memory systems.
207
  * Tweak: Abort reporting of a subscription order to GA through the MP if it was created manually, and thus no parent order exists.
4
  Requires at least: 3.7
5
  Tested up to: 6.0
6
  Requires PHP: 7.3
7
+ Stable tag: 1.18.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
198
 
199
  == Changelog ==
200
 
201
+ = 1.18.1 = 04.08.2022
202
+
203
+ * Fix: Fixed the test which checks if Facebook CAPI is enabled.
204
+ * Fix: Fixed a division by zero error when no conversions have been tracked yet.
205
+
206
  = 1.18.0 = 03.08.2022
207
 
208
 
209
+ * New: Switched all server requests to use the REST API with AJAX fallback. Much faster. Reduces server load by approx. 30%.
210
+
211
  * Tweak: Added WP memory limit to the debug information.
212
  * Tweak: Added safeguard for CLV output on low memory systems.
213
  * Tweak: Abort reporting of a subscription order to GA through the MP if it was created manually, and thus no parent order exists.
wgact.php CHANGED
@@ -10,7 +10,7 @@
10
  * Developer URI: https://sweetcode.com
11
  * Text Domain: woocommerce-google-adwords-conversion-tracking-tag
12
  * Domain path: /languages
13
- * * Version: 1.18.0
14
  *
15
  * WC requires at least: 3.7
16
  * WC tested up to: 6.6
@@ -19,7 +19,7 @@
19
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
20
  *
21
  **/
22
- const WPM_CURRENT_VERSION = '1.18.0' ;
23
  // TODO export settings function
24
  // TODO add option checkbox on uninstall and ask if user wants to delete options from db
25
 
10
  * Developer URI: https://sweetcode.com
11
  * Text Domain: woocommerce-google-adwords-conversion-tracking-tag
12
  * Domain path: /languages
13
+ * * Version: 1.18.1
14
  *
15
  * WC requires at least: 3.7
16
  * WC tested up to: 6.6
19
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
20
  *
21
  **/
22
+ const WPM_CURRENT_VERSION = '1.18.1' ;
23
  // TODO export settings function
24
  // TODO add option checkbox on uninstall and ask if user wants to delete options from db
25