We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation

Promokit HelpdeskAlysum AMP theme

  • Status: Waiting on customer

Ticket #12917 - Embed Hubspot script before </body>

Hi Marek

I have to embed the following code before </body> tag on every page in my Prestashop 1.7:

<!– Start of HubSpot Embed Code –>
<script type=”text/javascript” id=”hs-script-loader” async defer src=”//js.hs-scripts.com/XXXXXXX.js”></script>
<!– End of HubSpot Embed Code –>

Where is it supposed to be embedded? In the header.tpl or in the footer.tpl?
I cant´see any </body> tag on these files.

Thanks for your help

This ticket does not depend on any other tickets.

Marek (marek) 18 Sep 2018, 12:30

You can find it n the file: /templates/layouts/layout-both-columns.tpl