Skip to content
English
  • There are no suggestions because the search field is empty.

RedTrack Integration Setup

How to connect Vidalytics with RedTrack to track video-driven conversions across your ad campaigns.

This guide walks you through the full setup of the Vidalytics and RedTrack integration — from enabling the connection to tracking video engagement events directly inside your RedTrack campaigns.

Part 1 — Enable the Integration in Vidalytics 

Get your RedTrack API key — log in to your RedTrack account at app.redtrack.io, go to Integrations, and copy your API key.

Enable the integration in Vidalytics — open the Vidalytics RedTrack integration page, paste your API key into the API key field, and click Enable Integration.

Copy your Webhook URL — after enabling, Vidalytics will generate a Webhook URL. Copy it — you will need it in the next steps.

Part 2 — Create a Traffic Source in RedTrack

Go to Sources — in RedTrack, navigate to Sources and click + New From Scratch.

Enter the traffic source details — give it a name and paste the following Webhook URL into the appropriate field, replacing YOUR_SECRET with the secret from your Vidalytics Webhook URL:

https://api.vidalytics.com/public/redtrack/conversions?secret=YOUR_SECRET&clickid={clickid}&type={type}&status={status}&offer_payout={offer_payout} 

Click Save Changes.

Part 3 — Create an Ad Tracking Campaign in RedTrack

Go to Campaigns — navigate to Campaigns and click + New Ad Tracking.

Configure your campaign — provide a name, select your Traffic Channel, and set your Domain.

Add the Network Webhook — paste the same Webhook URL from Part 2 (with your YOUR_SECRET replaced) into the Network Webhook for conversions field:

https://api.vidalytics.com/public/redtrack/conversions?secret=YOUR_SECRET&clickid={clickid}&type={type}&status={status}&offer_payout={offer_payout} 

Click Save Changes.

Part 4 — Create the Tracking Script in RedTrack

Go to Scripts — navigate to Tools → Scripts and click + Create New Script.

Configure the script — fill in the following fields:

  • Script name — give it a descriptive name
  • Script tracking domain — keep the default value
  • Default tracking campaign — select the campaign you created in Part 3
  • Script cookie domain — enter your website domain

Click Save.

Deploy the script — copy your RedTrack script and paste it into every page of your website where Vidalytics videos are embedded.

Part 5 — Configure Conversion Types

Go to Conversion Tracking — navigate to Conversion Tracking in RedTrack.

Add the following conversion types:

  • VideoWatched
  • VideoPlay
  • VideoCTAClick

Click Save.

Republish your Vidalytics videos — go to the Vidalytics integrations page and republish your videos before you start using the integration. This is required for the conversion events to fire correctly.

Part 6 — Configure CRM Conversions to RedTrack

Capture the RedTrack click ID — set up a mechanism in your CRM to capture the RedTrack clickid. This value can be extracted from the rtkclickid-store cookie on your page.

Confirm your CRM supports webhook GET requests — your CRM will need to send a GET request to RedTrack when a conversion occurs.

Build your Conversion Webhook URL — use the following template:

https://{YOUR_RT_ACCOUNT_DOMAIN}/postback?clickid={REDTRACK_CLICKID}&sum={YOUR_CONVERSION_AMOUNT}&type=Conversion&status=approved&ptoken={REDTRACK_PTOKEN} 

Add this webhook URL to your CRM so it fires automatically when a conversion occurs.

Testing and Troubleshooting 

Once everything is set up, test the integration using the following steps — always use a private or incognito window for testing:

  1. Open a page on your domain that contains both the RedTrack script and a Vidalytics embed
  2. Confirm the domain in the RedTrack script matches the page domain

  3. Confirm that defaultcampaignid in the script matches your campaign in Ad Tracking
  4. Check your browser cookies for a cookie named rtkclickid-store

  5. Open DevTools → Network and filter requests for scribe

  6. Open any scribe request whose payload has an event starting with Vidalytics.Player

  7. Confirm the payload contains a clickid property that matches the rtkclickid-store cookie value

  8. Go to Campaigns in RedTrack and confirm conversion counts are updating:
    • VideoPlay is not 0 if you played the video
    • VideoWatched is not 0 if you watched to the end
    • VideoCTAClick is not 0 if you clicked a Vidalytics CTA button (note: Custom HTML CTAs are not tracked)
  9. Confirm your CRM is sending the correct RedTrack Conversion Webhook URL

  10. After 2 hours, check your video's Stats page in Vidalytics to confirm the conversion count is updating

Quick Setup Checklist 

  • ☐ API key entered and integration enabled in Vidalytics
  • ☐ Webhook URL copied from Vidalytics
  • ☐ Traffic source created in RedTrack
  • ☐ Ad Tracking campaign created with network webhook
  • ☐ Tracking script created and added to all pages
  • ☐ Conversion types added (VideoWatched, VideoPlay, VideoCTAClick)
  • ☐ Vidalytics videos republished
  • ☐ Test checks passed in a private window

If you have any questions, feedback, or need assistance, feel free to reach out to our Customer Happiness Team at hi@vidalytics.com. 😊