Facebook Pixel Help - Trigger Different Pixels in Checkout / Purchase

Hello,

I’m building a payment gateway / checkout app, and I need help triggering facebook pixels for each different user I have.

Example:

  1. I have a dynamic checkout page that fetches each user’s own products information.
  2. The user can create his own product link. The URL contains the user ID and product ID so they can share they own links anywhere.
  3. Each user has it’s own facebook pixel.
  4. When loading the checkout page for that current user/product, I need to trigger his own pixel event for checkout.
  5. After the purchase, I also need to trigger the purchase event for that user/product.

Does anybody know how to do this?

We have done it for Google Analytics, but it’s basically the same since you can use Google Tag Manager for FB also.

You’d need to use the ‘custom javascript’ to trigger the storing of data. FB has developer documentation which details the format and values to send with your pixel id.