The script tag must be placed in a location where you can ensure it will load at least once for each customer completing a purchase. Typically, the best location for this would be the cart and/or checkout page. We recommend placing the script towards the bottom of your
<body> element or in your site's
For optimal performance on your site, we recommend placing the script on the footer of the page.