Skip to content

Commit 88ea12d

Browse files
authored
Merge pull request #8 from showpass/fix-json-download-link
fix: json download links
2 parents c7bf02f + 49466d3 commit 88ea12d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

public/assets/Showpass-Widget-Parent.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338
{
339339
"type": "TEMPLATE",
340340
"key": "html",
341-
"value": "<script nonce=\"{{nonce}}\">\nsnaptr('track', 'PURCHASE', {\n 'price': {{DLV - Showpass ecommerce.value}}, \n 'currency': {{DLV - Showpass ecommerce.currency}}', \n 'transaction_id': '{{DLV - Showpass ecommerce.transaction_id}}', \n 'item_ids': {{CJS - Showpass Item IDs Array}}, \n 'item_category': '', \n 'number_items': {{CJS - Showpass Total Items Quantity}}, \n 'uuid_c1': '', \n 'user_email': '', \n 'user_phone_number': '', \n 'user_hashed_email': '', \n 'user_hashed_phone_number': ''\n});\n</script>"
341+
"value": "<script nonce=\"{{nonce}}\">\nsnaptr('track', 'PURCHASE', {\n 'price': {{DLV - Showpass ecommerce.value}}, \n 'currency': '{{DLV - Showpass ecommerce.currency}}', \n 'transaction_id': '{{DLV - Showpass ecommerce.transaction_id}}', \n 'item_ids': {{CJS - Showpass Item IDs Array}}, \n 'item_category': '', \n 'number_items': {{CJS - Showpass Total Items Quantity}}, \n 'uuid_c1': '', \n 'user_email': '', \n 'user_phone_number': '', \n 'user_hashed_email': '', \n 'user_hashed_phone_number': ''\n});\n</script>"
342342
},
343343
{
344344
"type": "BOOLEAN",

src/docs-app/data/google-tag-manager/12-json-ready-to-use-importable-containers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Copy and install the GTM snippet into the `<head>` and `<body>` of your website.
4747

4848
Download the container template:
4949

50-
* [**Showpass-Default.json**](../public/assets/Showpass-Default.json)
50+
* [**Showpass-Default.json**](../assets/Showpass-Default.json)
5151

5252
This template includes everything needed for direct or redirect-based tracking.
5353

@@ -137,8 +137,8 @@ Install each snippet in the correct environment:
137137

138138
Download both templates:
139139

140-
1. [**Showpass-Widget-Child.json**](../public/assets/Showpass-Widget-Child.json)
141-
2. [**Showpass-Widget-Parent.json**](../public/assets/Showpass-Widget-Parent.json)
140+
1. [**Showpass-Widget-Child.json**](../assets/Showpass-Widget-Child.json)
141+
2. [**Showpass-Widget-Parent.json**](../assets/Showpass-Widget-Parent.json)
142142

143143
The child template handles event forwarding from the iframe.
144144
The parent template handles cross-domain tracking and event merging.

0 commit comments

Comments
 (0)