You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/doubleclick-floodlight/index.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,15 +16,16 @@ To track custom properties first create [custom variables](#setting-up-custom-va
16
16
17
17
After you finish configuring Doubleclick Floodlight, Segment maps the following properties and settings when it receives a mapped event:
18
18
19
-
-`dc_rdid` is set as `IDFA` or `AdvertisingId` (for mobile data only)
20
-
-`src` is pulled from your destination settings
21
-
-`cat` and `type` are pulled from your event mappings from the settings OR your top level **Activity Tag** and **Group Tag** settings
22
-
-`ord` for **counter** tags are a random number to prevent browser caching
23
-
-`ord` for **sales** tags are set to whatever you define in your settings! (ie. `properties.order_id`) Include the `properties.` prefix to the key to ensure Segment finds the associated value in your `properties` object.
24
-
-`qty` for **sales** tags only, Segment sums the quantity of products in your `products` array property or falls back on top level `properties.quantity`
25
-
-`cost` for **sales** tags only Segment sends the `revenue`
26
-
-`u$` (if any) is pulled from your property mapping setting
27
-
-`dc_lat` is set to `0` or `1` depending on whether the device has **Limit Ad Tracking** enabled (for mobile data only)
19
+
-`dc_rdid` is set as `IDFA` or `AdvertisingId` (for mobile data only).
20
+
-`src` is pulled from your destination settings.
21
+
-`cat`is pulled from the event mappings in your destination settings.
22
+
-`type` is pulled from the event mappings in your destination settings OR from the top-level **Group Tag** setting.
23
+
-`ord` for **Counter** tags are a random number to prevent browser caching.
24
+
-`ord` for **Sales** tags are set to whatever you define in your settings (for example, `properties.order_id`). Include the `properties.` prefix to the key to ensure Segment finds the associated value in your `properties` object.
25
+
-`qty` for **Sales** tags only. Segment sums the quantity of products in your `products` array property or falls back on top level `properties.quantity`.
26
+
-`cost` for **Sales** tags only. Segment sends the `revenue` property.
27
+
-`u` values (if any) are pulled from your property mapping setting.
28
+
-`dc_lat` is set to `0` or `1` depending on whether the device has **Limit Ad Tracking** enabled (for mobile data only).
28
29
29
30
**Important:** Floodlight requires that you [set a `User-Agent` header](images/cDlD6KmuuOK.png) with that of the app where the track event took place. The Segment Android and Analytics.js (JavaScript) library automatically collect the `userAgent`. However you must manually send the user agent string inside the `context` object if you are using the iOS library. If `context.userAgent` is not provided, Segment tries to generate a user agent string based on some device and operating system information that is already has.
By default, the Segment event property you define for each custom variable mapping is matched against the property values found in the `properties` object of a `track` event. On device-mode web, you can use JSON style dot-notation-accessors wrapped in double curly brackets to map to other fields in the event's raw payload to your custom variables. For example, some acceptable values could be `{%raw%}{{userId}}{%endraw%}`, `{%raw%}{{anonymousId}}{%endraw%}`, or `{%raw%}{{context.page.referrer}}{%endraw%}`. You can find the complete structure of a standard Segment event payload [here](/docs/connections/spec/common/#structure). Please note that some fields may not be available for mapping, such as fields within the `context.campaign` object.
57
58
58
-
**Note:** `dc_rdid` and `dc_lat` are automatically collected by Segment's mobile libraries and `ord` is uniquely generated for each event.
59
+
> info ""
60
+
> `dc_rdid` and `dc_lat` are automatically collected by Segment's mobile libraries and `ord` is uniquely generated for each event.
59
61
60
62
## Page
61
63
@@ -79,7 +81,7 @@ For example, if you had a `page` event with the name as **Confirmation** that wa
79
81
80
82
**Viewed Checkout Confirmation Page**
81
83
82
-
See the [Analytics.js documentation](/docs/connections/sources/catalog/libraries/website/javascript/#page) for more on the `category` paramter.
84
+
See the [Analytics.js documentation](/docs/connections/sources/catalog/libraries/website/javascript/#page) for more on the `category` parameter.
83
85
84
86
## Setting up Custom Variables
85
87
@@ -114,4 +116,4 @@ Analytics.with(context).track("Free El", new Properties().putValue("show", "Stra
114
116
115
117
Don't map custom variables that contain Personally Identifying Information (PII).
116
118
117
-
The terms of your DoubleClick contract prohibit passing any information to us that we could use or recognize as personally identifiable information (PII). If you enter certain key-values into a field in a DoubleClick product, you may see a warning that reminds you that you must not use key-values to pass data that we would recognize as PII. Key-values that trigger this warning include, for example, email and username. Note that it is okay to use these key-values if your purpose is not to collect information that DoubleClick could use or recognize as PII. (For example, email=weekly is fine, but passing a user's email address is not.) If you do choose one of these key-values, DoubleClick may contact you in the future to confirm that you are not using them in a way that is prohibited.
119
+
The terms of your DoubleClick contract prohibit passing any information to Segment that could be used or recognized as personally identifiable information (PII). If you enter certain key-values into a field in a DoubleClick product, you may see a warning that reminds you that you must not use key-values to pass data that Segment would recognize as PII. Key-values that trigger this warning include, for example, email and username. Note that it is okay to use these key-values if your purpose is not to collect information that DoubleClick could use or recognize as PII. (For example, email=weekly is fine, but passing a user's email address is not.) If you do choose one of these key-values, DoubleClick may contact you in the future to confirm that you are not using them in a way that is prohibited.
0 commit comments