• Priority: High
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 12.12.18, 16:01
  • Reason: Closed
  • Comment: Glad to help!

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:

{literal}
<!– 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 –>
{/literal}

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

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

Loading...