Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

436
Views
Send fbp Cookie with Facebook Pixel Javascript

Does anyone know how to send the fbp parameter for Facebook Pixel using the javascript pixel code? This is the code I currently have, I'm not sure if the fbp parameter is correct. Can anyone advise please? Thanks.

    <script>
    
    fbq('track', 'Purchase', { 
        value: '150.00',
        currency: 'GBP',
        content_ids: ['1'],
        num_items: '1'      
        }, { eventID: '10676' }, { fbp: 'fb.1.1596403881668.1116446470' });
    
    </script>
about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

First of all, I'd like to state the cookie's name which is _fbp instead of fbp

From what I know, Facebook fetches the cookie if it exists, if it doesn't it creates the _fbp cookie on the first call.

When the Meta Pixel is installed on a website, and the Pixel uses first-party cookies, the Pixel automatically saves a unique identifier to an _fbp cookie for the website domain if one does not already exist. read more about _fbp documentation @ Facebook developers

This is quite easy to check if you install the Pixel Helper extension for Google Chrome (Pixel Helper Extension)


I'm not sure why you are trying to send it through the event call, but if you want to somehow manipulate it just overwrite the value of the _fbp cookie.

What is _fbp used for?

Facebook uses the _fbp cookie to tag a user, this is important for events attribution and therefore you shouldn't manipulate it unless you have a specific reason for doing so.

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!