Hi Team, we are using Rudderstack, among other thi...
# support
b
Hi Team, we are using Rudderstack, among other things, to connect our website to the facebook/meta pixel destination (device mode). The marketing team wants to add another meta pixel (in total 2). Adding another meta pixel destination doesn't work as only the second one is used. Is there a way to support this use case? Maybe some syntax (comma separated for example) when specifying the pixel ID in the config section for the Facebook pixel? Thanks!
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Greg, so you are trying to send data to 2 meta destinations (both in device mode) and you are saying data is sent only to the second pixel ID and not the first? Is that correct?
Can you share your workspace Id?
b
that s correct
workspace: flexpower
m
Hey Greg, I was able to reach out to the team on this and they confirmed that this is currently not supported in RudderStack. Checkout some of the docs for FB Pixel that explains this https://developers.facebook.com/ads/blog/post/v2/2017/11/28/event-tracking-with-multiple-pixels-tracksingle/
b
actually, just calling the fbq('init', pixel_id) in a loop for all pixel id defined would be ok. Same events sent to all pixel id's. It's not requested nor expected to have events sent only to a specific pixel
m
Yes the team is looking to add support for multiple pixel ids in the future but it is not currently supported.
b
thanks. is there a timeline for this to be added?
m
Not really. This is not on the immediate roadmap.
b
Thanks! Looking at the integration implementation it looks like it's using fb's trackSingle with comments in the code to multiple pixel ids, but it works only if only using a single pixel ids? (see https://github.com/rudderlabs/rudder-sdk-js/blob/66092d357ffa87c8a39ffa05a1cd4c57085c7d47/src/integrations/FacebookPixel/browser.js#L211) Is it (not supporting multiple pixel ids) a bug or the code is just a placeholder for later when it s implemented? (or a configuration issue from my end)? Thanks again for your help!
m
It is just a placeholder for when the it is implemented.