{"id":3024,"date":"2026-09-18T18:02:39","date_gmt":"2026-09-18T12:32:39","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=3024"},"modified":"2026-09-18T18:02:40","modified_gmt":"2026-09-18T12:32:40","password":"","slug":"what-are-dlt-variable-tags-and-which-one-should-i-use","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/what-are-dlt-variable-tags-and-which-one-should-i-use\/","title":{"rendered":"What are DLT variable tags, and which one should I use?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Under TRAI&#8217;s direction of 18 November 2025, every variable in a DLT content template must be <strong>tagged with the type of data it will hold<\/strong>, instead of using the generic <code>{#var#}<\/code>. Operators check each value you send against its tag, and messages that fail the check are rejected once enforcement is fully on.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The six tags<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Tag<\/th><th>Use it for<\/th><th>Rules<\/th><\/tr><\/thead><tbody><tr><td><code>{#numeric#}<\/code><\/td><td>OTPs, amounts, account or order numbers made only of digits<\/td><td>Digits 0\u20139 only; up to 40 characters<\/td><\/tr><tr><td><code>{#alphanumeric#}<\/code><\/td><td>Names, reference IDs, ticket numbers<\/td><td>Letters and numbers; up to 40 characters; must not contain a link<\/td><\/tr><tr><td><code>{#url#}<\/code><\/td><td>Website and landing-page links<\/td><td>Up to 120 characters; must match a whitelisted URL CTA<\/td><\/tr><tr><td><code>{#urlott#}<\/code><\/td><td>App download and OTT links, such as WhatsApp links<\/td><td>Up to 120 characters; must match a CTA registered under OTT or APK<\/td><\/tr><tr><td><code>{#cbn#}<\/code><\/td><td>Callback numbers<\/td><td>3\u201314 digits; must match a whitelisted Number CTA; keep &#8220;+91&#8221; in the fixed text<\/td><\/tr><tr><td><code>{#email#}<\/code><\/td><td>Email addresses<\/td><td>A valid email format; up to 40 characters<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before: <code>Dear {#var#}, your OTP is {#var#}. Track at {#var#}<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After: <code>Dear {#alphanumeric#}, your OTP is {#numeric#}. Track at {#url#}<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Tips<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pick the <strong>narrowest<\/strong> tag that fits. For example, use <code>{#numeric#}<\/code> for an OTP, not <code>{#alphanumeric#}<\/code>.<\/li>\n\n\n\n<li>Make sure the values your system sends match the tag: no spaces or symbols in <code>{#numeric#}<\/code>, and no links in <code>{#alphanumeric#}<\/code>.<\/li>\n\n\n\n<li>Only <code>{#alphanumeric#}<\/code> may appear back to back without fixed text in between.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Official source:<\/strong> <a href=\"https:\/\/www.trai.gov.in\/sites\/default\/files\/2025-11\/Directions_18112025_0.PDF\" target=\"_blank\" rel=\"noopener nofollow\">TRAI Direction on variable tagging, 18 Nov 2025<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See also our blog post: <a href=\"https:\/\/www.smsgatewaycenter.com\/blog\/trai-dlt-mandatory-variable-tagging-sms-templates\/\">Mandatory variable tagging for DLT SMS templates<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Under TRAI&#8217;s direction of 18 November 2025, every variable in a DLT content template must be tagged with the type of data it will hold, instead of using the generic {#var#}. Operators check each value you send against its tag, and messages that fail the check are rejected once enforcement is fully on. The six [&hellip;]<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[2271],"doc_tag":[],"class_list":["post-3024","docs","type-docs","status-publish","hentry","doc_category-variable-tagging"],"year_month":"2026-09","word_count":236,"total_views":"1","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.smsgatewaycenter.com\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"Variable Tagging","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/variable-tagging\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/3024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/comments?post=3024"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/3024\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=3024"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=3024"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=3024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}