Skip to main content
Level 4
Feb 4, 2021 12:38 AM UTC
Solved

Where to put a Facebook Pixel on a Landing Page

I've been asked to put a Facebook pixel on a Landing Page. Can someone tell me where to put it? I found one post asking about this from 2019 but it was unanswered.

 

Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Feb 4, 2021 1:17 AM UTC

Hi Denise,

What FB calls a "pixel" these days, AFAIK, is a short JS embed code (which in fairness loads a pixel under the hood, but it's not just an <img> tag). Depending on what you're trying to log, it would go in the document's <head> or in your form's onSuccess callback.

2 replies

SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Feb 4, 2021 1:17 AM UTC

Hi Denise,

What FB calls a "pixel" these days, AFAIK, is a short JS embed code (which in fairness loads a pixel under the hood, but it's not just an <img> tag). Depending on what you're trying to log, it would go in the document's <head> or in your form's onSuccess callback.

Translate
Level 4
Feb 4, 2021 1:34 AM UTC

Thank you, Sandy!

Translate