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
- Sign in to the Walityk dashboard.
- Sites → New site → Generic snippet.
- Name your site, paste the URL, click Create.
- 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
asyncafter the page renders. Zero Core Web Vitals impact.
2. Paste the snippet in <head>
Webflow
- Project Settings → Custom code → Head code.
- Paste, click Save, publish.
Wix
- Settings → Custom Code → Add Custom Code.
- Paste, select Place Code in: Head, Apply to: All pages.
- Click Apply.
Squarespace
- Settings → Advanced → Code Injection → Header.
- Paste, click Save.
Framer
- Site Settings → General → Custom Code → Start of
<head> tag. - 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
- Live debug in the Walityk dashboard.
- Visit your site in another tab.
page_viewappears in real time.- 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.comto your Content Security Policy (script-srcandconnect-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.cominstead ofcdn.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.