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 Squarespace

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

To do this, you will need either a Business or Commerce plan with SquareSpace. They restrict access to injecting JavaScript to those accounts only.

So to add the JavaScript snippet:

  1. Navigate to the Home menu
  2. Then click on Settings
  3. Then Advanced
  4. Finally click on Code Injection

Once there, go to the "header" section and add the following code

<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.

And that's it, we will eventually provide an official plugin if enough Embedery users ask for it. So please contact us if interested.

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