How would I put multiple Facebook tracking pixels on one web page?

后端 未结 7 1137
情书的邮戳
情书的邮戳 2020-12-30 11:36

We are trying to use Facebook\'s Ad tracking pixels to track ads. we looked at Facebook\'s documentation and that led me no where.

I need to know how to trigger mult

7条回答
  •  旧巷少年郎
    2020-12-30 11:54

    According to FB's recommendation, it's very easy to track different events to different pixels:

    fbq('trackSingle', 'FB_PIXEL_ID', 'Purchase', customData);
    fbq('trackSingleCustom', 'FB_PIXEL_ID', 'CustomEvent', customData);
    

    https://developers.facebook.com/docs/facebook-pixel/api-reference#tracking-events-for-individual-pixels

提交回复
热议问题