Skip to main content
All CollectionsBuilderLanding Pages
How to add Javascript & custom HTML to Knak landing pages
How to add Javascript & custom HTML to Knak landing pages

How to add additional code to Knak landing pages to connect external services

Felix Higgs avatar
Written by Felix Higgs
Updated over a week ago

Knak allows you to insert Javascript (script), CSS or HTML into Knak landing pages via several fields within the builder. This is typically necessary to connect Knak to external data sources, some common applications for this are listed below:

  • Page tracking providers (Google Analytics, Adobe Analytics)

  • Form capture (ChilliPiper, ZoomInfo ,JotForm, Forms.io)

  • Cookie & consent tracking (Onetrust, TrustArc)

  • Image pixel tracking (Litmus, Eventbrite)

Where to add custom scripts

Within the builder, click on the Info tab

Scroll down the to the bottom of the options on the right and you will see two fields -

  • Tracking - Header

  • Tracking - Footer

Tracking - Header

Adding data into this field will place the data in the 'head' section of the page code. This is typically where you would place code that you don't want to actually be visible to the page viewer. Tracking scripts such as Google Tag Manager scripts are typically placed here.

Tracking - Footer

Adding something here will place the data at the very bottom of the page code, at the bottom of the 'body' section. This is typically the last code that's loaded on the page and commonly where you would want to place an image tracking pixel or form capture tools.

Need more help? Contact support via live chat within Knak using the chat bubble in the bottom right corner or email support@knak.com


โ€‹

Did this answer your question?