With Script Subscribe, you can forward form submissions directly to Spotler MailPro, without using a REST API or other technical integrations. This solution is ideal if you want to continue using your own form, but still need the registrations in MailPro for sending marketing campaigns or newsletters.
Script Subscribe consists of a small piece of code that you place directly after an existing form. This script contains a URL with parameters. As soon as this URL is called, the entered form data is automatically and immediately imported into MailPro. Thanks to this approach, Script Subscribe is a low-threshold and fast way to connect forms to MailPro, with minimal technical effort and without additional integrations.
System page settings
Go to the Content module and navigate to System pages. Here you will find the system page script_subscribe. It may be displayed in red and crossed out, which means the page has not yet been activated. Double-click the page, or select it and click Edit, to go to the system page settings:
-
Active
Determines whether the script can be used. If this is set to no, the script will not work. -
Title
This title is only visible within Spotler MailPro itself. -
Template
This option can be left empty. Script Subscribe is used exclusively as a script and the template is not visible anywhere. -
Language
Script Subscribe can be configured per language. For each language, you use a separate Script Subscribe. -
Linkable
Can remain set to no. This option is only relevant if you want to use the script from within a mailing. -
Enable ReCaptcha check
This option does not need to be adjusted. ReCAPTCHA must be configured on the form itself, not within Script Subscribe. -
Minimum ReCaptcha score required
Again, this option does not need to be adjusted. ReCAPTCHA must be configured on the form itself, not within Script Subscribe. -
Confirmed or Direct subscribe?
Choose Confirmed for a double opt-in. Choose Direct for a single opt-in. -
Subscribe group (Direct subscribe)
Only available with direct sign-up. This allows you to place registrations directly into a specific group. -
Confirmation / welcome mailing
With Confirmed, it is necessary to selectsubscribe_confirmhere (or a mailing with the same properties). With Direct sign-up, this field can remain empty, unless you want to send a welcome email immediately. -
For existing recipient: overwrite existing data
Determines whether existing data is retained (no) or overwritten by the new data from the script (yes). -
IP number(s) that can use this plugin
For security reasons, the IP addresses that call the script must be whitelisted. This prevents misuse. IP addresses are required to activate the script. -
Redirect URL
This is optional. After registration, the visitor can be redirected to, for example, a thank-you page.
Step-by-step plan
Follow the steps below to correctly configure the Script Subscribe system page and connect it to your own form.
- Go to Content – System pages – script_subscribe and click Edit.
- Check all settings and complete or adjust the required fields (such as opt-in type, IP numbers, and mailing selection).
- Click Help at the end of the overview and copy the displayed code.
- Place this code after your own form on the website.
- Thoroughly test the registration, both with new and existing email addresses.
Frequently asked questions
Check the following points:
- Is Script Subscribe set to active? If the page appears in red and crossed out in the overview, it is not active. In that case, a message is also shown at the top of the overview.
- Are the configured IP addresses correct?
- Are you using the correct language version of Script Subscribe?
Note: error messages are only visible to the person implementing the script, not to the end user of the form.
Make sure that reCAPTCHA is configured on the form itself. MailPro assumes that validation takes place at the website level.
In addition, preferably choose Confirmed opt-in, so that invalid email addresses do not end up directly in your subscribers group.
This usually means that the database field has not yet been created, or that the field does exist but has no input type.