SDK v1.1.0

Our embeddable widget is now available in two modes: directly in DOM or in an iFrame.

Include a mode property in widgetOptions when initializing the embeddable widget to ensure your widget shows in an iFrame mode.

const widgetOptions = {
	...
  "affiliateId": "XXX",
  "mode": "iframe", //'iframe' or 'dom'
  "placement": "mmb" //'destination', 'confirmation', 'search', etc. to provide context
}

📘

Placement

Provide a placement property when setting the mode to iFrame to better understand where users are interacting with the widget and to ensure sales of eVisas are attributed correctly.