All Collections
ContestPad Knowledgebase
How do I insert Javascript into my HTML
How do I insert Javascript into my HTML
Andrew Busuttil avatar
Written by Andrew Busuttil
Updated over a week ago

Sometimes there is a need to insert javascript into your HTML pages. This could include when you are inserting Facebook pixels, Google tags or other embeddable components and widgets.

If you are inserting javascript it is important to enclose the script in the {literal}...{/literal} tags.

This tells the ContestPad processor to take the contents between the tags as literal and will stop the script from interfering with the ContestPad processor syntax.
​ 

Did this answer your question?