"Script inside head" feature on Landing pages - Javascript OK?

Hi,
coming from this thread Anyone using Matomo with Mautic? What is possible to integrate between them? - #6 by lanaprinzip I found the feature in Version 4 “Script inside head”.

My question: Can you add Javascript like the Matomo Tag tracking to a specific landing page in the “Script inside head” section? Don’t want to crash the site because I misunderstand the feature or use it wrongly.

Thank you,
Matt

Yes, you can. That is what it’s for.
You can add it directly into the page.twig file of the template to make sure it’s in every page.

1 Like

Perfect, thank you!

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.