DocsStart here

Install on Wix

Add Datacenter to Wix. Connect Wix with one approval (when shipped), or paste one line into Custom Code, which needs a premium plan and a connected domain.

On this page

There are two ways onto a Wix site. Connect Wix needs no code (when shipped). Until then, and on any site where you prefer it, paste one line into Wix's Custom Code.

Connect Wix (when shipped)

Datacenter's Wix app is waiting on Wix's review. Once it is live, step 2 of Set up your site shows Connect Wix first for a Wix site.

  1. Press Connect Wix.
  2. Wix asks you to pick the site, if you have more than one, and to approve Datacenter.
  3. You land back in Datacenter on the last setup step.

The site must be published. If it is not in your Datacenter account yet, Connect adds it with the same defaults as guided setup.

What it does:

WhatHow
The tag on every pageAdded by the app. No code to paste
Your last 62 daysVisits and orders from Wix Analytics, labeled "imported from Wix" on your dashboard. Wix keeps 62 days, so that is as far back as it goes. Page views, bounce rate and time on site are not in Wix's data, so those days count visits and stay out of your per-visit averages
A Wix orderPurchase, with the order total, currency and order number, once per order placed through Wix checkout
A new site memberSignup, once per member

Purchase and Signup come from Wix's servers, so they need a paid Datacenter plan, as the Events API does. Sales tie to the visit and ad click that brought the buyer when the site uses 90-day tracking. Nothing from a buyer goes into your visit counts: their email stays on their customer profile, as with other store orders.

To remove it, uninstall Datacenter in your Wix dashboard under Apps. The tag comes off at once. Your Datacenter site and its numbers stay.

Paste the tag

Custom Code needs a Wix premium plan and a connected domain. Without both, Wix does not run it. It takes about five minutes.

Copy your tag. In Datacenter, open Set up your site, or open your site's Settings. Your tag looks like this, with your own address:

HTML
<script defer data-site="yoursite.com" src="https://datacenter.so/s.js"></script>
  1. In your site dashboard, open Settings.
  2. Under Development & integrations, click Custom Code.
  3. Click + Add Custom Code and paste the tag. Name it Datacenter.
  4. Under Add Code to Pages, pick All pages, and load the code on each new page.
  5. Under Place Code in, pick Head. Click Apply.

Add the site to Datacenter with your connected domain, like yoursite.com, not the Wix editor address.

Check it works

Go back to Datacenter. On the last setup step, click Check my site. Then open your site in a new tab. Your first visit shows up in a minute or two.

Something missing or wrong? Email hello@datacenter.so.