Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Sep 10, 2024
1 parent c19a04e commit 58c9bbd
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 43 deletions.
2 changes: 1 addition & 1 deletion assets/admin/wizard-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/admin/wizard.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'dbee6921bb05359768f5');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '392b7bf946ae0bc997db');
2 changes: 1 addition & 1 deletion assets/admin/wizard.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/admin/wizard.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
*** GTM Kit ***

2024-MM-DD - version 1.X
2024-09-DD - version 2.0
* Remove: Starting with GTM Kit version 2.0, the add_to_wishlist event is no longer supported in the free version of GTM Kit. To continue tracking the add_to_wishlist event, you must purchase the GTM Kit Add-On plugin.
* Add: A notifications handler has been added to communicate issues and notifications that require the user’s attention.
* Add: Added a warning when other Google Tag Manager plugins that may cause a conflict are active.
* Add: WooCommerce users are advised to install a supported SEO plugin to take advantage of a default category in data layer items.
* Changed: Require WordPress 6.3.
* Changed: Require WooCommerce 8.3.
* Changed: Require PHP 7.4.
* Dev: Increased PHPStan analysis level to 6, enhancing static code analysis and catching potential issues earlier in the development process.


2024-08-22 - version 1.23.3
* Fix: Prevent fatal errors caused by invalid filter input from third-party plugins.
Expand Down
4 changes: 2 additions & 2 deletions gtm-kit.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* GTM Kit Plugin
*
* Plugin Name: GTM Kit
* Version: 1.23.3
* Version: 2.0.0
* Plugin URI: https://gtmkit.com/
* Description: Google Tag Manager implementation focusing on flexibility and pagespeed.
* Author: GTM Kit
Expand All @@ -27,7 +27,7 @@
exit();
}

const GTMKIT_VERSION = '1.23.3';
const GTMKIT_VERSION = '2.0.0';

