Send events to DCM Floodlight using RudderStack device mode.
4 minute read
RudderStack lets you send your event data to DCM Floodlight destination via device mode using the native web SDK. RudderStack uses global site tagging in device 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.
countingMethod is a required property that specifies how to count the conversions for a Floodlight activity. The methods to count conversions depend on whether you are creating or editing a counter or sales tag activity.
Refer to the FAQ section for more information on counting methods for these tags.
Note that if countingMethod is absent in your event properties, RudderStack uses the method specified in the Floodlight Counting Methoddashboard setting as a fallback value. If you do not specify both these fields, RudderStack gives a “not found” error for the counting method.
The following table details the integrations object mapping for DCM Floodlight:
RudderStack property
DCM Floodlight property
Description
COPPA
tag_for_child_directed_treatment
Imposes requirements on the websites/online services operators directed to children under 13 years of age. Reference.
GDPR
tfua
The EU law on general data protection and privacy. Reference.
npa
npa
The law catering to users who wish to opt out of remarketing.
The following table details the mapping between the optional RudderStack and DCM Floodlight properties:
RudderStack property
DCM Floodlight property
Tag
properties.ord
ord
Counter
properties.sessionId
ord
Counter - per_session
properties.sessionId
session_id
Counter - per_session
properties.num
num
Counter - unique
context.device.adTrackingEnabled
dc_lat
Counter/Sales
properties.matchId
match_id
Counter/Sales
properties.orderId
ord
Sales
properties.orderId
transaction_id
Sales
properties.revenue
value
Sales
properties.quantity
quantity
Sales - items_sold
There are some slight variations in terms of the mapped DCM Floodlight parameters when you use the Iframe tag, as opposed to the global site tag. However, RudderStack handles this variation internally.
The following table details the mapping between the optional RudderStack and DCM Floodlight properties when using the Iframe tag:
RudderStack property
DCM Floodlight property
Tag
properties.ord
ord
Counter - standard
properties.sessionId
ord
Counter - per_session
properties.num
num
Counter - unique
context.device.adTrackingEnabled
dc_lat
Counter/Sales
properties.matchId
match_id
Counter/Sales
properties.orderId
ord
Sales
properties.orderId
transaction_id
Sales
properties.revenue
cost
Sales
properties.quantity
qty
Sales - items_sold
When using the Iframe tag, RudderStack sends ord=1 for the Counter - unique tag and qty=1 for the Sales - transactions tag.
The following table provides a brief description of the above DCM Floodlight properties:
DCM Floodlight property
Description
dc_lat
Indicates if the user has enabled the Limited Ad Tracking option for IDFA/Android Advertising ID.
ord
Makes the Floodlight tag unique and prevents browser caching.
quantity
RudderStack adds the quantity of all products in the products array or refers to the top-level quantity property.
value
RudderStack sends the revenue parameter to DCM Floodlight.
matchId
Identifier created by the advertiser to attribute offline conversions.
num
Controls cache busting manually.
session_id
Inserts a unique session ID while using counter tags with a per session counting methodology.
transaction_id
Sets a unique identifier for a transaction.
Custom parameters
You can also send data to DCM Floodlight using the below-mentioned custom fields:
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.