Install guide · App, not in the store yet

Add the visitor toolbar to Square Online

How to add the visitor toolbar to Square Online. The toolbar lets a visitor change how your pages look and read for themselves; it fixes nothing in your site, does not change whether it meets WCAG or the BFSG, and our scans never see it.

Before you start

  • Your site key. It is in the Reviseberg dashboard, under Settings › Visitor toolbar, on the Install tab. In the steps below it is written YOUR-SITE-KEY.
  • Switch the toolbar on for your site on the same screen. Until it is on, the tag loads and shows nothing.

The code

Replace YOUR-SITE-KEY with your key. The dashboard shows the same tag with your key already in it.

<script src="https://reviseberg.com/widget/v1.js" data-site-key="YOUR-SITE-KEY" defer></script>

Steps

  1. In your Square Online overview, look in Website › Settings for a setting for custom code or tracking tools that applies to every page. Whether your site has one depends on its plan and region.
  2. If it does, paste the tag there, replace YOUR-SITE-KEY with your key, and save.
  3. Publish the site.

Good to know

An embed block on a single page is no substitute: the toolbar would only be on the pages that have one.

A Reviseberg app for Square is built, but it is not in the Square App Marketplace yet.

Check that it works

  • Open a page of your site in a private window — not in the platform’s editor or preview, where most plugins leave the tag out on purpose.
  • View the page source, or search the developer tools’ Elements panel, for widget/v1.js. There should be exactly one tag, with your key.
  • The toolbar’s button appears once the toolbar is switched on in the dashboard. On the same screen, “Last seen on your site” says when the tag last loaded on one of your pages.
  • No button? The browser console has a line beginning “Reviseberg toolbar:” that says why — a key with the wrong shape, for example, or the tag on the page twice.
  • The toolbar answers only on the addresses allowed under Settings › Visitor toolbar; your site’s own address always is. Add a staging address there before you test on it.

More