Prerequisites
Running a Messaging campaign in an embedded space requires an API key from MX. If you didn’t obtain one during the onboarding process, contact Support.Creating an Embedded Space
To create an embedded space, log into the Intelligence Platform and navigate to Messaging > Embedded Spaces, then select the Create a space button and follow the prompts.Creating a Messaging Campaign for an Embedded Space
To create a Messaging campaign for an embedded space:- Log into the Intelligence Platform and navigate to Messaging.
- Select the Create Message button.
- Follow the prompts. When you reach the product selection screen, choose Embedded.
- Continue following the prompts until finished.
Using the Embedded Space Code
Embedded space code is the snippet of implementation code you add to your website to connect a page’s banner area to an embedded space. The campaign message can be loaded in any location able to access the MXuser_id field.
If a message is located in multiple places, you need to maintain the same dimensions across locations.
If a user is targeted for multiple campaigns, they’re displayed according to the priority that was set when you created the campaign.
The embedded space code is in HTML and JavaScript. Here’s an example:

