Inserting Group Values or Variables
When creating a Landing Page, you have the ability to insert group values that are unique to each contact from your group's database, by following these easy steps:
Step 1: Update Values
Include the required group values in your group when importing your database.
Step 2: Insert Values
Insert your group values into your landing page by selecting the preferred value from each respective field, depending on the specific element. Each element that allows for the use of values will have the "Values" option available on screen.
API Sending
Custom variables can be inserted in the same manner as group values. Variables should always be in the following {{variable_name}} format.
RESTful example:
{
"Messages": [
{
"Content": "Hi John, please find your latest statement by clicking on the following link - @@Link@@",
"Destination": "27812345678",
"LandingPageVariables": {
"LandingPageId": "20201209063822720",
"Variables": {
"Name": "John",
"Account_Number": "123456",
"Amount": "500"
}
}
}
]
}
Important Information
- There is no limit on the number of custom variables in a Landing Page that can be added. The only prerequisite is that all custom variables are passed with your API request.
- All inserted variables should be passed during the API SMS send, and when done correctly it will be inserted into the defined Landing Page. See our guide on how to send a message via API HERE.
Important Information
- When previewing or sending a test Landing Page from the editing screen, you will not see any real values, only {{value1}}, as an example of a custom field. Only after selecting a specific group and sending your campaign will the actual values be added to the Landing Page.
Importing of Data for Website Senders
- Groups require additional data in columns B - G in order for it to be inserted into your Landing Page.
- SMS placeholder values 1 - 6 = Excel spreadsheet columns B - G.
Updated 10 months ago