Visitor counter for Squarespace
Add the Stats4U image counter to a Code Block in HTML mode.
Step by step
- In the Squarespace editor, add a Code Block and select HTML mode.
- Paste the Stats4U HTML <img> code and switch off Display Source.
- Save the page and check the counter on the public page.
The code
Tab for this platform: HTML <img>
<a href="https://www.stats4u.net/live/12345"><img src="https://www.stats4u.net/c/12345-3300.png" alt="Visitor counter"></a>In this example the counter number is 12345 and the design is a sample. The wizard gives you your own number and the design you pick.
Good to know
- JavaScript support in Code Blocks depends on the Squarespace plan.
Guides for other platforms
- WixEmbed HTML in the Wix Editor or Embed Code in Wix Studio – and why Wix shows a different address in your statistics.
- WordPressA Custom HTML block on your own WordPress; the HTML <img> tab on the free WordPress.com plan.
- BloggerThe HTML/JavaScript gadget puts the counter on every page of the blog.
- Google SitesInsert → Embed → Embed code in the new Google Sites.
- chomikuj.plThe profile description accepts pictures but no scripts – so the HTML <img> version goes in.
- GitHub PagesStraight into the HTML file or the Jekyll layout – Markdown pages work too.
- JimdoThe Widget/HTML element in Jimdo Creator – and why the newer Jimdo website builder has no place for it.
- WeeblyThe Embed Code element on one page, or the Footer Code field for every page of the site.
- NeocitiesInto the HTML of your page, with 88×31 buttons for your button wall.
- Forums & profilesBBCode for forum signatures and game profiles, HTML <img> where HTML is allowed.
- GhostAdd the Stats4U counter to a Ghost post with an HTML card.
- WebflowEmbed the Stats4U counter using a Code Embed element.