Hope someone can help me with this. It's very easy to do I bet, I'm just not used to magento yet.
I'm adding Google Ads to my magento (1.9).. I need to add this script code:
<!-- Event snippet for ads page -->
<script>
gtag('event', 'conversion', {
'send_to': 'AW-8xxxxxxxxxxxxxxxxxx',
'value': 1.0,
'currency': 'USD',
'transaction_id': ''
});
</script>
only in "order success" page (which is success.phtml). It has to be in Head. I know that I can't just add the code in success.phtml file. From my research, I have to mess with layout/local.xml file.
Could someone explain to me how to do this? Much appreciate!