Plugin Directory

Changeset 2819367


Ignore:
Timestamp:
11/16/2022 11:12:42 PM (3 years ago)
Author:
handcraftbyte
Message:

Test against latest WooCommerce and update links

Location:
gtm-ecommerce-woo/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • gtm-ecommerce-woo/trunk/gtm-ecommerce-woo.php

    r2773699 r2819367  
    44 * Plugin URI:  https://wordpress.org/plugins/gtm-ecommerce-woo
    55 * 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.5
     6 * Version:     1.10.6
    77 * Author:      Handcraft Byte
    88 * Author URI:  https://handcraftbyte.com/
     
    1313 *
    1414 * WC requires at least: 4.0
    15  * WC tested up to: 6.8.1
     15 * WC tested up to: 7.1.0
    1616 */
    1717
  • gtm-ecommerce-woo/trunk/js/admin.js

    r2773695 r2819367  
    33    function getPresets() {
    44        return $.ajax({
    5             url: 'https://api.tagconcierge.com/v2/presets'
     5            url: 'https://api.tagconcierge.com/v2/presets?filter=' + params.filter + '&uuid=' + params.uuid
    66        });
    77        // return $.ajax({
  • gtm-ecommerce-woo/trunk/lib/Service/SettingsService.php

    r2773695 r2819367  
    1818        $this->pluginVersion = $pluginVersion;
    1919        $this->allowServerTracking = false;
     20        $this->filter = 'basic';
    2021    }
    2122
     
    9697        wp_enqueue_style( 'wp-pointer' );
    9798        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');
    98104    }
    99105
  • gtm-ecommerce-woo/trunk/readme.txt

    r2773699 r2819367  
    33Tags: google tag manager, GA4, ecommerce events, Google Analytics, Facebook Pixel, shopping behavior
    44Requires at least: 5.1.0
    5 Tested up to: 6.0.1
     5Tested up to: 6.1.1
    66Requires PHP: 7.2
    77Stable tag: trunk
     
    118118== Changelog ==
    119119
     120= 1.10.6 =
     121
     122* tested against latest versions of WordPress and WooCommerce
     123
    120124= 1.10.5 =
    121125
Note: See TracChangeset for help on using the changeset viewer.