How can I add a landing page as a link in an email, including a personalized form?

When creating a landing page, you choose a URL. This will be the general URL for the landing page. You can use this URL everywhere. For example, you can link to the landing page from a website outside of Spotler MailPro. Through this URL, everyone can fill out and submit the landing page form, but the form will not be personalized.

You can link to a landing page with a personalized form, from an email. When a recipient clicks the URL, they will land on a page where their already known details will be filled out automatically.

In this article, we'll show two ways to obtain the personalized URL and we'll describe how to test the URL.

 

Automatically generate the personalized URL

In the drag & drop email editor, you can automatically generate the personalized URL. You can do so as follows:

  1. Navigate to a block which uses the WYSIWYG editor.
  2. Navigate to a box for extensive text formatting and click the chain icon.email_editor_chain_icon.png
  3. A pop-up screen opens. Click the input field under Pages and select the landing page you wish to use. Make sure you select the personalized version.example_pop_up_personalized_lp_link.png
  4. At Protocol and URL, the right values will automatically be filled out.
  5. When you click OK, the URL will be placed in the text box. If you wish to place it somewhere else, for example, on a button, copy the line of code from the URL box and paste it in the desired spot.
    For a button, paste it here:

 

Write the personalized URL by hand

Instead of using the pop-up menu, you can also write the code for the personalized URL by hand.

This is how you do it.

The URL is being generated by a line of Twig-code. The code is structured as follows:

{{ link.page.name_of_the_page }}

Check the name of the landing page. For example, "Tell us your interests".

Write the name of the landing page in the line of code with underscores in place of the spaces. So, "Tell us your interests" will turn into Tell_us_your_interests.

The code will then look like this:

{{ link.page.Tell_us_your_interests }}

You can then use this line anywhere in the drag & drop editor to generate the URL.

 

Test the personalized URL

To test that the URL works and the contact data is indeed filled out automatically, take the following steps.

  1. Make sure that your email address with the data you would like to be filled out is in the contact database.example_contact_data.png
  2. Send the email containing the URL to your own email address through a Quick send.example_quick_send.png
  3. Click on the URL in the email and check if the details are pre-filled in the form.example_prefilled_lp_form.png