tall-vase-21787
01/05/2023, 7:20 AMUse device-mode to send events is ENABLED it only sends browser events and if it’s DISABLED it only sends server events
• for page view, BROWSER events sends a lot of parameters but on SERVER events, it doesn’t have parameters
Questions:
• should I create 2 destination with FB Pixel (1 is enabled device-mode and 1 is disabled) or is there a way with 1 destination but it will send to both?
• Is there a way to customize the parameters for both browser and server? do you have sample transformation code?silly-kitchen-30880
01/05/2023, 7:20 AMquiet-wolf-72320
01/05/2023, 10:55 AMtall-vase-21787
01/05/2023, 12:04 PMquiet-wolf-72320
01/05/2023, 12:19 PM• ifIn device mode only Web is supported but in cloud mode both web and server are supported. So device mode seems to be working fine here. Can you check if you are getting any error in cloud mode for browser events? Some details you can find here in docs https://www.rudderstack.com/docs/destinations/streaming-destinations/fb-pixel/is ENABLED it only sends browser events and if it’s DISABLED it only sends server eventsUse device-mode to send events
• for page view, BROWSER events sends a lot of parameters but on SERVER events, it doesn’t have parametersBased on previous point these differences are not only because of browser and server but contributed by connection mode (device/cloud) too. Can you check if you are seeing differences if using cloud mode only. Questions: • should I create 2 destination with FB Pixel (1 is enabled device-mode and 1 is disabled) or is there a way with 1 destination but it will send to both? — If you want to use both device mode and cloud made together then you need to have two destination. Both connection modes can’t be enabled at the same time in one destination. • Is there a way to customize the parameters for both browser and server? do you have sample transformation code? can you site an example for page visit? — Once you receive the events from source, you can apply transformation to customize it before sending it to the destination. You can check this doc for reference. https://www.rudderstack.com/docs/features/transformations/cloud-mode-transformations I will try to find if there is any working example for page visits and share it with you. FYI.. Transformation in cloud mode and device mode are supported for enterprise plan only.
also, I noticed that when it’s server events, it’s always tagged as deduplicated but I can’t see any similar eventsDeduplication is used when you send same event via both browser and server. I think FB pixel shows only one entry and marks it deduplicated. Some details here in doc https://www.facebook.com/business/help/823677331451951?id=1205376682832142
tall-vase-21787
01/05/2023, 12:24 PMCan you check if you are getting any error in cloud mode for browser events?it doesn’t have the pixel if it’s disabled
tall-vase-21787
01/05/2023, 12:26 PMUse device-mode to send events is disabled, right?quiet-wolf-72320
01/05/2023, 12:28 PMtall-vase-21787
01/05/2023, 12:29 PMtall-vase-21787
01/05/2023, 12:31 PMFYI.. Transformation in cloud mode and device mode are supported for enterprise plan only.We are on Growth plan and it says on your website that it should be available, right? https://www.rudderstack.com/pricing/
quiet-wolf-72320
01/05/2023, 12:35 PMquiet-wolf-72320
01/05/2023, 12:45 PMFYI.. Transformation in cloud mode and device mode are supported for enterprise plan only.
We are on Growth plan and it says on your website that it should be available, right?slight correction in this - Cloud mode transformation is supported in both growth and enterprise plans . It was a miss on my end.
quiet-wolf-72320
01/05/2023, 12:49 PM• enabled (Use device-mode to send events): this sends browser events
• disabled (Use device-mode to send events): this sends server eventsIf it is disabled then it should work for both browser and server. If it’s not happening then there should be some problem. I have sent the query to our team. Let me get the details from them
tall-vase-21787
01/05/2023, 12:50 PMIf it is disabled then it should work for both browser and server. If it’s not happening then there should be some problem. I have sent the query to our team. Let me get the details from themyep. it’s not working that way so I did the 2 destination workaround 😞
late-pillow-88086
01/05/2023, 2:32 PMevent_id from 'traits.event_id' / 'context.traits.event_id' /
'properties.event_id' /`message.messageId` . Please have a look here, how facebook considers an event to be duplicate.late-pillow-88086
01/05/2023, 3:02 PMevent_name, external_id, event_id, fbp and fbc parameters. So that facebook can match the two events and generate optimum reports using that.