if ( ! defined( 'GTMKIT_FILE' ) ) {
define( 'GTMKIT_FILE', __FILE__ );
Expand Down
100 changes: 74 additions & 26 deletions languages/gtm-kit.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPLv3.
msgid ""
msgstr ""
"Project-Id-Version: GTM Kit 1.23.3\n"
"Project-Id-Version: GTM Kit 2.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gtm-kit\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-08-21T11:23:44+00:00\n"
"POT-Creation-Date: 2024-09-03T15:14:34+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.9.0\n"
"X-Domain: gtm-kit\n"
Expand All @@ -30,17 +30,17 @@ msgstr ""
msgid "Google Tag Manager implementation focusing on flexibility and pagespeed."
msgstr ""

#: inc/main.php:80
#: inc/main.php:89
msgid "Go to GTM Kit Settings page"
msgstr ""

#: inc/main.php:81
#: assets/admin/settings.js:13
#: inc/main.php:90
#: assets/admin/settings.js:15
msgid "Settings"
msgstr ""

#. translators: %s is GTM Kit Add-On.
#: inc/main.php:99
#: inc/main.php:108
msgid "Required by %s"
msgstr ""

Expand All @@ -60,32 +60,33 @@ msgstr ""
msgid "Go back to the Dashboard"
msgstr ""

#: src/Admin/AdminAPI.php:88
#: src/Admin/AdminAPI.php:96
#: src/Common/RestAPIServer.php:33
msgid "Only authenticated users can access endpoint."
msgstr ""

#: src/Admin/AdminAPI.php:134
#: src/Admin/AdminAPI.php:139
#: src/Admin/AdminAPI.php:142
#: src/Admin/AdminAPI.php:147
msgid "The support ticket was not found. Please check that you have entered the correct ticket."
msgstr ""

#: src/Admin/AdminAPI.php:136
#: src/Admin/AdminAPI.php:144
msgid "Thank you! We have received the data."
msgstr ""

#: src/Admin/GeneralOptionsPage.php:67
#: src/Admin/GeneralOptionsPage.php:83
#: assets/admin/settings.js:1
msgid "General"
msgstr ""

#: src/Admin/GeneralOptionsPage.php:76
#: src/Admin/GeneralOptionsPage.php:92
msgid "General Settings"
msgstr ""

#: src/Admin/HelpOptionsPage.php:44
#: src/Admin/HelpOptionsPage.php:53
#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Help"
msgstr ""

Expand All @@ -101,10 +102,10 @@ msgstr ""
msgid "Easy way to sell Digital Products With WordPress"
msgstr ""

#: src/Admin/IntegrationsOptionsPage.php:44
#: src/Admin/IntegrationsOptionsPage.php:53
#: src/Admin/IntegrationsOptionsPage.php:46
#: src/Admin/IntegrationsOptionsPage.php:55
#: assets/admin/settings.js:1
#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Integrations"
msgstr ""

Expand All @@ -123,6 +124,23 @@ msgstr ""
msgid "%1$sNote:%2$s This will only be applied if page type has been activated in the global settings of GTM Kit."
msgstr ""

#: src/Admin/PluginSuggestions.php:121
msgid "It appears that you are not currently using a supported SEO plugin. By installing either WordPress SEO or Rank Math, you can assign a primary category to each product. This primary category will then be used in the data layer if the product is associated with multiple categories."
msgstr ""

#: src/Admin/PluginSuggestions.php:126
msgid "Plugin suggestion:"
msgstr ""

#. translators: %s is the name of the plugin.
#: src/Admin/PluginSuggestions.php:144
msgid "It seems that you have installed the Google Tag Manager plugin called %1$s. Running two different GTM plugins simultaneously can lead to unexpected results, significantly impact data accuracy, and slow down page speed. Please consider deactivating %2$s unless you have carefully considered and addressed the potential challenges."
msgstr ""

#: src/Admin/PluginSuggestions.php:152
msgid "Possible Conflict:"
msgstr ""

#: src/Admin/TemplatesOptionsPage.php:44
#: src/Admin/TemplatesOptionsPage.php:53
msgid "GTM Templates"
Expand Down Expand Up @@ -235,7 +253,7 @@ msgstr ""
msgid "General Product List"
msgstr ""

#: src/Integration/WooCommerce.php:1129
#: src/Integration/WooCommerce.php:1128
msgid "GTM Kit data."
msgstr ""

Expand Down Expand Up @@ -306,11 +324,25 @@ msgid "Edit container"
msgstr ""

#: assets/admin/settings.js:1
msgid "Server-side GTM"
#: assets/admin/settings.js:15
msgid "Notifications"
msgstr ""

#: assets/admin/settings.js:1
msgid "Server-side tagging is a silver bullet that gives you improved data accuracy, performance, privacy, and flexibility."
msgid "There are some problems that require your attention."
msgstr ""

#: assets/admin/settings.js:1
msgid "There are some notifications that may require your attention."
msgstr ""

#: assets/admin/settings.js:1
#: assets/admin/settings.js:15
msgid "No notifications at the moment."
msgstr ""

#: assets/admin/settings.js:1
msgid "See all notifications"
msgstr ""

#: assets/admin/settings.js:1
Expand Down Expand Up @@ -417,6 +449,10 @@ msgstr ""
msgid "Google Tag Manager Server-side Tagging"
msgstr ""

#: assets/admin/settings.js:1
msgid "Server-side tagging is a silver bullet that gives you improved data accuracy, performance, privacy, and flexibility."
msgstr ""

#: assets/admin/settings.js:1
#: assets/admin/settings.js:13
msgid "Learn more"
Expand Down Expand Up @@ -635,7 +671,7 @@ msgid "Post ID"
msgstr ""

#: assets/admin/settings.js:1
#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Post data"
msgstr ""

Expand Down Expand Up @@ -701,7 +737,7 @@ msgid "Include the user role if the user is logged in."
msgstr ""

#: assets/admin/settings.js:1
#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Google Consent Mode"
msgstr ""

Expand Down Expand Up @@ -832,7 +868,7 @@ msgid "You can help by sharing anonymous data with us. Below is a detailed view
msgstr ""

#: assets/admin/settings.js:1
#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Misc"
msgstr ""

Expand Down Expand Up @@ -1237,6 +1273,7 @@ msgid "Read the guide"
msgstr ""

#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Templates"
msgstr ""

Expand Down Expand Up @@ -1316,23 +1353,34 @@ msgstr ""
msgid "The GitHub repository"
msgstr ""

#: assets/admin/settings.js:13
#. translators: %d is number %s can be either 'problem' or 'notification'.
#: assets/admin/settings.js:15
msgid "You have %d hidden %s:"
msgid_plural "You have %d hidden %ss:"
msgstr[0] ""
msgstr[1] ""

#: assets/admin/settings.js:15
msgid "Problems"
msgstr ""

#: assets/admin/settings.js:15
msgid "Google Tag Manager Templates"
msgstr ""

#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Dashboard"
msgstr ""

#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Container"
msgstr ""

#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "User data"
msgstr ""

#: assets/admin/settings.js:13
#: assets/admin/settings.js:15
msgid "Support"
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gtm-kit",
"version": "1.23.3",
"version": "2.0.0",
"description": "Development files for the GTM Kit",
"author": "GTM Kit",
"keywords": [
Expand Down
25 changes: 16 additions & 9 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: tlamedia, torbenlundsgaard, gtmkit
Donate link: https://github.com/tlamedia/gtm-kit
Tags: google tag manager, gtm, woocommerce, analytics, ga4
Tested up to: 6.6
Stable tag: 1.23.3
Stable tag: 2.0.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand All @@ -22,14 +22,17 @@ The following GA4 events are automatically included in the dataLayer:
- view_item_list
- select_item
- view_item
- add_to_wishlist
- add_to_wishlist **[Premium]**
- add_to_cart
- view_cart
- remove_from_cart
- begin_checkout
- add_shipping_info
- add_payment_info
- purchase
- refund **[Premium]**

Unlock all features with [GTM Kit Woo Add-On](https://jump.gtmkit.com/link/2-30DDC).

### Easy Digital Downloads
- view_item
Expand Down Expand Up @@ -88,20 +91,24 @@ Yes! Pagespeed is one of our main focus points, and we strive to make the plugin

== Changelog ==

= 1.X =
= 2.0 =

Release date: 2024-09-DD

We are introducing [GTM Kit Woo Add-On](https://jump.gtmkit.com/link/2-30DDC), which is a premium plugin that unlock premium features in GTM Kit.

Release date: 2024-MM-DD
Find out about what else is new in our [our release post](https://gtmkit.com/gtm-kit-2-20/).

Find out about what's new in our [our release post](https://gtmkit.com/gtm-kit-1-24/).
#### Breaking change:
* Starting with GTM Kit version 2.0, the add_to_wishlist event is no longer supported in the free version of GTM Kit.

#### Enhancements:
* A notifications handler has been added to communicate issues and notifications that require the user’s attention.
* Added a warning when other Google Tag Manager plugins that may cause a conflict are active.
* WooCommerce users are advised to install a supported SEO plugin to take advantage of a default category in data layer items.

#### Bugfixes:

#### Other:
* Increased PHPStan analysis level to 6, enhancing static code analysis and catching potential issues earlier in the development process.
* Require WordPress 6.3.
* Require WooCommerce 8.3.
* Require PHP 7.4.
Expand Down Expand Up @@ -153,5 +160,5 @@ Find out about what's new in our [our release post](https://gtmkit.com/gtm-kit-1

== Upgrade Notice ==

= 1.23.1 =
The load priority of the script 'gtmkit-js-before' has been lowered from 1 to 5.
= 2.0 =
Starting with GTM Kit version 2.0, the add_to_wishlist event is no longer supported in the free version of GTM Kit.

0 comments on commit 58c9bbd

Please # to comment.