Passing Facebook Pixel ID to External Hosting Lander
1. Create a Traffic Source named Facebook.
2. Add Lander parameter: Parameter - fbpixel, Form label - FB Pixel ID.
3. Create a flow using your External Hosting lander.
4. Create a campaign, using this flow.
5. In the campaign settings section, Lander parameters, type your Facebook Pixel ID in the FB Pixel ID field.
6. Check for the fbpixel query variable on your lander.
Passing Facebook Pixel ID to the Zeustrack Cloud Lander
1. Create a Traffic Source named Facebook.
2. Add Lander parameter: Parameter - fbpixel, Form label - FB Pixel ID.
3. Create a Zeustrack Cloud lander. Use {lander.param:fbpixel} in the code to insert your pixel ID.
Example:
Place the following code after <body> tag:
<!--Facebook Pixel Code--> <script> !function(f,b,e,v,n,t,s){ if(f.fbq)return; n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n; n.push=n; n.loaded=!0; n.version='2.0'; n.queue=[]; t=b.createElement(e); t.async=!0; t.src=v; s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s) } (window,document,'script','//connect.facebook.net/en_US/fbevents.js'); fbq('init','{lander.param:fbpixel}'); fbq('track',"PageView"); </script> <noscript> <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id={lander.param:fbpixel}&ev=PageView&noscript=1"/> </noscript> <!--End Facebook Pixel Code-->
4. Create a flow and campaign. In the campaign Lander parameters set your FB Pixel ID parameter.
Note:
You might find useful to save Facebook pixel code as a Lander Snippet. It's easier to re-use in other landers and it looks nice! Read here what are Lander Snippets and how to use them.