[Resolved] Hook elements delete part of the code every time I save

Home Forums Support Hook elements delete part of the code every time I save

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1456877
    Enrico

    Good afternoon,

    I need to add the Google Ads code to analyse the Conversions. But every time I update the hook element the two HTML <script> and </script> elements are deleted.

    What shall I do?

    Thanks

    <!– Event snippet for Website traffic conversion page –>
    <script>
    gtag(‘event’, ‘conversion’, {‘send_to’: ‘****});
    </script>

    #1457193
    Leo
    Staff
    Customer Support

    Hi there,

    That’s strange. I’m unable to replicate this issue and don’t remember seeing it from other users before:
    https://www.screencast.com/t/6eMr9cpJs

    Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?

    Let me know πŸ™‚

    #1463361
    Enrico

    I have tried to disable all plugins except GP Premium, but didn’t work.

    #1463403
    David
    Staff
    Customer Support

    Hi there,

    can you remove the HTML comment ie. <!– Event snippet for Website traffic conversion page –> and try saving again.

    If that doesn’t work then it looks like a possible security setting that is stopping Script tags from being used in the editor.

    #1463643
    Enrico

    Hi David,

    You were right. I discovered what was the problem. It was when I was logging in with an Administrator account. If we use a Super-Administrator account it doesn’t give that problem. Don’t ask me why but it works.

    #1463644
    Enrico

    Thank you

    #1463649
    David
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.