Skip to content

Commit 9a766a9

Browse files
authored
Merge pull request #34 from stape-io/v2.1.31
2.1.31 Update query params for custom loader
2 parents f96bc2d + e866732 commit 9a766a9

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
**Tested up to:** 6.7.1
88

9-
**Stable tag:** 2.1.30
9+
**Stable tag:** 2.1.31
1010

1111
**License:** GPLv2 or later
1212

@@ -85,6 +85,9 @@ Yes. Follow this guide: [How to Setup Facebook Conversion API](https://stape.io/
8585
<details>
8686
<summary>Version 2 changelog</summary>
8787

88+
### 2.1.31
89+
- Request parameters have been changed
90+
8891
### 2.1.30
8992
- Added discount for order item
9093

README.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: gtmserver,bukashk0zzz
33
Tags: google tag manager, google tag manager server side, gtm, gtm server side, tag manager, tagmanager, analytics, google, serverside, server-side, gtag
44
Requires at least: 5.2.0
55
Tested up to: 6.8.0
6-
Stable tag: 2.1.30
6+
Stable tag: 2.1.31
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

@@ -67,6 +67,9 @@ Yes. <a href="https://stape.io/blog/how-to-set-up-facebook-conversion-api">How t
6767

6868
== Changelog ==
6969

70+
= 2.1.31 =
71+
* Request parameters have been changed
72+
7073
= 2.1.30 =
7174
* Added discount for order item
7275

gtm-server-side.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Plugin Name: GTM Server Side
1111
* Plugin URI: https://wordpress.org/plugins/gtm-server-side/
1212
* Description: Enhance conversion tracking by implementing server-side tagging using server Google Tag Manager container. Effortlessly configure data layer events in web GTM, send webhooks, set up custom loader, and extend cookie lifetime.
13-
* Version: 2.1.30
13+
* Version: 2.1.31
1414
* Author: Stape
1515
* Author URI: https://stape.io
1616
* License: GPL-2.0+

includes/class-gtm-server-side-helpers.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ public static function get_gtm_container_id() {
136136
GTM_SERVER_SIDE_FIELD_WEB_CONTAINER_ID,
137137
function() use ( $container_id ) {
138138
$query_ends = array(
139-
'page=1',
140-
'page=2',
141-
'page=3',
142-
'apiKey=' . mb_substr( md5( self::get_raw_gtm_container_identifier() ), 0, 8 ),
139+
'cgm=nmB',
140+
'asq=2',
141+
'tl=dr',
142+
'type=' . mb_substr( md5( self::get_raw_gtm_container_identifier() ), 0, 8 ),
143143
'sort=asc',
144144
'sort=desc',
145145
);

0 commit comments

Comments
 (0)