{"version":"2.0.0","signup_url":"https://www.tracklution.com/start","dashboard_url":"https://www.tracklution.com/dashboard","agent_protocol_url":"https://www.tracklution.com/agent-install.md","mcp_url":"https://mcp.tracklution.com/mcp","api_base_url":"https://api.trlution.com/mcp-api/v1","pixel_snippet_instructions":"Each tracking container has its own install snippet (container-specific tracking key + first-party hostname). The canonical snippet — including the bootstrap IIFE that defines `tlq()` — is shown in the user's Tracklution dashboard at https://www.tracklution.com/dashboard after they create a tracking container. AI coding agents should use the Tracklution MCP at https://mcp.tracklution.com/mcp instead — see agent_protocol_url and mcp_install_methods below — and call `get_installation_scripts` to receive the snippet programmatically. Direct human installation: copy the snippet from the dashboard. See /docs/install-website-tracking-with-manual-code-installation/ for the manual flow. The general shape is: an async <script> tag loading js/script-dynamic.js from their tracking host, followed by `tlq('init', 'LS-XXXXXXX-X')`.","mcp_install_methods":{"cursor":{"type":"file-edit","target_paths":[".cursor/mcp.json","~/.cursor/mcp.json"],"merge_key":"mcpServers.tracklution","body":{"url":"https://mcp.tracklution.com/mcp"},"deeplink":"cursor://anysphere.cursor-deeplink/mcp/install?name=tracklution&config=eyJ1cmwiOiJodHRwczovL21jcC50cmFja2x1dGlvbi5jb20vbWNwIn0=","post_install_message":"Open Cursor → Settings → MCP and toggle 'tracklution' on, then say 'go'.","min_version":"0.48.0","agent_client_value":"cursor"},"claude_code":{"type":"cli","command":"claude mcp add --transport http tracklution https://mcp.tracklution.com/mcp","post_install_message":"Run '/mcp' in Claude Code to confirm 'tracklution' is connected, then say 'go'.","agent_client_value":"claude-code"},"codex":{"type":"file-edit","target_paths":["~/.codex/config.toml","%USERPROFILE%/.codex/config.toml"],"merge_key":"mcp_servers.tracklution","body_toml":"[mcp_servers.tracklution]\nurl = \"https://mcp.tracklution.com/mcp\"\nenabled = true\n","post_install_message":"Restart your Codex CLI session, then say 'go'.","agent_client_value":"other"},"windsurf":{"type":"file-edit","target_paths":["~/.codeium/windsurf/mcp_config.json","%USERPROFILE%/.codeium/windsurf/mcp_config.json"],"merge_key":"mcpServers.tracklution","body":{"serverUrl":"https://mcp.tracklution.com/mcp"},"post_install_message":"Fully restart Windsurf (close from system tray, then reopen). Then say 'go'.","agent_client_value":"windsurf"},"lovable":{"type":"user-action","ui_path":"Lovable Settings → Integrations → MCP servers → Add custom MCP server","value":"https://mcp.tracklution.com/mcp","instruction":"Open Lovable Settings → Integrations → MCP servers → Add custom MCP server. Use the URL https://mcp.tracklution.com/mcp (no authentication needed). Custom MCP servers are available on paid Lovable plans. Then say 'go'.","agent_client_value":"lovable"},"replit":{"type":"user-action","ui_path":"https://replit.com/integrations → MCP Servers → Add MCP server","value":"https://mcp.tracklution.com/mcp","instruction":"Go to https://replit.com/integrations → MCP Servers section → Add MCP server. Name it 'tracklution'. URL: https://mcp.tracklution.com/mcp (no authentication). Click Test & Save. Then say 'go'.","agent_client_value":"replit"},"bolt":{"type":"user-action","ui_path":"Bolt → Connectors → Add custom connector","value":"https://mcp.tracklution.com/mcp","instruction":"Open Bolt → Connectors → Add custom connector. URL: https://mcp.tracklution.com/mcp. Transport: HTTP. No authentication needed. Then say 'go'.","agent_client_value":"bolt"}},"frameworks":{"nextjs":{"method":"manual_script_tag","where_to_paste":"app/layout.tsx <head> (use next/script with strategy='afterInteractive')","doc_url":"https://www.tracklution.com/docs/install-website-tracking-with-manual-code-installation/"},"html":{"method":"manual_script_tag","where_to_paste":"<head> of every page, BEFORE any event-tracking scripts","doc_url":"https://www.tracklution.com/docs/install-website-tracking-with-manual-code-installation/"},"wordpress":{"method":"manual_script_tag_via_theme_or_plugin","where_to_paste":"header.php inside <head>, or via a head-injector plugin (WPCode, Insert Headers and Footers)","doc_url":"https://www.tracklution.com/docs/install-website-tracking-with-manual-code-installation/"},"shopify":{"method":"shopify_app","where_to_paste":"Install the official Tracklution Shopify app from the Shopify App Store (no code editing required)","doc_url":"https://www.tracklution.com/docs/install-website-tracking-with-shopify-app/"},"woocommerce":{"method":"wordpress_plugin","where_to_paste":"Install the official Tracklution WooCommerce plugin via the WordPress admin","doc_url":"https://www.tracklution.com/docs/install-website-tracking-with-woocommerce-plugin/"},"bigcommerce":{"method":"manual_script_tag","where_to_paste":"BigCommerce admin → Storefront → Script Manager → Create a script targeting all pages","doc_url":"https://www.tracklution.com/docs/install-website-tracking-with-manual-code-installation/"},"gtm":{"method":"gtm_template","where_to_paste":"Google Tag Manager → Templates → Search Gallery → 'tracklution' → Add to workspace","doc_url":"https://www.tracklution.com/docs/gtm-template/"},"calendly":{"method":"webhook_or_zapier","where_to_paste":"Calendly Webhooks → POST to https://t.<yourdomain>/collect/hook?k=<TRACKING_KEY>","doc_url":"https://www.tracklution.com/docs/crm-integrations/"},"stripe":{"method":"webhook","where_to_paste":"Stripe Webhooks → POST to https://t.<yourdomain>/collect/hook?k=<TRACKING_KEY> on payment_intent.succeeded","doc_url":"https://www.tracklution.com/docs/crm-integrations/"}},"standard_events":[{"name":"PageView","required_params":[],"optional_params":["url"],"description":"Auto-fired on every page load by the main script. Manual firing rarely needed."},{"name":"Purchase","required_params":["event"],"optional_params":["value","currency","order_id","email","phoneNumber","content_ids","contents"],"description":"E-commerce purchase. value+currency strongly recommended for ROAS optimization."},{"name":"Lead","required_params":["event"],"optional_params":["value","currency","form_id","email","phoneNumber"],"description":"Lead-gen form submission. value optional; some advertisers assign a static lead value."},{"name":"AddToCart","required_params":["event"],"optional_params":["value","currency","content_ids","contents"],"description":"Item added to cart."},{"name":"ViewContent","required_params":["event"],"optional_params":["value","currency","content_ids","contents"],"description":"Product / content detail page view. Used for remarketing audiences."},{"name":"AddToWishlist","required_params":["event"],"optional_params":["value","currency","content_ids"],"description":"Item added to wishlist / favorites."},{"name":"InitiateCheckout","required_params":["event"],"optional_params":["value","currency","content_ids","contents"],"description":"Checkout flow started (before payment)."},{"name":"CompleteRegistration","required_params":["event"],"optional_params":["value","currency","email"],"description":"User registration completed."},{"name":"Subscribe","required_params":["event"],"optional_params":["value","currency","email"],"description":"Newsletter / SaaS subscription started."},{"name":"Search","required_params":["event"],"optional_params":["search_string"],"description":"On-site search performed."},{"name":"Contact","required_params":["event"],"optional_params":["email","phoneNumber"],"description":"Contact-form submission or phone/email click."}]}