inline scripts get removed from page-template
-
Hi everyone,
i have to implement an inline-script which creates an iframe with additional content on a specific page.
I’ve already tried different approaches:
– I’ve created a Shortcode in the functions.php
– I set up an individual page template which is used on the specific page and added the script
– I even tried various script implementation pluginsThey all seem to work as long as im logged in, but when i visit the page without being logged in the inline scripts seems to get removed from the output.
The Script looks like this:
<script src=”https:/xxx.js” data-xxx-microsite data-shop-id=”xx” data-lang=”xxx” data-domain=”https://www.xxx.com” async></script>
I’m running out of ideas. Anyone got a clue?
Thank you
The topic ‘inline scripts get removed from page-template’ is closed to new replies.