How can we help?

Getting started

Home
Quick Start
Tutorials
Templates
Recent Updates

Building

Creating a popup
The Popup Editor

Connecting

Embedding your popup
Subscribing to popup submissions
Integrations

Observing

Popup Analytics
Popup Submissions

Company

Terms and conditions
Privacy policy

Installing with Wix

To setup Wix to work with Embedery, you will need to install the Embedery JavaScript snippet into your Wix website.

To do this, you will need to ensure your website is connected to a custom domain, not one Wix.com has given you by default. More can be found here on how to do that https://support.wix.com/en/article/connecting-a-domain-to-your-site-195136

So to add the JavaScript snippet you will need to:

  1. Go to Settings in the Wix website dashboard
  2. Go to Advanced
  3. Click on Custom Code
  4. Then click on Add Custom Code, it should be in the top right
  5. Add the following code to the head of your website.
<script type="text/javascript">
  !function(window, document, undefined) {
    window._embedery = {};
    window._embedery.load = function(p, u){
      var o = document.createElement("script");
      o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "https://get.embedery.com/v1/js/" + p + ".js";
      var i = document.getElementsByTagName("script")[0];
      i.parentNode.insertBefore(o, i);
      window._embedery.user = u || {};
    }

    // load widget and define user
    window._embedery.load('ADD YOUR PROPERTY ID HERE', {
      //email: 'test@user.com', // Define user properties here,
      //firstName: 'Test' // they are optional but will provide a better understanding of who submitted what
    })
  }(window, document)

</script>

Ensure you replace 'ADD YOUR PROPERTY ID HERE' with your property ID.

Your property ID can be found in the URL of Embedery.com "https://embedery.com/a/PROPERTY_ID/widget/WIDGET_ID", in this case, "PROPERTY_ID" is the property URL.

If you are asked to categorize why they of code this is, select Analytics

My issue is still not resolved.

We are sorry to hear that you have not found the appropiate documentation to help solve your problem.

Please reach out to us and we will do our best to help.

© 2022 Embedery