URL Parameters as Compact Token-Based Approach
Blings supports personalization through a compact token passed as a URL parameter. This method allows you to pass multiple dynamic fields (like uid, first_name, and loyalty_points) using a single short, obfuscated parameter.
This guide explains how the token works, why it’s recommended, and how to implement it on both your side and Blings’ side.
🚀 Why Use a Token Instead of Plain Parameters?
Shorter URLs
Especially important for SMS, QR codes, and email links.
Secure by Design
Makes it harder for end users to edit or tamper with values.
Fully Unicode Safe
Supports emojis, RTL, non-Latin characters.
How it works
Blings lets you personalize videos by passing a single token in the URL. That token contains all the dynamic values you want to inject (like name, tier, points, etc.). Instead of exposing each field as a query param, you pack everything into one compact string. On the landing page, the token is decoded and the values are merged into the video in real time, on the viewer’s device. You control how the data is encoded — from simple base64 to advanced compression or encryption — as long as both sides agree on the format.
🔧 Example: base64url token with semicolon format
Let’s say you want to personalize a video with the following fields:
Loyalty points
Membership tier (e.g. silver)
Customer name
Instead of sending them as plain query parameters:
You can send a single compact token:
This token is simply the string 90;silver;John encoded in a safe base64url format. Here’s the full working example:
🧠 How to encode on the sender side
🧩 How to decode on the landing page
Last updated

