How to stop and tags from automatically being added to page
-
Hi. I am trying to add a conversion pixel from an ad vendor to a page on my site. I need to add the short amount of html code between the <body> </body> tags on my page.
I believe I can do this by simply adding the text directly to the top of my page in the page HTML editor. But when I add the code, provided to me by the ad vendor, the page automatically adds <p> to the beginning, </p> at the end and <br> to the end of the first two lines of the code. This creates an empty white space to the top of my page.
Is there a way to stop the theme from adding the <p>, </p> and <br> automatically to my page? Or is there a better way I should be adding the pixel to my page?
Here is the pixel code with private info removed:
<!– Conversion Pixel – Success – DO NOT MODIFY –>
<script src=”https://somewebsite.com” type=”text/javascript”></script>
<!– End of Conversion Pixel –>
- The topic ‘How to stop and tags from automatically being added to page’ is closed to new replies.