Variable Tagging on DLT SMS Templates
What is Variable Tagging?
Variable tagging is the process of assigning a predefined data type tag to each variable used in an SMS template. This ensures that only the approved type of data is populated in that variable during message submission, and SMS template cannot be misused or manipulated.
Variable Tagging on DLT of SmartPing / TATA
Variable tags are not appended in the template text.
Variables must be tagged in the designated variable tagging section provided on the DLT portal during template registration.
Types of Tags:
Tag | Purpose | Example | Validation Rules |
#number#/#numeric# | Numeric values (OTP, amount) | OTP: #numeric# | Digits only; no letters or special characters |
#url# | Website links | Track order: #url# | Must match the registered Static / Dynamic / Short URL |
#urlott# | OTT / App links | Download app: #urlott# | Must match registered OTT / APK URL |
#cbn# | Callback numbers | Call #cbn# for support | Must be registered Mobile / Landline / Toll-Free number |
#email# | Email address | Write to #email# | Must follow a valid email format (regex compliant) |
#alphanumeric# | Mixed values (IDs / Reference numbers / Name / Address) | Ref ID: #alphanumeric# | Letters & numbers only; no special characters; max 40 characters |
Sample Template:
Your OTP is {#var#}. Please do not share it with anyone.
Variable Tagging:
var1 → #number# / #numeric#
Variable Tagging on DLT of Airtel / Jio / Vodafone Idea (VI) / BSNL
Variable tags must be appended directly within the SMS template content.
Types of Tags:
Tag | Purpose | Example | Validation Rules |
#numeric# | Numeric values (OTP, amount) | OTP: #numeric# | Digits only; no letters or special characters |
#url# | Website links | Track order: #url# | Must match the registered Static / Dynamic / Short URL |
#urlott# | OTT / App links | Download app: #urlott# | Must match registered OTT / APK URL |
#cbn# | Callback numbers | Call #cbn# for support | Must be registered Mobile / Landline / Toll-Free number |
#email# | Email address | Write to #email# | Must follow a valid email format (regex compliant) |
#alphanumeric# | Mixed values (IDs / Reference numbers / Name / Address) | Ref ID: #alphanumeric# | Letters & numbers only; no special characters; max 40 characters |
Sample Template
Your OTP is {#numeric#}. Please do not share it with anyone.
Once Scrubbing / DLT Validation will start on LIVE traffic:
Ensure SMS variable values align with the approved tags and validation requirements.