Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to insert order number into script in miniShop2?
How to insert an order number into the conversion tracking script in miniShop2 in MODx?
I tried this: I
inserted a script in the head of the successful checkout template
[[!msOrder?
&tpl = `
<!-- Event snippet for Покупка conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': 'AW-731837584/YoJmCLz0kaUBEJDp-9wC',
'transaction_id': '{$order.num}'
});
</script>`
]]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question