Product Requirements |
Following signup, you may want the campaign's thank-you page to include some of the provided information to reinforce the contact's selection or serve as a reminder. This personalization is possible by including merge tags in the content of your thank-you page. Learn more about adding personalization to emails and onsite campaigns.
Note: This approach works for all default and custom field types available in Build your own campaigns and the default name, email, and phone customer attribute fields available in Plays.
Example campaign
In this example, visitors must submit their email address and favorite Hogwarts House to receive a special discount. To create a campaign like this one:
- Navigate to the Convert > All Campaigns and create or select a Build your own campaign.
- Select the Form fields card, add the desired compatible field, and Save. The property name and field options below were used for the "Hogwarts House" example. The property name is important to note as it will later be referenced in our merge tag.
- Next, select the Design card shown at the end of the list. If the option isn't available, make sure a display is selected and that the After Signup Action is set to the Show thank you page option.
- In the thank-you page editor, add the {{ contact.custom_fields.* }} code snippet to pull in the desired information of custom fields and {{ contact.* }} to pull in the desired information of default customer attribute fields. Replace the asterisk with the field's property name. For the "Hogwarts House" example, the snippet would be {{ contact.custom_fields.hogwarts_house }}.
- Configure the rest of the campaigns and Publish. The final result will look something like this: