Traqio.

Instala el SDK

Elige tu framework, copia los pasos — o pásaselo todo a tu asistente de IA.

1. Instalar

npx expo install @traqio/sdk

2. Inicializar (una vez al arrancar)

import { Traqio } from "@traqio/sdk";
import { getNativeBridge } from "@traqio/sdk/native";

Traqio.init({
  sdkKey: "YOUR_SDK_KEY",
  endpoint: "https://ingest.traqio.app",
  native: getNativeBridge(),
  userId: currentUserId, // same id you pass to RevenueCat.logIn()
});

3. Registrar un evento

Traqio.track("purchase", { value: 9.99, currency: "USD" });

Setup IA-friendly

Pega esto en Cursor, Claude Code o cualquier asistente de IA y te conecta el SDK.

Integrate the Traqio mobile-attribution SDK into this Expo app.

Constraints: deterministic install attribution only (Android Play Install Referrer) + SKAN on iOS. No pasteboard, no fingerprinting.

1) Install:
npx expo install @traqio/sdk

2) Initialize once at app startup:
import { Traqio } from "@traqio/sdk";
import { getNativeBridge } from "@traqio/sdk/native";

Traqio.init({
  sdkKey: "YOUR_SDK_KEY",
  endpoint: "https://ingest.traqio.app",
  native: getNativeBridge(),
  userId: currentUserId, // same id you pass to RevenueCat.logIn()
});

3) Track a revenue event — pass the SAME userId you give RevenueCat.logIn() so revenue attributes to the install:
Traqio.track("purchase", { value: 9.99, currency: "USD" });

SDK key: YOUR_SDK_KEY
Ingest endpoint: https://ingest.traqio.app

Behavior: send the install exactly once (persist a flag), then send events as they occur. eventId is generated per event for dedup. Do not add any tracking beyond this.