Skip to content

Commit 2e037d9

Browse files
authored
fix: submit button (#42)
1 parent e8c40b2 commit 2e037d9

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
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.36
9+
**Stable tag:** 2.1.37
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.37
89+
- Fix: submit button
90+
8891
### 2.1.36
8992
- Added imageUrl field to dataLayer
9093
- Added header "x-stape-app-version"

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.36
6+
Stable tag: 2.1.37
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.37 =
71+
* Fix: submit button
72+
7073
= 2.1.36 =
7174
* Added imageUrl field to dataLayer
7275
* Added header "x-stape-app-version"

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.36
13+
* Version: 2.1.37
1414
* Author: Stape
1515
* Author URI: https://stape.io
1616
* License: GPL-2.0+

templates/class-gtm-server-side-admin.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@
9494
<?php endif; ?>
9595

9696
<?php
97-
if ( GTM_SERVER_SIDE_FIELD_VALUE_YES === GTM_Server_Side_Helpers::get_option( GTM_SERVER_SIDE_FIELD_CUST_MATCH_BACKFILL ) ) :
97+
if (
98+
GTM_Server_Side_Admin_Settings_Customer_Match::TAB === $tab &&
99+
GTM_SERVER_SIDE_FIELD_VALUE_YES === GTM_Server_Side_Helpers::get_option( GTM_SERVER_SIDE_FIELD_CUST_MATCH_BACKFILL )
100+
) :
98101
submit_button(
99102
'',
100103
'primary',

0 commit comments

Comments
 (0)