---
title: "Install DataPocket on Wix"
description: "Add DataPocket web analytics with revenue attribution to Wix. Settings → Custom Code (needs a Premium plan and a connected domain)."
url: "https://datapocket.vo1d.studio/docs/wix"
lang: "en"
updated: "2026-11-13"
---

# Install DataPocket on Wix

Settings → Custom Code (needs a Premium plan and a connected domain). Replace `YOUR_SITE_ID` and `YOUR_DOMAIN` with the values from your site's Install page.

## Steps

1. Dashboard → Settings → Custom Code (under Advanced) → + Add Custom Code. Paste:

```html
<script
  defer
  data-site-id="YOUR_SITE_ID"
  data-domain="YOUR_DOMAIN"
  src="https://datapocket.vo1d.studio/js/script.js"
></script>
```

2. Name it "DataPocket", choose All pages · Load code once, Place code in: Head. Apply.

## Verify

1. Deploy or publish, then open your site in a normal browser window (ad blockers off).
2. In the browser's Network tab, look for a POST to `/api/event` (or `/dp/api/event` when proxied) that returns `{"ok":true}`.
3. The DataPocket Install page for this site switches to "Receiving data" within a few seconds.

## Related guides

- [WordPress](https://datapocket.vo1d.studio/docs/wordpress): Official plugin: tracking, built-in proxy, WooCommerce revenue.
- [Shopify](https://datapocket.vo1d.studio/docs/shopify): Theme snippet for the storefront, plus a custom pixel for checkout and verified order revenue.
- [Ghost](https://datapocket.vo1d.studio/docs/ghost): Settings → Code injection → Site header.
- [Kajabi](https://datapocket.vo1d.studio/docs/kajabi): Theme Settings → Header code.
- [AI crawler tracking](https://datapocket.vo1d.studio/docs/ai-bots)
