Articles on: Engage

Publishing and Securing Widget Displays

Publishing your Widget Display on websites and mobile apps is as simple as copying and pasting the embed code into relevant pages where you wish to feature your content.

Additionally, you can restrict the domains on which your Widget Display works to prevent anyone using your embed code on other sites.


How to Publish a Widget Display on a Webpage or Mobile App



Step 1: Navigate to the Widget Displays page

From the left menu, browse to Engage > Widget Displays.


Step 2: Select the Widget Display you wish to publish



On the Widget Displays Page:
Click on the Publish button under the Actions column for the Widget Display you wish to publish. This launches the Publish Settings Modal.


Step 3: Authorise your domains names and copy the embed code



In the Publish Settings modal:
Authorised Domains – enter each of the domain names (one per line) where the Display will be embedded, for example:
mydomain.com
www.mydomain.com
shop.mydomain.com


Select your Embed method by clicking on the JavaScript or IFrame buttons. Both methods are fully responsive and search engine optimised. We recommend the JavaScript method however as each website and mobile app is different, you can use the IFrame method if you encounter any issues.
Click on the Copy Embed Code button to copy the embed code for your selected method. You can then paste this embed code into a text document such as Notepad (Windows) or TextEdit (Mac) and save it if required.
For GDPR compliance purposes, we recommend that you include the highlighted text in your privacy policy. Please consult your Data Protection Officer regarding any legal questions.
Click Save when done.


Step 4: Paste your embed code into web or mobile app page

You can now paste the embed code you just copied for this Display into the relevant HTML or Text Edit section of the web or mobile app page where you wish to show the Display.

Updated on: 04/02/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!