All integrations

Webflow

Webflow has a head code field in the site settings. Custom code needs a paid site plan.

Steps

  1. Open your project and go to Site settings > Custom code.
  2. Paste the snippet below into Head code.
  3. Click Save changes.
  4. Publish your site. Custom code only runs on published sites.

The snippet

Replace SITE_ID with the ID from your Glyphex site settings.

<script defer src="https://glyphex.io/t/SITE_ID.js"></script>

Verify it works

Open your live site in a new tab, then open Realtime in your Glyphex dashboard. Your visit should show up within a few seconds.

Track custom events

Select an element, open its settings panel, and add custom attributes. These match the declarative form:

<button
  data-glyphex-event="signup_click"
  data-glyphex-event-plan="pro"
>
  Sign up
</button>

Events can also be sent with window.analytics.track(name, props) or the declarative data-glyphex-event and data-glyphex-event-<prop> attributes.

Troubleshooting

  • No data? Check that the Site ID matches exactly and the page was republished or the cache cleared.
  • Ad blockers can block analytics scripts. Disable yours to test.
  • Content Security Policy: allow https://glyphex.io in both script-src and connect-src.
  • Check DevTools > Network for a request to glyphex.io/t/. A 404 means the Site ID is wrong.