Steps to Install your Integration
2.Place the container that will host the integration
First, add a target DOM element to your page. This is the containing element that the integration will be injected into. It will be loaded using an iFrame that will have
width: 100% and
In the example below, we've created an empty div with the id
#mmobIntegration, this will be our target div.
CSS & Layout
You will have to control the integration size by styling your containing
Let's say for example you want to have your integration at full page width and height. You could style your container like so:
and if you need to accommodate a header:
3. Load the integration into the container
After the container, call the mmob snippet to load the integration.
Here's an example on how it looks like:
cp_deployment_idwill be provided to you
locationis the id of the DOM object that will contain your integration
If you decide to not share any information about your users, you can still use the mmob integration. Make sure that the customer information is empty. mmob will then create a unique anonymous user for each user that starts a journey.
Contact us at contact@mmob
Was this page helpful?