Hi all,
we just started to send purchase data to Facebook.
Data flows correctly, but we have noticed a small difference in the data sent from the server.
When we download an event sample from Facebook Event Manager, we can distinguish between events generated by the client and those sent from the server.
Here is an example of the dataJSON parameter:
From Browser
{“content_type”:“product”,“content_ids”:“["20XXXXX","71XXXX"]”,“value”:“205.0”,“currency”:“GBP”}
From Server
{“currency”:“GBP”,“order_id”:“EII1|AQAATS8AAAXXXXXX”,“value”:“225”,“content_ids”:“["70XXXXX","201XXXX"]”,“content_type”:“product”}
As you can see the data sent from the server includes the order_id.
In the client container we are using the Stape Data Tag in which we enabled the “Send all from DataLayer” & “Send common data” options.
In the event data we are also sending the transaction_id because we need it for other server tags.
In the server, we are using the Stape.io Facebook Conversion API tag, with Event Name Setup Method set to Inherit from client. We also add the Event Id parameter in the Server Override Data Override to manage the deduplication in Facebook.
Do you know if this difference between client and server data could have an impact on the event deduplication in Facebook. Running a few test event in FB everything looks ok but I want to confirm with you.
My second question is, why the server tag is sending the order_id automatically?
I hope it makes sense.