Introduction
Swipe Pages is a landing page builder that lets you create faster, mobile-optimized landing pages. It enables you to use a powerful drag-and-drop builder to create web pages. The builder offers 25+ elements and 80+ pre-built blocks to assist with the page-building process.
MoEngage <> Swipe Pages
With the MoEngage and Swipe Page integration, you can capture your landing page inputs and send them personalized, targeted campaigns via MoEngage to drive conversions. With this integration, you can:
- Create or update users in MoEngage when a is submitted
- Create events with details submitted from the form
Integration
library_add_check |
Prerequisites
|
Step 1: Get your MoEngage endpoint
Reach out to to your MoEngage Customer Success Manager to get a dedicated endpoint for your SwipePages integration.
Step 2: Set up the webhook in SwipePages
Follow the Swipe Pages guide here to create a webhook. On your Swipe Pages dashboard,
- Navigate to Integrations >> Webhooks on the far left side panel.
- Click "Add Global Webhooks"
-
Fill in the webhooks details:
- Name- You can enter MoEngage integration or provide any name of your choice.
- Webhook endpoint URL- This is the same endpoint that you would have received in step 1
- Webhook Method- Post
-
Webhook Event- Form Submitted
- Click Next
- Select the domain to which you wish to tie the webhook
-
Now, select the pages tied to the selected domain.
-
Map the Swipe Pages form fields to the appropriate webhook fields. Select the fields that you want to send to MoEngage
-
-
Mandatory fields:
- customer_id: This is the unique identifier between MoEngage and SwipePages. It can be email or mobile number or any other field that is being captured in the form.
- Standard MoEngage fields: MoEngage has fixed keys for some standard fields which needs to be mapped as it is for the user profile to be updated. These fields are first_name, last_name, email, mobile number.
-
Other form fields: Any other data that you are capturing in forms. You can map these to any keys and will show up in MoEngage in form event attributes.
-
Mandatory fields:
-
- Select Miscellaneous options:
- Webhook Format- Raw
- HTTP headers -
- Content-type : Application/json
- "Authorization": "Basic <Token Key>"
Get your Basic Token by going to any online Basic Auth Header Generator tool. Enter
- username as your <Workspace ID>
- password as <Data API Key>
Workspace ID and Data API Key can be fetched from MoEngage Dashboard >> Settings >> APIs.
- Click Create Webhook.
Step 3: Test your webhook
Add leads to your landing page and then click on Run a test.
Step 4: View details on MoEngage
Your users and events should start showing up in MoEngage. You can validate these from the user profile. Event name will be "SwipePages Form filled". You can now run event-triggered campaigns to your users.