Changeset 2819367
- Timestamp:
- 11/16/2022 11:12:42 PM (3 years ago)
- Location:
- gtm-ecommerce-woo/trunk
- Files:
-
- 4 edited
-
gtm-ecommerce-woo.php (modified) (2 diffs)
-
js/admin.js (modified) (1 diff)
-
lib/Service/SettingsService.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gtm-ecommerce-woo/trunk/gtm-ecommerce-woo.php
r2773699 r2819367 4 4 * Plugin URI: https://wordpress.org/plugins/gtm-ecommerce-woo 5 5 * Description: Push WooCommerce eCommerce (GA4 and UA compatible) information to GTM DataLayer. Use any GTM integration to measure your customers' activities. 6 * Version: 1.10. 56 * Version: 1.10.6 7 7 * Author: Handcraft Byte 8 8 * Author URI: https://handcraftbyte.com/ … … 13 13 * 14 14 * WC requires at least: 4.0 15 * WC tested up to: 6.8.115 * WC tested up to: 7.1.0 16 16 */ 17 17 -
gtm-ecommerce-woo/trunk/js/admin.js
r2773695 r2819367 3 3 function getPresets() { 4 4 return $.ajax({ 5 url: 'https://api.tagconcierge.com/v2/presets '5 url: 'https://api.tagconcierge.com/v2/presets?filter=' + params.filter + '&uuid=' + params.uuid 6 6 }); 7 7 // return $.ajax({ -
gtm-ecommerce-woo/trunk/lib/Service/SettingsService.php
r2773695 r2819367 18 18 $this->pluginVersion = $pluginVersion; 19 19 $this->allowServerTracking = false; 20 $this->filter = 'basic'; 20 21 } 21 22 … … 96 97 wp_enqueue_style( 'wp-pointer' ); 97 98 wp_enqueue_script( 'gtm-ecommerce-woo-admin', plugin_dir_url( __DIR__ . '/../../../' ) . 'js/admin.js', [], $this->pluginVersion ); 99 wp_add_inline_script( 'gtm-ecommerce-woo-admin', "var params = " 100 . json_encode([ 101 'filter' => $this->filter, 102 'uuid' => $this->wpSettingsUtil->getOption( 'uuid' ) 103 ]), 'before'); 98 104 } 99 105 -
gtm-ecommerce-woo/trunk/readme.txt
r2773699 r2819367 3 3 Tags: google tag manager, GA4, ecommerce events, Google Analytics, Facebook Pixel, shopping behavior 4 4 Requires at least: 5.1.0 5 Tested up to: 6. 0.15 Tested up to: 6.1.1 6 6 Requires PHP: 7.2 7 7 Stable tag: trunk … … 118 118 == Changelog == 119 119 120 = 1.10.6 = 121 122 * tested against latest versions of WordPress and WooCommerce 123 120 124 = 1.10.5 = 121 125
Note: See TracChangeset
for help on using the changeset viewer.