Skip to main content

Rokt ID tag

Rokt can create unique identifiers on partner websites when a user engages with your advertisement. This identifier can be accessed on your campaigns landing page and be used to attribute conversions without using PII data like an email address.

To accommodate this workflow, you need to do the following:

  1. Update your campaign traffic URL to support rokt-id passthrough
  2. Add the Rokt ID tag to your landing page (documented below)
  3. Make sure there is a mechanism on the confirmation page to capture the Rokt ID for conversion attribution

To add the Rokt ID tag onto your landing page, add the following script in the header of your landing page site:

<script src=”https://apps.rokt.com/integrations/referral-tag/referral-tag.js” async></script>
note

If you'd like more information on the Rokt ID, please see here.

View our integration guide on setting up the Rokt ID tag in Google Tag Manager.

Check that the Rokt ID is properly set up#

Please feel free to check in with your account manager to have Rokt validate the implementation for you.

To check that the Rokt ID is functioning correctly on your campaign’s landing page:

  1. Go to your campaign’s landing page.
  2. Navigate to your browser’s Developer Tools.
  3. Go to the “Network” tab and check that referral-tag.js network request have a status code of 200.
  4. Go to the “Application” tab and select Local Storage. Verify that the rtid is present and matched the rtid UTM parameter in the URL.

To check that the Rokt Web SDK is correctly attributing conversions with the Rokt ID:

  1. Navigate to a confirmation page from your campaign’s landing page after accepting an offer.
  2. Navigate to your browser’s Developer Tools.
  3. Go to the “Network” tab. Once there, select the placements asset.
  4. From there, go to the “Payload” tab and check that the passbackconversiontrackingid field contains the value from the rtid in Local Storage.
Was this article helpful?