Landing Page improvement - Suggestion

TonyR

Member
Whilst the landing page is great, it would be very useful to have a block for Facebook Pixel included.

Eg. Enter a Pixel ID and it fires the right events for you.

Landing pages tend to be used as part of a wider funnel these days.

I could provide you with the Javascript code to add as a manual block but that would still require some coding knowledge. It would be easier to store the Pixel ID somewhere in the MW config in the same way as the API key is stored per customer and then add it automatically.

I would suggest firing 'ViewContent' with a payload ID of the landing page name. You can then do retarget ads on a per landing page basis. for viewed but did not purchase (or click, or subscribe, or whatever). Or build lookalike audiences.....

If we're getting really clever we could also select the Facebook standard event to add to the page, eg. 'Subscribe' with a button press monitor etc.

That would give you really tightly integrated campaigns.
 
Should the tracking pixel be Landing Page specific?
Also, do you have a code snippet at hand so that we can see what we're looking at in terms of implementation?
 
Yes, landing page specific. It's likely each landing page has a different purpose and the sub-payload of the pixel can identify that on the Facebook side and target accordingly.

<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',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '{your-pixel-id-goes-here}');
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id={your-pixel-id-goes-here}&ev=PageView&noscript=1"/>
</noscript>

This is the base code. It would need a little modification but 10 minutes work. If we could get the 'your pixel id' from a field/variable in Mailwizz it could all be on autopilot, or on an 'on/off' switch for each landing page.
 
edit: The Pixel ID needs to be on a per-customer basis in the case of SAAS or agency use.

Here's the full set of standard events:


You can see a drop down list of 'Pick the event you want' to insert the correct code would cover everything.

The actual code should look something like:

fbq('track', 'ViewContent', {"content_name":"landing page name"});
 
Last edited:
Back
Top