Início » How to install SafetyMails API to verify emails on a Landing Page from RD Station

How to install SafetyMails API to verify emails on a Landing Page from RD Station

Install SafetyMails API to check emails on a Landing Page from RD Station

The real time email verification API from SafetyMails allows you to install a script on Landing Pages from RD Station, avoiding invalid emails on the registration forms.

By activating this feature, SafetyMails will release a script ready to install on your Landing Pages.

Remember: this API requires a monthly subscription of credits.

 

How to install

1- Creating a new source

how to add a new API source on SafetyMails

Then click on RD Station logo.

escolha integração api safetymails

Now, to create the new source, you need to register a name for it and the domain where it will work.

api safetymails step 1

Source name: This name will help to identify your API in SafetyMails in queries and reports.
Authorized domain: It defines which domain is allowed to make connections through the API.

 

RD Station requires two important fields: Email ID and Button ID (submit) :

Email ID
Register here your Email ID.
Button ID (Submit)
Register here the submit Button ID.

WARNING: If you are working with the new Landing Page editor from RD Station, the fields “Button ID” and “Email ID” are required. Check step 3 to see how to obtain this information on your RD Station account. Without this data, the API will not work properly.

2- Optional settings

The API has a standard setup. However, there are some optional API settings if you wish to.

Creating a new SafetyMails API - step 2

Run after typing finishes: This option will run the verification script only when typing is finished.
Typing wait time: Time (in seconds) that the API will wait between the end of typing and the email verification.
Allowed status: In addition to the valid email addresses, it is possible to allow the registration of other types of emails, such as Pending.

Creating a new SafetyMails API - step 3

Message for valid emails: Message that will be displayed in case of valid email.
Message for invalid emails: Message that will be displayed in case of invalid email.
Message for free emails: Message that will be displayed in case of free email addresses (such as Gmail, Hotmail, and others) – It will be displayed only if the user set the API to avoid these emails (see below).
Block free public domains? This option defines if the API will prevent the registration form from free email accounts (such as Gmail, Yahoo, and others).
Example:

After the registration the information, click on “Save” and your new source will be created. A Javascript code will be released.

 

<script type="text/javascript"
src="https://panel.safetymails.com/assets/js/safetyoptin_v3.0.min.js"></script>
<script type="text/javascript">
	__safetyObj__ = {
	api_key: 'e6d796f06a51fe395a7b35421c779859ee6894fe',
	ticket_origem: '14dc0f8c86963f30dc3b498b413640a3ddd79b3e'
	};
SafetyApi.init();
</script>

3- RD Station panel

Access your RD Station account and click on “Converter >> Landing Pages,” then click on the option to edit Landing Page.

How to get “button ID” from your landing pages: on RD Station, click on “Converter >> Landing Pages” then edit a Landing Page. The next step it to click on the submit button and you will see the button ID on the left side of the screen. Just copy this ID and paste it on SafetyMails, in the “Button ID” field from your API source.

Como instalar a API da SafetyMails em uma landing page do RD Station - passo 3

Then click “Edição Avançada” and in the tab “Javascript em BODY” just paste the script from SafetyMails. Apply chances, follow the next steps and save and publish you Landing Page.

Como instalar a API da SafetyMails em uma landing page do RD Station - passo 4

Your SafetyMails real time API is now installed.

In case of doubts, contact us. We are ready to help: [email protected]

 

 

More Reading

Post navigation

Leave a Reply

Your email address will not be published.