{"Status":true,"Message":"","Response":{"post":{"postuid":"qdrjdr5enm","tenantuid":"d8b744fc-2e70-4089-bb80-dd1d08f6c7b2","projectuid":"239698c5-f7eb-4574-8cc8-c6568f08b3a0","title":"Built in Personalization Tokens","slug":"article/qdrjdr5enm-built-in-personalization-tokens","html":"\u003Cp\u003EBelow is a list of DailyStory\u0026#39;s built-in personalization tags:\u003C/p\u003E\u003Ch3\u003EContact Personalization Tags\u003C/h3\u003E\u003Cp\u003EThe following personalization tags are unique to each individual contact.\u003C/p\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003E\u003Cstrong\u003EImportant\u003C/strong\u003E personalization tokens are case sensitive.\u003C/p\u003E\u003C/cite\u003E\u003Cul\u003E\u003Cli\u003E\u003Ccode\u003E{{user.fullname}}\u003C/code\u003E\u0026#160;- string; full name of the contact. If there is not first or last name, the email is returned.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.firstname}}\u003C/code\u003E\u0026#160;- string; first name of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.lastname}}\u003C/code\u003E\u0026#160;- string; last name of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.email}}\u003C/code\u003E\u0026#160;- string; email address of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.country}}\u003C/code\u003E\u0026#160;- string; country of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.region}}\u003C/code\u003E\u0026#160;- string; region or state of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.city}}\u003C/code\u003E\u0026#160;- string; city of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.address}}\u003C/code\u003E\u0026#160;- string; address of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.postalcode}}\u003C/code\u003E\u0026#160;- string; postal or zip code of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.title}}\u003C/code\u003E\u0026#160;- string; title of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.phone}}\u003C/code\u003E\u0026#160;- string; phone number of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.mobile}}\u003C/code\u003E\u0026#160;- string; mobile phone number of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.website}}\u003C/code\u003E\u0026#160;- string; url of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.gender}}\u003C/code\u003E\u0026#160;- string; gender of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.age}}\u003C/code\u003E\u0026#160;- number; age of the contact.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.lastModified}}\u003C/code\u003E\u0026#160;- date; when the contact was last modified in the account\u0026#39;s timezone.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.lastContacted}}\u003C/code\u003E\u0026#160;- date; when the contact was last contacted in the account\u0026#39;s timezone.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.company}}\u003C/code\u003E\u0026#160;- string; name of the company or organization the contact is part of.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{user.industry}}\u003C/code\u003E\u0026#160;- number; industry code number the contact is part of.\u003C/li\u003E\u003C/ul\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003ETo account for when a user does NOT have a first name but you still want to use their first name when they do, you can use \u003Cspan style=\u0022color:#d33115\u0022 data-hd-color=\u0022#d33115\u0022\u003E\u003Ccode\u003E{{@ user.firstname, default=\u0026#34;friend\u0026#34;}}\u003C/code\u003E\u003C/span\u003E. This will insert the word friend if the user does not have a first name.\u003C/p\u003E\u003C/cite\u003E\u003Ch3\u003EAccount Personalization Tags\u003C/h3\u003E\u003Cp\u003EThe following personalization tags are global to your account within DailyStory. Many are set in \u003Ca href=\u0022/article/wn95tda3bk-account-settings\u0022\u003Eaccount settings\u003C/a\u003E.\u003C/p\u003E\u003Cul\u003E\u003Cli\u003E\u003Ccode\u003E{{account.name}}\u003C/code\u003E\u0026#160;- string; name of the account.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.address}}\u003C/code\u003E\u0026#160;- string; physical address of the account.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.phone}}\u003C/code\u003E - string; phone number of the account.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_website}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s website.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_logo}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s logo.\u003Ccode\u003E{{account.url_appstore_google}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Android App download.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_appstore_ios}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Apple App download.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_facebook}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Facebook page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_instagram}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Instagram page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_linkedin}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s LinkedIn page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_pintrest}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Pinterest page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_twitter}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Twitter page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_tiktok}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s TikTok page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_yelp}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Yelp page\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_youtube}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s YouTube page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_blog}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Blog page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_snapchat}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s Snapchat page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_whatsapp}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s WhatsApp page.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{account.url_podcast}}\u003C/code\u003E\u0026#160;- string; URL to the account\u0026#39;s podcast page.System Personalization Tags\u003C/li\u003E\u003C/ul\u003E\u003Cp\u003EThe following tokens are tokens that evaluate to common values and are useful for comparisons. These dates are in the account\u0026#39;s time zone.\u003C/p\u003E\u003Cul\u003E\u003Cli\u003E\u003Ccode\u003E{{system.today}}\u003C/code\u003E\u0026#160;- date; evaluates to today\u0026#39;s date localized for your account.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003E{{system.year}}\u003C/code\u003E - number; returns the current year.\u003C/li\u003E\u003C/ul\u003E\u003Cp\u003EThe default format for a date is M/d/yyyy. For example, May 21, 2024 is formatted as 5/21/2024. The format of the day can be modified to virtually any date/time format. See \u003Ca href=\u0022https://docs.dailystory.com/article/qzdfgegk5z-personalization\u0022\u003EFormatting Dates and Times\u003C/a\u003E.\u003C/p\u003E\u003Cp\u003EMany of the account tokens are built into templates and designers.\u003C/p\u003E\u003Cp\u003EFor example, the URLs set for App download or Social buttons in the email designer is automatically set using the Account personalization tokens.\u003C/p\u003E\u003Cp\u003EThe screen shot below shows the email designer with the app store button for Google Play selected. The url is set to the personalization value for Google\u0026#39;s App Store in \u003Ca href=\u0022/article/wn95tda3bk-account-settings\u0022\u003Eaccount settings\u003C/a\u003E.\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/2f42c57abb67b6db78005ac8a3820688.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003ERecommended\u003C/span\u003E\u003Cp\u003E\u003Cstrong\u003ENote\u003C/strong\u003E you can replace the personalization token with a direct URL too.\u003C/p\u003E\u003C/cite\u003E\u003Ch3\u003EService Personalization Tags\u003C/h3\u003E\u003Cp\u003EDailyStory includes several service personalization tags. These are specialized tags to insert information, such as the weather forecast.\u003C/p\u003E\u003Ccite class=\u0022warning\u0022\u003E\u003Cspan class=\u0022title\u0022\u003E\u003Ci class=\u0022fa-duotone fa-circle-exclamation\u0022 aria-hidden=\u0022true\u0022\u003E\u003C/i\u003EWarning\u003C/span\u003E\u003Cp\u003E\u003Cstrong\u003EImportant\u003C/strong\u003E when using the service tags it is important to test them to ensure the proper results are achieved.\u003C/p\u003E\u003C/cite\u003E\u003Ch4\u003EWeather\u003C/h4\u003E\u003Cp\u003EThe weather service personalization tag is used to insert a weather forecast. For example:\u003C/p\u003E\u003Cp\u003ETomorrow\u0026#39;s forecast is: \u003Ccode\u003E{{@ weather \u0026#34;tomorrow;santa fe, nm\u0026#34;}}\u003C/code\u003E\u003C/p\u003E\u003Cp\u003EWhen written, this was June 26th 2024 and the result is:\u003C/p\u003E\u003Cp\u003ETomorrow\u0026#39;s forecast is: Isolated showers and thunderstorms before 9pm. Partly cloudy, with a low around 66. Southeast wind 5 to 10 mph. Chance of precipitation is 20%.\u003C/p\u003E\u003Cp\u003EThe weather service is useful for including weather details for outdoor events.\u003C/p\u003E\u003Ch5\u003EFormat\u003C/h5\u003E\u003Cp\u003EIt is important that the format of the personalization tag is followed precisely. If not, the text, \u0026#34;sorry, but we were unable to get the forecast.\u0026#34; is returned.\u003C/p\u003E\u003Cp\u003EThe tag must start with \u003Ccode\u003E{{@ weather\u003C/code\u003E and end with \u003Ccode\u003E}}\u003C/code\u003E. The quoted text must be in the format below. All dates are calculated relative to the tenant\u0026#39;s timezone.\u003C/p\u003E\u003Cul\u003E\u003Cli\u003E\u003Ccode\u003Etoday\u003C/code\u003E - the current date when the personalization is rendered.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003Etomorrow\u003C/code\u003E - the current date plus 1 day when the personalization is rendered.\u003C/li\u003E\u003Cli\u003E\u003Ccode\u003Eyyyy-MM-dd\u003C/code\u003E - a specific date, e.g. 2024-06-26 for June 26th 2024.\u003C/li\u003E\u003C/ul\u003E","publish_status":0,"post_type":"Article","author":{},"featured_image_updating":false,"meta_description":"Below is a list of DailyStory\u0026#39;s built-in personalization tags: Contact Personalization Tags The following personalization tags are unique to each individual contact. Important personalization tokens are case sensitive. {{user.fullname}} \u0026#160;- string; full name of the contact. If there is not first or last name, the email is returned. {{user.firstname}} \u0026#160;- string; first name of the contact. {{user.lastname}} \u0026#160;- string; last name of the contact. {{user.email}} \u0026#160;- string; e ...","display_toc":true,"has_workingcopy":false,"allow_indexing":true,"sort_order":2,"total_views":1059,"date_published":"2024-08-13T15:39:42","date_updated":"2025-05-16T19:19:08.187","date_created":"2025-04-24T15:02:55.31"}}}