Knowledge Base         

How do I add tracking pixels or JavaScript code to ClickFunnels?

In this article, we’re going to show you where to install tracking pixels and tracking code in ClickFunnels. But, before you read further, if you don’t already have a good understanding of where to install tracking pixels on an HTML page, the rest of this document will make more sense if you review this article first:
What are tracking pixels and tracking code?

To add tracking pixels for JavaScript code to a ClickFunnels page, just follow these steps:
1.    Go into the editor for the page you want to add the tracking pixel or track code to.
2.    Select “Settings” at the top of the page editor.
3.    Select “Tracking Code”.
3.    You will have the option to paste your pixels and code in the “Header” section, or the “Footer” section. “Footer” is just another way of saying “at the end of the Body section, before the </body> tag”.

Paste your JavaScript code in the Header section, and paste your HTML tracking pixels in the Footer section. You can paste your Sub-ID JavaScript code in either section.

Caution: The ClickFunnels has a block called “JS/HTML” but, ironically, the JS/HTML block does not work with JavaScript despite it’s name. In short, don’t use the JS/HTML block for JavaScript—it won’t work and you’ll just get frustrated. Follow the steps above instead.

(For the technically curious, the ClickFunnels editor HTML-encodes the JavaScript in a JS/HTML block causing it to be unrecognizable as JavaScript anymore...)

Article 442 Last updated: 01/12/2020 7:15:40 AM