GET STARTED
Wix
Add the Attrifast snippet to your Wix site via Settings → Custom Code — head placement, all pages — and see your first pageview, usually within a minute.
Attrifast works on Wix the same way it works everywhere: one script tag in your site's <head>. Wix exposes exactly one supported place for that — Custom Code — and the whole setup is a paste and a publish.
Two requirements before you start: custom code runs only on Wix premium plans with a connected domain (it will not fire on a free *.wixsite.com site), and Attrifast event collection requires an active subscription or trial — start the 7-day free trial during onboarding (no charge today, cancel anytime).
Step 1 — Get your snippet
Add your site in Attrifast (onboarding step 1, or the dashboard), then open onboarding step 2 "Install script", or Dashboard → Settings → Install script. Copy your snippet — it looks like this, with your own tracking ID:
<script defer data-tracking-id="YOUR_TRACKING_ID" src="https://api.attrifast.com/af.js"></script>
Step 2 — Add it to Wix
Open Custom Code
In your Wix dashboard go to Settings → Custom Code (on some accounts it lives under Settings → Tracking & Analytics → + New Tool → Custom).
Paste and scope the snippet
Click + Add Custom Code, paste the snippet, and set three things:
- Add Code to Pages: All pages
- Load code: Once
- Place Code in: Head
Name it "Attrifast" so future-you knows what it is, then Apply.
Publish
Custom code only ships with a publish — click Publish on your site. Editing alone changes nothing on the live site.
Step 3 — Verify
The Verify installation status in onboarding step 2 checks automatically — no button to press. Open your live Wix site in another tab and the status flips to "First pageview received — tracking is live.", usually within a minute. Or just check your dashboard for the visit.
The domain registered in Attrifast must match the domain Wix serves from — www. and the apex count as the same site, and subdomains are covered automatically. Serving from another domain entirely? Add it under Dashboard → Settings → General → Allowed hostnames.
What you get
Everything in Install the tracker: pageviews, channel classification (including AI engines like ChatGPT and Perplexity), engagement time, and UTM capture. For e-commerce revenue attribution on Wix Stores, connect Stripe if Stripe handles your payments.