GoodData
Integrations

Integrating Gooddata with Wix

Adding Gooddata to your Wix project is a simple, straightforward process. Follow the step-by-step instructions below to start tracking your visitors without compromising their privacy.

Step 1: Copy Your Project ID

Before you begin, you need your unique Gooddata Project ID.

  1. Log in to your Gooddata Dashboard.
  2. Select your project from the sidebar.
  3. Click on the Settings gear icon in the bottom left.
  4. Copy the Project ID or the provided tracking snippet block.

Step 2: Add Custom Code to Wix

You can easily add tracking tools to a Wix site through the dashboard.

  1. Log in to your Wix account and go to your site's Dashboard.
  2. On the left sidebar, scroll down to Settings.
  3. Scroll to the "Advanced" section and click on Custom Code.
  4. Click the + Add Custom Code button in the top right.
  5. Paste the Gooddata script into the text box.
  6. Replace <YOUR_PROJECT_ID> with your actual project ID.
  7. Give the code a name (e.g., "Gooddata Analytics").
  8. Under "Add Code to Pages", select All Pages and choose Load code once.
  9. Under "Place Code in", select Head.
  10. Click Apply.
<!-- Paste this in Settings > Custom Code > Head -->
<script defer data-project-id="<YOUR_PROJECT_ID>" src="https://gooddata-fyp.onrender.com/sdk/tracker.js"></script>

Step 3: Verify the Installation

Once you have added the script and published your changes, it's time to test if Gooddata is receiving data.

  1. Open your live website in a new incognito/private browsing window.
  2. Navigate to a few different pages.
  3. Return to your Gooddata Dashboard and go to the Realtime tab.
  4. You should see "1 Active Visitor" and your recent page views populating instantly.

Troubleshooting: If you don't see any data, make sure you don't have an adblocker enabled that might be blocking the script, and ensure you replaced <YOUR_PROJECT_ID> with your actual ID.