Square Space Update for Integrations (July 2018)

⬅ Back

We love recommending Square Space as an easy-to-use and beautiful website template to use to set up your website. Square Space offers an easy way to integrate code such as Sparxo’s integration codes to allow event-goers to register for events directly on your website without being redirected.

Square Space has recently made an update to their system that affects code added to a Square Space website. In our case, it disables the Sparxo code (script).

Please follow the instructions on this Square Space article for injecting the Sparxo code to make sure it is compatible with your site:

https://support.squarespace.com/hc/en-us/articles/205815908

In short, here is the text version:

  1. In the Home Menu, click Settings, click Advanced, then click Code Injection
  2. Copy and paste the following into the blank area now displayed under “header”:

<script>(function (d, s, b) {if (d.getElementById(b)) {return;} var l, f = d.getElementsByTagName(s)[0];l = d.createElement(s);l.id = b;l.src = “https://e.sparxo.com/assets/shared/client.js”;f.parentNode.insertBefore(l, f);}(document, ‘script’, ‘sparxo-js’));</script>

 

TIP: In order to use Code Injection, you need to have a Business account with Squarespace and not a Personal account. The Business account is $6/month more than the Personal account as of May 2019.

For newer Square Space sites, you may need to disable Ajax so that the Sparxo code loads. Ajax is a feature that allows parts of a page to be loaded, without loading the full page.

If your template uses Ajax loading (all the Brine-family templates do) and you want to disable Ajax you can do so in the Style Editor. To disable Ajax:

Open a Blog Page then, in the Home Menu, click Design, and then click Style Editor.

Scroll down to Site: Loading.

Uncheck Enable Ajax Loading.

This workaround will fix the issue, but it will disable Infinite Scroll and all Ajax features.

Please contact us if you have any questions – [email protected]

Last Updated On May 22, 2019