Smartly Cloud Mode Integration

Send events to Smartly using RudderStack cloud mode.

After you have successfully instrumented Smartly as a destination in RudderStack, follow this guide to correctly send your events to Smartly in cloud mode.

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

Track

You can use the track to record user actions along with any associated properties.

A sample track call is as shown:

rudderanalytics.track(
  "Purchase", {
    adUnitId: "123456789",
    platform: "snapchat",
    adInteractionTime: 1640999520,
    installTime: 1640999825,
    timestamp: 1641000678,
    conversions: 1,
    value: 15,
    currency: "EUR",
  }
);

Supported mappings

RudderStack maps the following track fields to the corresponding Smartly properties:

RudderStack propertyDestination propertyData type
event
Required
event_nameString
properties.adUnitId
Required
ad_unit_idNumber
properties.platform
Required
platformString
properties.adInteractionTime
Required
ad_interaction_timeUNIX (time in seconds)
properties.conversions
properties.products.length
1
conversionsNumber
properties.value
properties.total
properties.revenue
properties.price*properties.quantity
valueNumber
properties.installTimeinstall_timeUNIX (time in seconds)
originalTimestamp
timestamp
event_timeUNIX (time in seconds)
properties.currencyvalue_currencyNumber

Questions? Contact us by email or on Slack