> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tagada.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Wetracked

> Shopify-only client-side attribution pixel — no API key, no configuration

# Wetracked

[Wetracked](https://wetracked.io) is a client-side e-commerce attribution pixel that auto-attributes via cookies it sets on first visit. TagadaPay's integration injects two `<script>` tags into your Shopify theme during the next theme sync — that's it. No API key, no pixel ID, no setup forms.

<Info>
  **Wetracked only works on Shopify storefronts.** It's a client-side pixel that runs on every page of your shop. If your funnel doesn't include a Shopify storefront, this integration won't do anything.
</Info>

***

## What Gets Injected

When you enable Wetracked, the next "Inject script" run from your TagadaPay storefront editor adds these two scripts to your Shopify theme:

```html theme={null}
<script async src="https://pixel.wetracked.io/wtp.js"></script>
<script async src="https://pixel.wetracked.io/{shopDomain}/events.js"></script>
```

* **`wtp.js`** — Wetracked's core pixel. Loads on every page, sets the `_wtp*` cookies, and reports page views.
* **`events.js`** — Per-shop event handler. Detects Shopify-specific events (product views, add-to-cart, checkout-init) and reports them to Wetracked.

Wetracked auto-detects your Shopify shop domain from the page itself — there's nothing to configure.

***

## Setup

<Steps>
  <Step title="Enable Wetracked in TagadaPay">
    Dashboard → **Settings → Integrations → Wetracked → Connect**. There are no fields to fill in. Just toggle the **Enabled** switch and save.
  </Step>

  <Step title="Re-inject scripts in your storefront editor">
    Open your store's **Storefront** page in TagadaPay, click **Inject script**. The new Wetracked scripts are written to your Shopify theme alongside TagadaPay's own checkout integration.

    **Nothing happens until you re-inject.** Toggling Wetracked alone doesn't modify your theme.
  </Step>

  <Step title="Verify in Wetracked dashboard">
    Visit a page on your Shopify store. Within \~5 minutes, your Wetracked dashboard should show the visit.

    If you're using their Chrome inspector extension, you can verify in real-time by checking the network tab for requests to `pixel.wetracked.io`.
  </Step>
</Steps>

***

## What TagadaPay Captures

In addition to injecting Wetracked's scripts, TagadaPay's mapper captures **all `_wtp*` cookies** into the customer's metadata when they reach checkout. This means Wetracked's attribution context survives the storefront-to-checkout hop — even though TagadaPay's checkout runs on a different subdomain.

***

## Disabling

To remove Wetracked from your store:

1. Toggle **Enabled** off in the integration settings.
2. Open your storefront editor and click **Inject script** again — TagadaPay strips the Wetracked scripts on the next inject pass.

The toggle alone isn't enough; the inject step is what actually rewrites your theme.

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Scripts aren't showing up in my Shopify theme">
    1. Verify the integration is **Enabled** in TagadaPay (top toggle on the integration page).
    2. Run **Inject script** from your TagadaPay storefront editor. The scripts are only added at inject time, not when you toggle the integration.
    3. Open your Shopify theme's `theme.liquid` and search for `pixel.wetracked.io`. If the scripts are missing, check the inject result for errors (the editor surfaces them in a toast).
  </Accordion>

  <Accordion title="Events aren't reaching Wetracked">
    1. Check the browser console on your storefront — `wtp.js` should load without errors.
    2. Check that ad blockers aren't blocking `pixel.wetracked.io`. Wetracked's domain is on most blocklists by default.
    3. Verify your Wetracked account is set up for the right shop domain (auto-detection sometimes picks up Shopify's preview domain rather than your custom one).
  </Accordion>
</AccordionGroup>

***

## References

* [Wetracked website](https://wetracked.io)
* [Tracking & Attribution overview](/developer-tools/tracking/overview)
