RudderStack lets you send your event data to DCM Floodlight via the cloud mode.

Find the open source transformer code for this destination in the GitHub repository.

Track

The track call lets you capture user events along with the properties associated with them.

A sample track call is as shown below:

rudderanalytics.track("Checkout Started", {
countingMethod: "standard",
orderId: 1234,
quantity: 45,
revenue: 800,
}, {
device: {
advertisingId: "2a3e36d172-5e28-45a1-9eda-ce22a3e36d1a",
},
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36",
integrations: {
All: true,
"DCM_Floodlight": {
COPPA: "false",
GDPR: "1",
npa: true
}
}
});
The userAgent is a required field.

The following table details the mapping of integrations object for DCM Floodlight:

RudderStack propertyDCM Floodlight propertyDescription
COPPAtag_for_child_directed_treatmentImposes requirements on the websites/online services operators directed to children under 13 years of age. Reference.
GDPRtfuaThe EU law on general data protection and privacy. Reference.
npanpaThe law catering to users who wish to opt out of remarketing.

The following table details the mapping between RudderStack and DCM Floodlight properties:

RudderStack propertyDCM Floodlight propertyPresenceTag
context.device.advertisingIddc_rdidRequiredCounter/Sales
context.device.adTrackingEnableddc_latOptionalCounter/Sales
messageIdordOptionalCounter
properties.orderIdordOptionalSales
properties.quantityqtyOptionalSales
properties.revenuecostOptionalSales
You must send the device-specific information for DCM Floodlight like IDFA or advertisingId which are mapped to context.device.advertisingId. You can do so using RudderStack's mobile SDKs as they collect this information automatically. However, in case you are using a RudderStack server-side SDK, the advertisingId needs to be included manually.

The following table gives some more context on the above DCM Floodlight properties:

DCM Floodlight propertyDescription
dc_rdidThe IDFA or Android Advertising ID to be passed over SSL.
dc_latIndicates if the user has enabled the Limited Ad Tracking option for IDFA/Android Advertising ID.
ordUsed to make the Floodlight tag unique and prevent browser caching.
qtyApplicable for Sales tags only - RudderStack adds the quantity of all the products in the products array or refers to the top-level quantity property.
costApplicable for Sales tags only - RudderStack sends the revenue parameter to DCM Floodlight.

Contact us

For queries on any of the sections covered in this guide, you can, contact us or start a conversation in our Slack community.

Contents