Changeset 3453715
- Timestamp:
- 02/04/2026 10:51:36 AM (5 weeks ago)
- Location:
- metrion
- Files:
-
- 64 added
- 5 edited
-
tags/1.6.1 (added)
-
tags/1.6.1/assets (added)
-
tags/1.6.1/assets/icon-128x128.png (added)
-
tags/1.6.1/assets/icon-256x256.png (added)
-
tags/1.6.1/css (added)
-
tags/1.6.1/css/settings.css (added)
-
tags/1.6.1/includes (added)
-
tags/1.6.1/includes/api_endpoints.php (added)
-
tags/1.6.1/includes/event_capture.php (added)
-
tags/1.6.1/includes/initial.php (added)
-
tags/1.6.1/includes/js_bundler.php (added)
-
tags/1.6.1/js (added)
-
tags/1.6.1/js/cmp (added)
-
tags/1.6.1/js/cmp/cmplz (added)
-
tags/1.6.1/js/cmp/cmplz/logic.js (added)
-
tags/1.6.1/js/cmp/cookiebot (added)
-
tags/1.6.1/js/cmp/cookiebot/logic.js (added)
-
tags/1.6.1/js/cmp/cookieconfirm (added)
-
tags/1.6.1/js/cmp/cookieconfirm/logic.js (added)
-
tags/1.6.1/js/cmp/cookiefirst (added)
-
tags/1.6.1/js/cmp/cookiefirst/logic.js (added)
-
tags/1.6.1/js/cmp/cookiepal (added)
-
tags/1.6.1/js/cmp/cookiepal/logic.js (added)
-
tags/1.6.1/js/cmp/cookieyes (added)
-
tags/1.6.1/js/cmp/cookieyes/logic.js (added)
-
tags/1.6.1/js/cmp/moove_gdpr (added)
-
tags/1.6.1/js/cmp/moove_gdpr/logic.js (added)
-
tags/1.6.1/js/cmp/no_cmp (added)
-
tags/1.6.1/js/cmp/no_cmp/logic.js (added)
-
tags/1.6.1/js/cmp/onetrust (added)
-
tags/1.6.1/js/cmp/onetrust/logic.js (added)
-
tags/1.6.1/js/core (added)
-
tags/1.6.1/js/core/events.js (added)
-
tags/1.6.1/js/core/initialisation_sequence.js (added)
-
tags/1.6.1/js/detect (added)
-
tags/1.6.1/js/detect/detect.js (added)
-
tags/1.6.1/js/elementor (added)
-
tags/1.6.1/js/elementor/form_events.js (added)
-
tags/1.6.1/js/google_ads (added)
-
tags/1.6.1/js/google_ads/consent_mode.js (added)
-
tags/1.6.1/js/google_ads/events.js (added)
-
tags/1.6.1/js/google_analytics (added)
-
tags/1.6.1/js/google_analytics/events.js (added)
-
tags/1.6.1/js/meta (added)
-
tags/1.6.1/js/meta/events.js (added)
-
tags/1.6.1/js/microsoft_ads (added)
-
tags/1.6.1/js/microsoft_ads/consent_mode.js (added)
-
tags/1.6.1/js/microsoft_ads/events.js (added)
-
tags/1.6.1/js/myyounit (added)
-
tags/1.6.1/js/myyounit/integration.js (added)
-
tags/1.6.1/js/settings (added)
-
tags/1.6.1/js/settings/settings.js (added)
-
tags/1.6.1/js/tiktok (added)
-
tags/1.6.1/js/tiktok/events.js (added)
-
tags/1.6.1/js/woo (added)
-
tags/1.6.1/js/woo/other_events.js (added)
-
tags/1.6.1/js/woo/purchase_event.js (added)
-
tags/1.6.1/main.php (added)
-
tags/1.6.1/readme.txt (added)
-
tags/1.6.1/uninstall.php (added)
-
tags/1.6.1/views (added)
-
tags/1.6.1/views/settings.php (added)
-
trunk/includes/js_bundler.php (modified) (2 diffs)
-
trunk/js/myyounit (added)
-
trunk/js/myyounit/integration.js (added)
-
trunk/main.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/views/settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
metrion/trunk/includes/js_bundler.php
r3453704 r3453715 122 122 } 123 123 124 // MyYounit integration 125 if (get_option('metrion_enable_myyounit_integration', false)) { 126 $source_files[] = $plugin_dir . 'js/myyounit/integration.js'; 127 } 128 124 129 // Elementor form tracking 125 130 if (get_option('metrion_enable_elementor_form_tracking', false)) { … … 220 225 $source_files[] = $plugin_dir . 'js/woo/other_events.js'; 221 226 } 227 } 228 229 // MyYounit integration 230 if (get_option('metrion_enable_myyounit_integration', false)) { 231 $source_files[] = $plugin_dir . 'js/myyounit/integration.js'; 222 232 } 223 233 -
metrion/trunk/main.php
r3453704 r3453715 3 3 * Plugin Name: Metrion 4 4 * Description: Skip manual implementation, sync data directly tailored to destinations like Google Ads and Meta Ads. 5 * Version: 1.6. 05 * Version: 1.6.1 6 6 * Author: Metrion 7 7 * Author URI: https://getmetrion.com … … 12 12 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 13 13 14 define('GLOBAL_METRION_PLUGIN_VERSION', '1.6. 0');14 define('GLOBAL_METRION_PLUGIN_VERSION', '1.6.1'); 15 15 16 16 require_once plugin_dir_path(__FILE__) . 'includes/js_bundler.php'; … … 45 45 add_option('metrion_vat_included', 0); // Default value for woocommerce VAT included 46 46 add_option('metrion_shipping_costs_included', 0); // Default value for woocommerce shipping included 47 add_option('metrion_enable_myyounit_integration', 0); // Default value for MyYounit integration 47 48 48 49 // Consent management settings … … 100 101 register_setting('metrion_options_group', 'metrion_enable_woocommerce_tracking', ['sanitize_callback' => 'rest_sanitize_boolean']); 101 102 register_setting('metrion_options_group', 'metrion_purchase_only_tracking', ['sanitize_callback' => 'rest_sanitize_boolean']); 103 register_setting('metrion_options_group', 'metrion_enable_myyounit_integration', ['sanitize_callback' => 'rest_sanitize_boolean']); 102 104 103 105 // Elementor options -
metrion/trunk/readme.txt
r3453704 r3453715 4 4 Requires at least: 3.8 5 5 Tested up to: 6.8 6 Stable tag: 1.6. 06 Stable tag: 1.6.1 7 7 Requires PHP: 7.1 8 8 License: GPLv3 or later … … 93 93 == Changelog == 94 94 95 = 1.6.1 = 96 - Added MyYounit integration 97 95 98 = 1.6.0 = 96 99 - Added support for multi domain & multilingual -
metrion/trunk/uninstall.php
r3453704 r3453715 59 59 'metrion_enable_block_detection', 60 60 'metrion_use_api_endpoints_to_load_js', 61 'metrion_enable_woocommerce_tracking' 61 'metrion_enable_woocommerce_tracking', 62 'metrion_enable_myyounit_integration' 62 63 ]; 63 64 -
metrion/trunk/views/settings.php
r3453704 r3453715 183 183 </td> 184 184 </tr> 185 <tr valign="top"> 186 <th scope="row"><label for="metrion_enable_myyounit_integration">MyYounit integration</label></th> 187 <td> 188 <!-- Keep the checkbox, just hide it with CSS and use the switch class for the toggle effect --> 189 <label class="switch"> 190 <input type="checkbox" id="metrion_enable_myyounit_integration" 191 name="metrion_enable_myyounit_integration" value="1" <?php checked(1, get_option('metrion_enable_myyounit_integration', 1)); ?>> 192 <span class="slider round"></span> 193 </label> 194 </td> 195 </tr> 185 196 </table> 186 197 </div>
Note: See TracChangeset
for help on using the changeset viewer.