<!DOCTYPE html>
<html><head><title>Where do I insert my Funnel Tracking code?</title></head><body>
<strong>Where do I insert my Funnel Tracking code?</strong><br />
<br />
You can enter the Funnel Tracking code in either the <code>((head))</code> section or <code>((body))</code> section of your web pages, but for best performance, you’ll want to enter Funnel Tracking code in the <code>((head))</code> section if at all possible.<br />
<br />
This is particularly important for any FunnelMagick page that you’ve set up to do split tests.<br />
<br />
Here’s why…<br />
<br />
When you’re doing a split test, ClickMagick determines which page to display when the funnel tracking code is executed. If you put the funnel tracking code in the <code>((head))</code> section, it will execute before any page is displayed.<br />
<br />
However, if the funnel tracking code is in the <code>((body))</code> section, you may see a brief “page flash” if part of a web page is displayed before the funnel tracking code is executed and it decides that a different page should be displayed for the split test.<br />
<br />
As a rule, you should place funnel tracking code as high on your web pages as possible. That would be the in the <code>((head))</code> section. And if you can’t place it there, insert the tracking code as high in the <code>((body))</code> section as you possibly can.<br />
<div class="faq-tip"><b>Tip:</b> If all this talk of <code>((head))</code> and <code>((body))</code> sections doesn’t make any sense to you, we have a thorough explanation on the structure of web pages in this FAQ:<br />
<table border="0" cellpadding="0" cellspacing="0" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; max-width: 100%;">
<tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; width: 20px;"><a href="/user/faqs.cgi?answer=203"><img height="20" src="//cdn.clickmagick.com/images/user/faqpage.gif" style="box-sizing: border-box; border: 0px; vertical-align: middle;" width="17" /></a></td>
<td style="box-sizing: border-box;"> </td>
<td style="box-sizing: border-box;"><b><a href="/user/faqs.cgi?answer=203"> Where do I install tracking pixels and tracking code?</a></b></td>
</tr>
</tbody>
</table>
<br />
If you’re not working directly with HTML code, this FAQ will also show you where to install your funnel tracking code in many of the popular Page Builders in use.</div>
</body></html>