Skip to main
← Index

Install Walityk via snippet (Webflow, Wix, Squarespace, others)

Drop the Walityk tag in 1 snippet on any site (Webflow, Wix, Squarespace, Framer, custom).

This guide covers installing Walityk via an HTML snippet. Works on any site that lets you edit the <head>: Webflow, Wix, Squarespace, Framer, Carrd, Ghost, Hugo, Jekyll, or a hand-built site.

Plan for 5 minutes.

1. Get your snippet

  1. Sign in to the Walityk dashboard.
  2. Sites → New site → Generic snippet.
  3. Name your site, paste the URL, click Create.
  4. You get a ~10-line snippet. It looks like:
<script>
  (function(w,d,k){w.walityk=w.walityk||function(){(w.walityk.q=w.walityk.q||[]).push(arguments)};
  var s=d.createElement('script');s.async=true;
  s.src='https://cdn.walityk.com/t.js?k='+k;
  d.head.appendChild(s);})(window,document,'wlk_live_xxxxxxxxxxxxx');
  walityk('init');
</script>

The snippet is non-blocking: it loads async after the page renders. Zero Core Web Vitals impact.

2. Paste the snippet in <head>

Webflow

  1. Project Settings → Custom code → Head code.
  2. Paste, click Save, publish.

Wix

  1. Settings → Custom Code → Add Custom Code.
  2. Paste, select Place Code in: Head, Apply to: All pages.
  3. Click Apply.

Squarespace

  1. Settings → Advanced → Code Injection → Header.
  2. Paste, click Save.

Framer

  1. Site Settings → General → Custom Code → Start of <head> tag.
  2. Paste, click Save.

Custom / Ghost / Hugo / Jekyll

Add the snippet to your main layout between <head> and </head>.

3. Track conversions (optional)

To report a conversion (signup, purchase, lead), call walityk('track', …) on the thank-you page:

<script>
  walityk('track', 'purchase', { value: 49.00, currency: 'EUR', transaction_id: 'ORD-1234' });
</script>

For a lead form:

<form onsubmit="walityk('track', 'lead', { source: 'contact-form' })">
  ...
</form>

4. Connect your destinations

In the Walityk dashboard → Destinations:

  • GA4: Measurement ID + API secret
  • Meta CAPI: Facebook OAuth
  • Google Ads: Google OAuth

Events flow to these destinations automatically — no snippet changes.

5. Verify

  1. Live debug in the Walityk dashboard.
  2. Visit your site in another tab.
  3. page_view appears in real time.
  4. Check GA4 Realtime and Meta Test events.

Not working?

  • Snippet not loading: open DevTools → Network, filter walityk. If empty, make sure you published your changes (Webflow / Wix / Squarespace have a staging stage).
  • CSP blocked: add cdn.walityk.com to your Content Security Policy (script-src and connect-src).
  • Adblockers: Walityk is not in EasyList by default, but aggressive uBlock Origin setups can block the client. Server-side tracking still works for events sent from your backend.

Going further

  • Custom domain (Pro+): serve the tag from t.yourdomain.com instead of cdn.walityk.com, which avoids blockers almost entirely.
  • Conversion webhooks: trigger events from your backend for critical conversions (Stripe webhook, Zapier, etc.).

Need help? hi@walityk.com.