Supported syncing
For more information about sync modes, refer to the sync modes docs.
Connect to Rokt
Go to the Destinations overview page and click the Add destination button. Select Rokt and click Continue.Select an API version
Rokt has deprecated its legacy Event and Audience APIs. Select Current as the API Version for new connections; the legacy APIs no longer receive updates, and Rokt recommends migrating existing connections. Rokt destinations created before the API Version setting existed remain on the legacy APIs. To migrate one, set its API Version to Current and enter the current API credentials. Hightouch keeps your legacy credentials saved, so you can switch back if needed.Current API credentials
The current Event and Audience APIs authenticate with a single server-to-server key pair:- Server to Server Key
- Server to Server Secret
us1- or us2-) determines which Rokt data center Hightouch sends events to; a key with no prefix routes to US1.
Legacy API credentials
The legacy APIs use separate credentials per integration. Enter only the credentials for the sync types you use. For Event syncs:- App ID
- App Secret
- Account ID: You can find this in the URL of your Rokt account. Go to your profile settings and the URL will look like this:
https://my.rokt.com/accounts/<accountId>/profile-settings
Sync configuration
Once you’ve set up your Rokt destination and have a model to pull data from, you can set up your sync configuration to begin syncing data. Go to the Syncs overview page and click the Add sync button to begin. Then, select the relevant model and the Rokt destination you want to sync to.Event
When syncing events, Hightouch treats any records added to your source as new events and sends them to Rokt when your sync runs.Event timestamp
You can optionally select a column that contains timestamps of when events occurred. If this field is empty, Hightouch uses the time the event arrives at the server. If you select a column, it should be in UTC and RFC 3339. On the legacy API, Rokt rejects events with a timestamp older than 18 months or more than 5 minutes in the future; events outside this range aren’t processed.Field mapping
You can sync model columns to Rokt’s event properties, including custom fields. You must include mappings for the Client Event ID and Event Type fields. Rokt deduplicates events on the Client Event ID, so map a value that’s unique per event, such as an order or confirmation number. On the current API, each event must also include at least one identifier: Email, Email (SHA-256 Hash), or Passback Conversion Tracking ID. Rokt rejects events without one. If you capture the Rokt click ID from your ad interactions, map it to Passback Conversion Tracking ID. Rokt uses it to match conversions back to clicks, and Hightouch sends it in both fields Rokt matches on.Handling PII and hashing
By default, Hightouch automatically hashes plaintext values mapped to the (SHA-256 Hash) variants of the following fields before sending them to Rokt:- Mobile Phone
- First Name
- Last Name
- IP Address
Segment
Use segment syncs to add users to a Rokt audience and remove them as they leave your model. You can use these audiences to target or exclude specific customers in your campaigns, or to determine which customers experience Rokt on your site.User identifiers
The identifiers you can map depend on the destination’s API version. On the current API, select one or more of these model columns to identify users:- Email (SHA256 Hash)
- Customer ID
- IDFA (iOS advertising ID)
- GAID (Android advertising ID)
- Phone (SHA256 Hash)
- First name
- Last name
- City
- State
- Postal code
Phone number formatting
Rokt hashes phone numbers as the national number, without the country code. When you map Phone (SHA256 Hash), Hightouch removes the country code before hashing. Select a Default country for numbers that arrive without one.Select an existing audience or create a new one
You can create a new audience or use an existing one. When creating a new audience, you can optionally enter a name; otherwise, Hightouch defaults to the name of the associated model. To use an existing audience, select the desired audience from the dropdown. Rokt creates the audience when the first record syncs to it. Audience names are limited to 100 characters.Handling PII and hashing
By default, Hightouch automatically hashes unhashed emails — and, on the current API, phone numbers — before sending them to Rokt. You can disable this behavior in the sync configuration.Tips and troubleshooting
To see the exact API requests and responses from each sync run, use the live debugger. To get notified by Slack, PagerDuty, SMS, or email when a sync fails, set up sync alerts. If you run into an issue this page doesn’t cover, .For Hightouch platform error codes related to Rokt, see Error codes: Other
destinations.