Analytics & Revenue Tracking
Attribute traffic and purchase revenue directly to AI engines.
Generative AI traffic is inherently "dark". When a user asks an AI model about a product, the model provides an answer and often a link. Without specialized tracking, this traffic appears in your analytics as "Direct" or "Referral", obscuring its true source. AnswerShaper solves this across three layers.
1. Google Analytics 4 (GA4) Integration
AnswerShaper uses advanced URL parametrization and the Stealth JS Tag to map incoming AI traffic to specific models (e.g., ChatGPT, Claude, Perplexity).
- UTM Override: When the Stealth Tag detects an AI referrer parameter, it reconstructs the session attribution in GA4.
- Cross-Domain Tracking: Connect your GA4 property in the dashboard to sync AnswerShaper's impression data with your on-site conversions.
2. Stripe Server-to-Server (S2S)
Track actual MRR and customer lifetime value (LTV) generated by AI citations using Stripe webhooks.
The _as_click_id Cookie
The Stealth JS tag generates a unique first-party cookie for every AI-referred visitor. You must pass this ID into Stripe.
Stripe Metadata
Simply attach the cookie value to your Checkout Session or Payment Intent metadata (metadata: { as_click_id: '...' }). AnswerShaper's webhook listener will automatically capture the purchase and attribute the revenue to the correct AI engine.
3. Shopify Dual-Layer Tracking
For e-commerce stores, standard pixel tracking is frequently blocked by ITP and adblockers. AnswerShaper uses a dual-layer approach for Shopify.
By injecting the _as_click_id into the Shopify Cart Attributes via your theme files, the order payload sent to Shopify's backend permanently contains the AI attribution ID. Our Shopify app then syncs this order data back to your AnswerShaper dashboard, giving you a perfect ROI calculation for your AEO efforts.
4. HubSpot Integration
Sync B2B lead generation, account intelligence, and sales deals closed from high-intent AI search traffic directly to your CRM. The Stealth Tag bridges the gap between anonymous AI chats and identified leads.
5. SEO Metrics (Semrush & Ahrefs)
Import organic keyword search volumes, domain authority ranks, and competitor keyword visibility graphs. Track backlink indexing rates, referrers, and AI engine training footprint mapping to holistically measure your AEO (Answer Engine Optimization) impact.