Feature – Dynamic Placeholder

The Dynamic-Placeholder module offers you many possibilities to import data into your slider, e.g. to use it in headlines and thus personalise it.

If you know the name of your users, for example, you can address them personally on the first slide or have the email address automatically transferred to the contact form.

Edit

Open the module settings to edit.

Settings

In the tab “General” you will find all the settings.

Selector

The selector is a css selector that specifies in which html elements the placeholder replacements are made. As a rule, nothing should be changed here.

Import url parameters?

The setting ensures that you can import data into the slider via url parameters. E.g. https://my.page.com/slider?url-param=42.

Send url-param with the lead?

If this setting is activated, the parameters from the url are not only available for replacements in the slider, but are also transmitted with the lead. This way you can, for example, loop through your own tracking parameters with the lead.

Import script parameters?

In addition to the url parameters, there are also so-called “script parameters”. These are parameters that are appended to the embed code. https://cdn.slidevision.io/my-company/my-slider.js?script-param=42

Send script-param with the lead?

Just as for the url parameters, you can arrange to send the script parameters with the lead under Settings.

Prefill input fields if corresponding data is available.

This setting makes it possible, for example, to pass the name of a user via a url parameter and to fill in the name automatically in the contact form.

To do this, the url parameter name must match the submission ID of the name in the contact form.

Additional substitutions

Replaces the values before they are replaced in texts (replace replacement values). This option is more commonly used in complex sliders. For example, it allows the word “seventeen” to be replaced with the numeric value “17”.

Enter in the field with “Name=Value”. One entry per line.

Make replacement

Replacements can be made in headings and most text.

The syntax is always {{submission ID}}.

The submission ID is used as the ID for the transmission. Both names describe the same thing, sometimes called “ID for transmission”.

You can read more about this in the post Setting submission ID’s.

So, for example, if you passed your user’s name by url and the ID is contact-name, then you can use Hello {{contact-name}}! in the headline.

Replacements with fallback

There is also a so-called fallback. This takes effect if the parameter was not found.

So you can write {contact-name|visitor}} in the heading and if the parameter “contact-name” is set, it will be used. If no value can be found for the parameter “contact-name”, your fallback “visitor” will take effect in this case.

So you can write {contact-name|visitor}} in the heading and if the parameter “contact-name” is set, it will be used and in the fallback case “visitor”.

Examples for inspiration

As replacements/placeholders you can use the submission IDs from the questionnaire, also the imported script or URL parameters.

Here are a few examples of popular ones you could also use:

  • Hello {{contact-name|visitor}}!
  • Dear {{title}} {{firstname}} {{lastname}}
  • In your {{city|your neighbourhood}}
  • For {{company|in your company}}
War dieser Artikel hilfreich? 1 Star2 Stars3 Stars4 Stars5 Stars (2 Bewertungen, Ø 5.00 von 5)
Loading...