I am getting double conversion in my google ads

I am getting double conversion in my google ads

thakurdeepak
Visitor
1 0 0

I have added the below code in shopify in checkout. After putting the code I am getting the double conversion. Kindly check the code and let me know it is correct or not.

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-10883835983"></script>
<script>
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-108838xxxxx');
</script>

<!-- Event snippet for Shopify Purchase conversion page -->
<script>
{
gtag('event', 'conversion', {
'send_to': 'AW-10883835983/NuPbCIL55d8ZEM_Q6MUo',
'value': {{ checkout.total_price | money_without_currency }},
'currency': 'INR',
'transaction_id': '{{ order.order_number }}'
});
}
</script>

Screenshot 2024-12-03 134516.png

Replies 0 (0)