Hi,
i'm trying to integrate one affiliate marketing script to my shop.
Following some other post on this forum i have successfully "printed" the order id and amount of the order.
Now my problem is that the script won't be triggered if i use it inside end.php view. (I use bank transfer)
If i move the script to index.php <head></head> tag, it works.
How can i display my code inside the <head></head> of the end.php page?
I need to call this script only on step3 page of my shop, but if i use it inside the <body> it doesn't works..
This is my code:
echo '<script id="_ABCD" data-rid="XX" data-key2="ASDASD123123" data-tx="'.$order_id.'" data-amount="'.$price.'" data-currency="EUR" data-email="'.$email.'" src="//ssosodkdkskd.js" async defer></script>';
Thanks,
Ugo