In Personizely's widget's text and personalizations you can use dynamic text content to make the content even more relevant.

There are 4 types of placeholders now:

Visitor properties
Querystring parameters
Javascript variables
Datetime placeholders

The placeholders have the following format:
{%property% or '%fallback text%'}

The properties are going to be described below, while the fallback text stands for the text in case if the property value is null.

Visitor properties
You can use placeholders to show visitor's properties right in the text of your widgets or personalized regions. Here's the list of the placeholders:

firstName
lastName
phone
email
bio
companyName
companyTitle
country (country code)
countryName
region
city

This placeholder has the following format:
{visitor.%property% or 'fallback'}

A good example would be {visitor.countryName or 'your area'}

For custom fields the following structure will be applied:
{visitor.customField[%id%] or 'fallback'}

where %id% is the id of the custom field which you can find in Settings -> Custom Fields

Querystring parameters
You can extract text from the url query string parameters to show them in the personalization text. This works really great with ads where you can place the keyword inside the query string.

This placeholder has the following format:
{query.%parameter% or 'fallback'}

A good example would be {query.utm_term or 'something generic'}

Datetime placeholders
You can use placeholders to show the current date, time and other date/time-related properties right in the text of your widgets or personalized regions. Here's the list of the placeholders:

date - the current date in the user string format
hour - current hour, e.g. 17
minute - current minute, e.g. 45
day - current day, e.g. 31
month - current month, e.g. 1
year - current year, e.g. 2019
dayOfWeek - current day of the week, e.g. Tuesday
timeOfDay - the current time of the day, one of morning, afternoon, evening, night
season - current season, one of winter, spring, summer, autumn

This placeholder has the following format:
{datetime.%property%}

A good example would be {datetime.date}

Javascript variables
If there is something that you can expose as JS variables, you could is it in the personalizations too
This placeholder has the following format:

{variable.%variableName% or 'fallback'}

A good example would be {variable.document.title or 'something generic'}
Was this article helpful?
Cancel
Thank you!