Finding your popup widget script
First, you need to find the popup script. Start by navigating to the Widgets section in Trustmary, and selecting a popup. If you don't have a popup yet, click on Create new to start creating one.
Now that you're in the widget editor, go to the Add to website tab and and copy the code snippet under Trustmary tag by clicking on it.
Now you're ready to install the code!
Installing directly to WordPress
The most simple way of installing the widget script onto your WordPress site, is through the Insert Headers and Footers plugin. For instructions on how to install the plugin, see the video below.
After the plugin is installed, simply paste the Trustmary tag you've retrieved from the app into the Scripts in header text box in the plugin settings and click Save.
Installing with Google Tag Manager
Alternatively, you can install the script through Google Tag Manager. In fact, we recommend this approach, as the popups trigger more reliably when installed in this manner.
Follow our guide here on how to install the script.