Zephr User Guide

Run the Script

1 views 0

To run the script hosted by Zephr, check the latest version number.

The following HTML is automatically injected to your document by a script that is loaded from the CDN:

        <script src="https://assets.zephr.com/zephr-browser/1.3.11/zephr-browser.umd.js"></script>

You must add a line of code to initialise the JavaScript, so you can include the script. This code can be added anywhere in the document, typically in the document head. You can also use a tag manager to deploy the script.

After you deploy the script, you can view information on decisions and meters from Zephr under the window.Zephr object.