• How can I insert a script (like this of Google Ads):

    <!– Event snippet for Clic in uscita conversion page –>
    <script>
    gtag(‘event’, ‘conversion’, {‘send_to’: ‘AW-…….’});
    </script>

    in a particular page ?
    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • If it’s HTML5 (or basic HTML that works with WordPress), you should copy the code onto the HTML code of the specific page. If you’re using the classic editor, switch to the Text tab. If you’re using the block-editor (default in the latest WordPress versions), press Ctrl+Alt+Shift+M or select Code Editor.

    Thread Starter frankge973

    (@frankge973)

    no, I think doesn’t work
    becuase if I insert it into code view of the page, the result is:
    <p><script><br />
    gtag(‘event’, ‘conversion’, {‘send_to’: ‘AW-………………’});<br />
    </script></p>

    He adds: <br /> and <p> </p> tags
    I don’t know if works the same

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to insert a on a particular page’ is closed to new replies.