summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-11-18 11:24:56 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-11-18 11:24:56 +0700
commitbde516b6b39cccfe8ac3248cd7f85592e6298d7a (patch)
tree0c0b5f4a534f514c8c8eb5518cf4af8658a21217 /src
parentab35d72d65501251f579adf210051e2847cad41b (diff)
add google tag allow_enhanced_conversions
Diffstat (limited to 'src')
-rw-r--r--src/lib/checkout/components/Checkout.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 4c5cca62..6fb5cdb4 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -506,6 +506,8 @@ const Checkout = () => {
phone_number: convertToInternational(auth.mobile) ?? convertToInternational(auth.phone),
});
+ gtag('config', 'AW-954540379', { ' allow_enhanced_conversions':true } ) ;
+
for (const product of products) deleteItemCart({ productId: product.id });
if (grandTotal > 0) {
const payment = await axios.post(