From 554b9f3e11ae642b9cf1349ec2d289e850d013c2 Mon Sep 17 00:00:00 2001 From: Ashton Huxtable <78318468+ashton-huxtable@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:10:52 -0600 Subject: [PATCH 1/2] Add note about 'value' property in Facebook PIxel --- src/connections/destinations/catalog/facebook-pixel/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/connections/destinations/catalog/facebook-pixel/index.md b/src/connections/destinations/catalog/facebook-pixel/index.md index 6071fec508..1161ac3276 100644 --- a/src/connections/destinations/catalog/facebook-pixel/index.md +++ b/src/connections/destinations/catalog/facebook-pixel/index.md @@ -245,5 +245,9 @@ Facebook Pixel events typically don't display in real-time within the Facebook A Segment does not handle nested properties that need to be blocklisted, including the standard PII properties. If you have properties you would like to blocklist, you can use [destination filters](/docs/connections/destinations/destination-filters/) to drop those properties before they are sent downstream. +### Mapping `revenue` to `value` + +Segment pre-maps `revenue` or `total` to `value`. If you have a custom `value` property, it will be overwritten with the value from `revenue` or `total`, or it will appear as '0.00' if those two properties are not present. If you have a `value` property, a [destination middleware](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/middleware/#using-destination-middlewares){:target="_blank"} or [destination plugin](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#advanced-plugin-api){:target="_blank"} can be used to transform the name before it is sent downstream to avoid any data loss. + {% include content/client-side-script-unverified.md %} From 3fd7ceb4f33fa3b192bbb23e892c5adcc6948d96 Mon Sep 17 00:00:00 2001 From: Ashton Huxtable <78318468+ashton-huxtable@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:38:34 -0600 Subject: [PATCH 2/2] Update per recommendation Co-authored-by: stayseesong <83784848+stayseesong@users.noreply.github.com> --- src/connections/destinations/catalog/facebook-pixel/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connections/destinations/catalog/facebook-pixel/index.md b/src/connections/destinations/catalog/facebook-pixel/index.md index 1161ac3276..4f8dbd7080 100644 --- a/src/connections/destinations/catalog/facebook-pixel/index.md +++ b/src/connections/destinations/catalog/facebook-pixel/index.md @@ -247,7 +247,7 @@ Segment does not handle nested properties that need to be blocklisted, including ### Mapping `revenue` to `value` -Segment pre-maps `revenue` or `total` to `value`. If you have a custom `value` property, it will be overwritten with the value from `revenue` or `total`, or it will appear as '0.00' if those two properties are not present. If you have a `value` property, a [destination middleware](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/middleware/#using-destination-middlewares){:target="_blank"} or [destination plugin](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#advanced-plugin-api){:target="_blank"} can be used to transform the name before it is sent downstream to avoid any data loss. +Segment pre-maps `revenue` or `total` to `value`. If you have a custom `value` property, it's overwritten with the value from `revenue` or `total`, or it appears as '0.00' if those two properties aren't present. If you have a `value` property, you can use a [destination middleware](/docs/connections/sources/catalog/libraries/website/javascript/middleware/#using-destination-middlewares) or [destination plugin](/docs/connections/sources/catalog/libraries/website/javascript/#advanced-plugin-api){:target="_blank"} to transform the name before it is sent downstream to avoid any data loss. {% include content/client-side-script-unverified.md %}