Skip to main content

Track conversions with Census

Census logo

Census lets you send conversion data from an existing data source to Rokt through its Rokt destination. This guide explains how to authenticate the destination, create an event sync, map conversion fields, and test the integration.

Looking to sync audiences?

AuthenticationDirect link to Authentication

Authenticating with the Rokt Events destination requires a Rokt Public Key (rpub), Rokt Secret Key (rsec), and Account ID. See Events API authentication for more information.

Create a Rokt destinationDirect link to Create a Rokt destination

  1. Log in to your Census account.

  2. Click Destinations in the left navigation, and then click New Destination.

    Census destinations page

  3. Search for the Rokt destination.

    Search for the Rokt destination in Census

  4. Enter the Account ID to which you want to send conversions, along with your rpub and rsec values. Ask your Rokt account manager for these credentials.

  5. Click Connect to verify the connection.

    Census Rokt destination authentication

  6. Confirm that the connection succeeds.

    Successful Census connection

  7. Click Test to create a healthy destination connection.

    Test the Census destination Census destination test result

  8. Confirm that the Rokt destination displays as Healthy.

    Healthy Rokt destination in Census

Create an event syncDirect link to Create an event sync

A sync defines how data moves from your selected data source to the destination. For more information, see the Census Sync overview.

note

Forward all events that represent meaningful conversions in your business funnel. The more conversion data Rokt receives, the better it can optimize your campaigns.

  1. Click Syncs, and then click Create a sync.

    Create a sync in Census

  2. Select your data connection and source. For the destination, set Connection to Rokt and Object to Event. Set Sync Behavior to Send, and define your sync key.

    Configure a Census event sync

  3. Map the fields that Rokt needs to receive.

    ParameterDescriptionRequirement
    Event TypeType of event or action.Required
    Event IDA unique identifier for the event.Required
    Event TimeTime of the event in UTC.Required
    EmailRaw email address, lowercase and without leading or trailing spaces.At least one email field is required. Raw email is preferred; raw and hashed email together are recommended.
    Email (already SHA-256 hashed)Existing SHA-256 hash of the email address.See above.
    Email (apply SHA-256 hash)Email address that Census hashes before sending.See above.
    Rokt Tracking IDA Rokt-generated ID used to match a conversion to the originating click.Recommended
    MobileMobile phone number of the converting customer.Recommended
    First NameCustomer's first name.Recommended
    Last NameCustomer's last name.Recommended

    For the complete list of supported parameters, see the Events API documentation. Include fields such as transaction amount, currency code, product details, and payment method when available.

    Map Census fields to Rokt

  4. Click Run Test. A successful test displays Sync test succeeded and successful checks for fetching a record and loading it into Rokt.

    Successful Census sync test

  5. If the test fails, open Show API Inspector to review the status code and response from the Rokt Events API. A successful request returns HTTP status 200.

Your conversion event integration is now configured. For help, reach out to your Rokt contact or account manager.

Was this article helpful?