Yes, the widget can be used in both modes on the same page at the same time. Follow these guidelines to implement it correctly:
Default Configuration:
Ensure the application
data-configDOES NOT contain the“embedded”: trueattribute in the script.Pop-up mode:
You can use either the
<a>or<button>tags, which will contain theventrata-checkoutattribute and itsdata-config. While you may specify the “embedded”: false attribute, it is not required as this is the default setting.Refer to the Implementation Guide for more details.
Embedded mode:
Use the
<aside>tag to define the widgets’swidthandheight. Add theventrata-embedded-widgetattribute along with the widget’sdata-config. Be sure to specify the“embedded”: trueattribute to enable embedded mode.Refer to the Implementation Guide for more details.
