# GramPixel Full Knowledge Base Last updated: 2026-11-26 Schema version: 1.0.0 Source priority: if this file disagrees with https://grampixel.com/pricing, https://grampixel.com/api-docs or the app, the live product pages, API reference and app UI take precedence. Product: Server-side Telegram attribution, bot/channel analytics, pre-landing builder, and S2S ad conversion API. Dashboard languages: 10. Landing languages: 7. ## 1. Summary GramPixel connects ad clicks to Telegram joins, bot starts, manager chats and revenue events, and sends verified conversions to ad platforms. ## 2. Pricing and access | Plan | Monthly | Yearly (per month) | Yearly total | Events | Channels/bots | Domains | Pixels | Seats | Workspaces | AI analyses/mo | |---|---|---|---|---|---|---|---|---|---|---| | Free Sandbox | $0 | $0 | $0 | 100 | 1 | 1 | 1 | 1 | 1 | 2 | | Solo | $49 | $39 | $468 | unlimited | 2 | 3 | 2 | 1 | 1 | 5 | | Team | $149 | $119 | $1428 | unlimited | 12 | 15 | unlimited | 5 | 2 | 100 | | Agency | $349 | $279 | $3348 | unlimited | 40 | unlimited | unlimited | 12 | 6 | 500 | | Enterprise | $999 | $799 | $9588 | unlimited | unlimited | unlimited | unlimited | unlimited | unlimited | unlimited | Free entry: Free Integration Sandbox (100 clicks/month, 1 channel/bot, 1 domain, 1 seat, 2 AI analyses/month). Redirect tracking pauses once 100 monthly test clicks are reached until the workspace upgrades to a paid plan. There is no self-serve time-limited free trial. Paid plans carry a 7-day money-back guarantee on first-time purchases. Paid plans (Solo, Team, Agency, Enterprise) include unlimited click and event volume without per-click or per-subscriber surcharges. ## 3. Add-ons - Extra Team Seat (extra_seat): $19/mo, plans: solo, team, agency. +1 team member seat. - Resource Pack (resource_pack): $29/mo, plans: solo, team, agency. +2 channels/bots and +2 custom domains. - Traffic Shield Add-on (traffic_shield): $49/mo, plans: solo. Unlocks Traffic Shield cloaking & White Page routing on Solo. - Extra Client Workspace (extra_workspace): $29/mo, plans: agency. +1 additional isolated workspace. - +100 AI Analyses Pack (ai_pack): $15/mo, plans: solo, team, agency. +100 additional monthly AI analysis quota. - Audience Boost Add-on (audience_boost): $50/mo, plans: solo, team. Unlocks shared anonymized pixel audience seeding on lower tiers. ## 4. Modules ### Attribution & Cross-Surface Identity Resolution - Status: Available - Plans: sandbox, solo, team, agency, enterprise - Purpose: Connects external ad clicks and pre-landing sessions to downstream Telegram subscriptions, join requests, bot starts, manager DMs, and revenue events. - Supported surfaces: Pre-landings (gp.js); Smart links; Telegram Channels (private/public); Telegram Groups; Telegram Bots (?start=); Manager Links (m/); Telegram Mini Apps (TMA) - How it works: Generates a unique first-party session identifier on click or visit, bridged into Telegram via deep link parameters or dynamic tracked invite links. When subscription or bot interaction webhooks arrive, GramPixel correlates the incoming user action with the initial ad touchpoint, linking campaign parameters to revenue events. - Setup requirements: Verified domain or *.trk.grampixel.link subdomain; Telegram bot token with admin permissions in target chat; S2S integration credentials if exporting conversions - Metrics: resolution_method telemetry; clicks, unique_clicks, subscriptions, unsubscriptions; attributed conversion paths & multi-step funnels - Limitations: If a user clears storage, strips URL start parameters, opens Telegram from an external device without a unique invite link, or joins organically without a session bridge, the join is recorded as 'organic'. Deterministic matching does not imply 100% recovery in all privacy-restricted edge cases. - Troubleshooting: Joins show as organic -> Verify bot has Invite Users + Manage Chat admin rights in the channel and confirm ?start= / one-time invite mode is active. | Missing click IDs (fbclid/gclid/ttclid) -> Ensure gp.js loads before redirect and destination ad URLs preserve query parameters. - Docs: https://grampixel.com/help/conversion-attribution, https://grampixel.com/api-docs, https://grampixel.com/trust ### Smart Links, Custom Domains & Traffic Routing - Status: Available - Plans: sandbox, solo, team, agency, enterprise - Purpose: Routes ad clicks through custom branded domains with automated HTTPS certificates, optional conditional routing rules, and unique Telegram invite issuance. - Supported surfaces: Smart redirect URLs; Custom CNAME domains (Automated Let's Encrypt TLS); Managed fallback *.trk.grampixel.link - How it works: Evaluates incoming click request host and short link code, processes conditional routing rules (GEO country, device/OS, browser language, UTM parameters, traffic split) and generates a unique Telegram entry link before forwarding the visitor. - Setup requirements: CNAME pointing custom domain to cname.grampixel.com (DNS-only during initial TLS issuance) - Metrics: clicks, unique_clicks, unique_ips; redirects per GEO / OS / device - Limitations: Cloudflare proxied orange cloud blocks ACME challenge issuance unless disabled during initial certificate provisioning. Sandbox tier caps custom domains at 1 and pauses redirects after 100 monthly clicks. - Troubleshooting: Domain TLS verification fails -> Switch DNS record to DNS-only (Grey Cloud), confirm CNAME target is cname.grampixel.com, and retry verification. - Docs: https://grampixel.com/help/custom-domains, https://grampixel.com/help/smart-links ### Pre-Landing Builder & WebView Diagnostics - Status: Available - Plans: sandbox, solo, team, agency, enterprise - Purpose: Hosts fast, high-converting pre-landing pages on custom domains with first-party telemetry and in-app browser diagnostics. - Supported surfaces: Hosted drag-and-drop / HTML templates; External sites with tracking snippet - How it works: Renders cached pre-landing variants on your verified custom domain. The first-party client script captures UTM parameters and ad click identifiers, records page engagement, optimizes destination Telegram links, and detects In-App WebViews (Instagram, Facebook, TikTok) to protect user experience and join conversion rates. - Setup requirements: Domain linked to prelanding; Target channel/bot configured or external gp.js snippet installed - Metrics: Pre-landing CTR; WebView vs standard browser share; Click-to-join conversion - Limitations: External static sites require manually pasting gp.js and preserving URL parameters. No video DOM session replay is recorded; only interaction telemetry is stored. - Troubleshooting: Updated prelanding changes not live -> Click Save & Republish in the builder to refresh cached page assets. - Docs: https://grampixel.com/help/prelanding-basics, https://grampixel.com/help/webview-diagnostics, https://grampixel.com/help/prelanding-custom-code ### Pre-Landing A/B Split Testing - Status: Available - Plans: team, agency, enterprise - Purpose: Splits incoming pre-landing traffic by weight across multiple variants to measure which creative or copy yields higher Telegram join rates. - Supported surfaces: Pre-landing variants - How it works: Distributes incoming traffic across weighted variants according to operator settings, tracks downstream conversions per variant, and displays comparative performance to help choose the best performing page. - Setup requirements: Team plan or higher; 2+ pre-landing variants configured - Metrics: visitors per variant; conversions & CR% per variant - Limitations: Winner selection is manual; automated statistical significance testing and automatic server-side weight shifting are not active. - Troubleshooting: Traffic split uneven on low sample size -> Verify weights sum to 100% and accumulate sufficient visits before selecting a winner. - Docs: https://grampixel.com/help/prelanding-ab-testing ### Heatmaps, Click Maps & Scroll Depth - Status: Available - Plans: team, agency, enterprise - Purpose: Tracks visitor click coordinates and vertical scroll depth milestones on pre-landings. - Supported surfaces: Hosted pre-landings; Pages running tracking script with public event ingestion - How it works: The client snippet securely records interaction signals such as click coordinates and scroll depth milestones (25/50/75/100%), aggregating visual heatmap and drop-off analytics directly in your dashboard. - Setup requirements: Team plan or higher; Pre-landing or tracking snippet active on page - Metrics: Scroll reach by depth bucket; Coordinate click heatmap overlay - Limitations: Does not store video/DOM DOM-mutation session recordings; engagement-only events are excluded from CRM conversion logs. - Troubleshooting: Heatmap empty despite pageviews -> Check browser ad blockers on third-party origins or serve tracking scripts via your custom verified domain. - Docs: https://grampixel.com/help/heatmap-analytics ### Server-Side Conversions (Meta CAPI, Google, TikTok & Webhooks) - Status: Available - Plans: solo, team, agency, enterprise - Purpose: Dispatches verified Telegram joins, leads, custom events, and deposits server-to-server back to ad platforms, trackers, and custom endpoints. - Supported surfaces: Meta Conversions API; Google Ads Offline Click Conversions; TikTok Events API; LinkedIn, X/Twitter, Snapchat, Pinterest, GA4, AdsGram; Microsoft Ads, Taboola, Yandex Direct; S2S templates (Keitaro, Binom, Voluum, RedTrack, Affise, HasOffers, BeMob, OctoTracker, MGID, PropellerAds, ExoClick, TrafficJunky); Custom Webhooks with HMAC-SHA256 - How it works: When a target conversion occurs in Telegram or via API, the platform enriches the conversion event with stored click parameters and attribution touchpoints, applies configured event mappings and threshold filters, dispatches the payload to target ad networks or webhooks, and automatically handles retries for transient delivery errors. - Setup requirements: Active ad platform pixel/token or destination postback URL; Matching click parameter captured on click or event payload - Metrics: Delivery status diagnostics and event logs; 60-day postback delivery history - Limitations: Google Ads integration requires gclid and uploads Offline Click Conversions only; iOS gbraid/wbraid and Enhanced Conversions userIdentifiers are Planned. LinkedIn Conversions API requires email/SHA256_EMAIL (does not match via li_fat_id alone). Google Sheets, Zapier, n8n, and external CRM systems do not have native push connectors; use custom webhooks or CSV/JSON export API. - Troubleshooting: Google Ads upload returns Missing gclid -> Ensure auto-tagging (?gclid=) is active in Google Ads and not stripped prior to gp.js click capture. | Duplicate Meta events -> Check that event_id / session_id deduplication is enabled and avoid firing duplicate browser + server custom conversions with mismatched event_ids. - Docs: https://grampixel.com/help/facebook-capi, https://grampixel.com/help/google-ads-integration, https://grampixel.com/help/tiktok-events-api, https://grampixel.com/help/s2s-postback, https://grampixel.com/help/webhook-setup ### Telegram Channels, Invite Links & Join Requests - Status: Available - Plans: sandbox, solo, team, agency, enterprise - Purpose: Manages channel connections, per-session invite link creation, join request approvals, and subscriber retention/churn metrics. - Supported surfaces: Public/private Telegram channels; Telegram groups - How it works: Connects your Telegram bot to target channels with admin privileges, automatically issues tracked invite links or handles join requests via Telegram Bot API webhooks, and monitors subscription lifecycle and retention metrics. - Setup requirements: Bot added as channel administrator with Invite Users and Manage Chat rights - Metrics: New subscribers vs Unsubscribes; Net growth, Churn %, Retention % - Limitations: Users who leave and rejoin on static links may require session fallback. Requires ongoing admin permissions on the bot inside each channel. - Troubleshooting: Subscribers not counted -> Verify bot webhook in dashboard settings and confirm bot is an administrator (not just member). - Docs: https://grampixel.com/help/connect-bot, https://grampixel.com/help/invite-link-tracking, https://grampixel.com/help/join-request-rules ### Visual Bot Builder, Broadcasts & Telegram Stars (XTR) - Status: Available - Plans: team, agency, enterprise - Purpose: Builds interactive automated Telegram bot flows, broadcast sequences, tag/variable segmentation, and Telegram Stars (XTR) digital payment checkouts. - Supported surfaces: Telegram Bot API; Broadcast queue worker; Telegram Stars (XTR) invoices - How it works: Enables creation of visual automated bot funnels with keyword triggers, inline buttons, and broadcast messages. Supports native Telegram Stars payments with automated checkout handling and instant conversion feedback to external ad campaigns. - Setup requirements: Team plan or higher; Valid BotFather token with active webhook - Metrics: Bot funnel step progression; Stars (XTR) purchase count & estimated USD revenue (~$0.013/XTR in ad spend valuation) - Limitations: Sidebar UI includes placeholder option labels for Zapier/Sheets/Google Calendar actions that are not wired in backend botEngine (only native HTTP api_webhook / api_postback execute outbound requests). - Troubleshooting: Stars payment webhook not firing S2S Purchase -> Ensure the flow or webhook handler receives pre_checkout_query and successful_payment updates without blocking timeouts. - Docs: https://grampixel.com/help/automated-bot-funnels, https://grampixel.com/help/telegram-stars, https://grampixel.com/help/bot-webhook-management ### Managers, Sales DM Attribution & Internal Lead CRM - Status: Available - Plans: team, agency, enterprise - Purpose: Attributes direct Telegram DM conversations and sales closures back to traffic sources, ad creatives, and individual sales managers. - Supported surfaces: Manager Links; Telegram Business Connections; Internal Leads API - How it works: Routes incoming traffic through dedicated sales manager links or connected Telegram Business channels, links dialogs to original ad clicks, tracks pipeline status (new, approved, declined), and attributes closed revenue back to the campaign. - Setup requirements: Team plan or higher; Manager link or Telegram Business bot connection configured - Metrics: Attributed manager dialogs per campaign/source; Lead statuses & closed revenue; Manager performance scores - Limitations: Manager attribution outside pre-filled start payloads relies on recency matching if the prospect messages manually without session tokens. - Troubleshooting: Direct messages not linked to campaign -> Use dedicated manager redirect links or pre-filled message templates with tracking tokens so session matching has a direct anchor. - Docs: https://grampixel.com/help/manager-crm, https://grampixel.com/help/first-link ### Telegram Ads Management & Spend/Stats Sync - Status: Available - Plans: team, agency, enterprise - Purpose: Connects official Telegram Ads cabinets to inspect ads, adjust budgets/statuses, and compare TON or EUR spend against real channel/bot conversions. - Supported surfaces: Official Telegram Ads API in TON & EUR currencies - How it works: Integrates securely with official Telegram Ads accounts, supports TON and EUR advertising cabinets, allows updating campaign budgets and statuses, and aggregates ad spend alongside conversion data. - Setup requirements: Team plan or higher; Authorized Telegram Ads account credentials - Metrics: Views, Clicks, Joins, Spend (TON/EUR), CPA, CPM vs external traffic channels - Limitations: Campaign stats/spend synchronization is triggered from dashboard. Automated rules execution is currently in Beta. - Troubleshooting: Metrics show zero after connecting -> Click Sync in the Telegram Ads dashboard and verify account currency (TON vs EUR) matches active ads. - Docs: https://grampixel.com/help/telegram-ads-integration, https://grampixel.com/help/usage-limits ### Traffic Shield (Cloaking) & Subscriber Anti-Fraud - Status: Available - Plans: team, agency, enterprise - Purpose: Protects ad campaigns by filtering automated bots and suspicious traffic, serving a compliant White Page while directing legitimate users to the offer. - Supported surfaces: Pre-landings & Smart Links; Telegram channel/bot subscribers; IP/Telegram ID blacklist - How it works: Evaluates suspicious traffic through a multi-layered filtering system, directing bots and non-target traffic to a compliant White Page while forwarding legitimate human visitors to the target funnel. - Setup requirements: Team plan or Solo + Traffic Shield Add-on ($49/mo); Configured White Page template or URL - Metrics: Passed vs White Page filtered requests; Clean / Suspicious / Fraud subscriber breakdown; Traffic distribution by region - Limitations: Solo users must add the Traffic Shield add-on. No traffic filtering system can guarantee ad network policy immunity; advertisers remain responsible for ad compliance. - Troubleshooting: Real mobile users hitting White Page -> Verify rule thresholds and ensure mobile carrier settings match target audience requirements. - Docs: https://grampixel.com/help/cloaking-setup, https://grampixel.com/help/uploading-whitepages, https://grampixel.com/help/anti-spam-setup, https://grampixel.com/docs/anti-ban-system ### AI Copilot, Audience Boost, Automations & Partner OEM - Status: Available - Plans: team, agency, enterprise - Purpose: Provides AI campaign diagnostics, anonymized Audience Boost CAPI seeding, multi-workspace isolation, and Partner API provisioning. - Supported surfaces: Workspace AI Diagnostics; Audience Boost Meta CAPI Export; Partner API; Automation Rules - How it works: Provides AI-assisted analysis of campaign conversion trends, actionable optimization recommendations, and automated workflow configurations based on your plan quota. Higher plans unlock multi-workspace isolation and partner integration capabilities. - Setup requirements: Team+ for AI Copilot (Sandbox=2/mo, Solo=5/mo, Team=100/mo, Agency=500/mo); Agency+ or add-on for Audience Boost & multi-workspace/Partner API - Metrics: Remaining AI quota per workspace; Audience export job status & dispatched batch counts - Limitations: White-label branding is provisioned via Partner API tenants. Automated stop-loss execution is Beta. - Troubleshooting: AI analysis quota reached -> Purchase the +100 AI Analyses Add-on ($15/mo) or upgrade to Team (100/mo) / Agency (500/mo). - Docs: https://grampixel.com/help/ai-insights, https://grampixel.com/help/manage-subscription, https://grampixel.com/api-docs ### GramPixel MCP Server (Model Context Protocol) - Status: Available - Plans: sandbox, solo, team, agency, enterprise - Purpose: Connects AI assistants (Cursor, Claude Desktop, Windsurf, Antigravity, Cline) directly to a single GramPixel workspace to audit readiness, complete Quick Setup, build visual pre-landings, configure S2S CAPI integrations, and query analytics strictly within key scopes. - Supported surfaces: npx -y @grampixel/mcp-server; Cursor, Claude Desktop, Claude Code, Windsurf, Antigravity, Cline - How it works: Clients authenticate with a user-generated pk_live_... API key bound to a single workspace via the @grampixel/mcp-server package. It guides step-by-step setup across domains, bots, channels, groups, manager links, Mini Apps, visual block pre-landings, tracking links, and CAPI testing while enforcing granular permission scopes and strict workspace isolation. - Setup requirements: GramPixel account with workspace API key (pk_live_...); Node.js 18+ and AI client configured with npx -y @grampixel/mcp-server - Metrics: Workspace readiness score and pending onboarding checklist; Live pre-landing URLs with ad-network UTM macro presets; Verified Meta/TikTok/Google/Webhook test deliveries - Limitations: Partner/admin keys are never permitted on MCP. Read-only audit keys block all mutation tools. Each workspace-scoped key is locked strictly to one workspace. - Troubleshooting: HTTP 401 or invalid key -> Generate an active pk_live_... key under Integrations -> API Keys in your dashboard and pass it via GRAMPIXEL_API_KEY or --api-key. | Tool call returns forbidden / insufficient scope -> Switch from an Audit Read-Only key to an AI / MCP Full Setup key if write actions are needed. - Docs: https://grampixel.com/mcp, https://grampixel.com/api-docs, https://grampixel.com/llms-mcp.txt ## 5. Integrations 26 server-side integration keys supported across Native API dispatchers, Hybrid dispatchers, S2S postback URL templates, and Custom Webhooks. ## Native API dispatchers ### Meta Conversions API (Facebook / Instagram) (meta) - Method: Server-to-Server REST API (JSON) - Required config: pixel_id; access_token (or OAuth connection); optional test_event_code; optional capi_event_mode ('all' | 'conversions_only') - Identifiers sent: fbc; fbp; client_ip_address; client_user_agent; external_id (SHA-256); em/ph/fn/ln/ct/st/zp/country when provided in eventData (SHA-256); lead_id; ctwa_clid - Event mapping: Subscribe -> Subscribe, JoinRequest -> Lead, FTD -> Purchase, DEP -> Purchase, REG -> CompleteRegistration, INSTALL -> AppInstall, TRIAL -> StartTrial, ADD_TO_CART -> AddToCart, CHECKOUT -> InitiateCheckout, VIEWCONTENT -> ViewContent - Notes: Includes browser/server event_id deduplication, Conversions-Only filtering, optional test_event_code verification, and Ads Manager sync via user-supplied proxy extension bundle. ### Google Ads Offline Click Conversions (google_ads) - Method: Google Ads API (OAuth2 Offline Conversions) - Required config: customer_id; developer_token; conversion_action (customers//conversionActions/); client_id; client_secret; refresh_token - Identifiers sent: gclid (required); conversionDateTime; conversionValue; currencyCode - Notes: Requires gclid on incoming click. iOS gbraid/wbraid capture and Enhanced Conversions userIdentifiers (email/phone) are Planned, not yet implemented. Does not send login-customer-id for MCC accounts yet. ### TikTok Events API (tiktok_ads) - Method: TikTok Business API v2.0 (/open_api/v2.0/event/track/) - Required config: pixel_code; access_token; optional test_event_code; optional capi_event_mode - Identifiers sent: ttclid; ttp (_ttp cookie); ip; user_agent; external_id (SHA-256); email/phone_number (SHA-256 when provided) - Event mapping: Subscribe -> SubmitForm, JoinRequest -> SubmitForm, FTD -> CompletePayment, DEP -> CompletePayment, Purchase -> CompletePayment, REG -> CompleteRegistration, TRIAL -> Subscribe - Notes: Supports Conversions-Only filtering and event_id deduplication. ### LinkedIn Conversions API (linkedin) - Method: LinkedIn REST API (/rest/conversionEvents) - Required config: access_token; conversion_rule_urn - Identifiers sent: SHA256_EMAIL (required) - Notes: Requires email address on conversion payload; li_fat_id click cookie is captured on click but currently unused by dispatcher. ### X / Twitter Ads Conversions API (twitter_ads) - Method: Ads API v12 (/12/measurement/conversions/:pixel_id) - Required config: pixel_id; OAuth credentials - Identifiers sent: twclid; hashed external_id ### Snapchat Conversions API (snapchat_ads) - Method: Snap CAPI v2 (tr.snapchat.com/v2/conversion) - Required config: pixel_id; access_token - Identifiers sent: sclid (click_id); hashed external_id ### Pinterest Conversions API (pinterest_ads) - Method: Pinterest API v5 (/v5/ad_accounts/:id/events) - Required config: ad_account_id; access_token - Identifiers sent: epik; hashed external_id; value; currency ### Google Analytics 4 (GA4) (google_analytics) - Method: GA4 Measurement Protocol (/mp/collect) - Required config: measurement_id; api_secret - Identifiers sent: ga_client_id (_ga cookie or fallback hash); event_name; value; currency ### AdsGram Mini-App / Bot Conversions (adsgram) - Method: AdsGram S2S HTTP API (api.adsgram.ai/confirm_conversion) - Required config: api_token / goal config - Identifiers sent: telegram_id; adsgram_campaign_id; adsgram_record_data ## Hybrid (postback template or native endpoint) - Microsoft Advertising (Bing) (microsoft_ads): Supports S2S postback_url template override OR native Bing SOAP v13 ApplyOfflineConversions (requires OAuth token + customer/account/goal IDs + msclkid). - Taboola S2S (taboola): Supports S2S postback_url template override OR native S2S HTTP handler via tbclid. - Yandex Direct / Metrika Goal Hit (yandex_direct): Supports S2S postback_url template override OR Metrika hit via counter_id + goal_id + yclid. Offline conversions CSV API upload is Not Implemented. ## S2S postback templates - Trackers (complementary integration partners): Keitaro, Binom, Voluum, RedTrack, Affise, HasOffers / TUNE, BeMob, OctoTracker - Ad networks: MGID, PropellerAds, ExoClick, TrafficJunky - Macros: {click_id} {subid} {payout} {value} {currency} {event} {event_mapped} {external_id} {telegram_id} {fbclid} {gclid} {ttclid} {sub1} {sub2} {sub3} ## Webhooks and exports - Custom JSON Webhook & Postback Rules: Supports POST/GET delivery with optional HMAC-SHA256 signing via X-Signature and X-Signature-256: sha256=... headers (/v1/webhooks, /v1/postbacks). Partner webhooks sign with X-GramPixel-Signature. - CSV / Google Sheets Pull Export API: GET /v1/marketing/performance & /v1/marketing/google-sheets return JSON or semicolon CSV for Google Sheets IMPORTDATA / BI pull. No push sync yet. ## Not natively implemented - Google Sheets Native OAuth Push: Planned / Use pull endpoint /v1/marketing/google-sheets or webhooks - Zapier / Make / n8n Native Apps: Planned / Connect via Custom Webhooks + REST API - External CRMs (AmoCRM, Bitrix24, HubSpot, Salesforce): Planned / Use internal Lead CRM (/v1/arb/leads) + Custom Webhooks ## 6. Metric formulas Events excluded from conversion logs: click, prelanding_session, scroll_depth, element_click, page_view, tracked_user_snapshot, callback_query. ROI and conversion-log aggregations also exclude engagement-only noise events; ROI excludes 'Unsubscribe'. | Metric | Formula | Unit | |---|---|---| | Profit | Revenue - Spend | Currency ($) | | ROI (%) | Spend > 0 ? ((Revenue - Spend) / Spend) * 100 : null | Percent (%) | | ROAS | Spend > 0 ? Revenue / Spend : null | Multiplier (e.g. 2.50x) | | CPA | UniqueConversions > 0 ? Spend / UniqueConversions : null (ROI view) | Conversions > 0 ? Spend / Conversions : null (Compare view) | Currency ($) | | CPS (Cost per Subscriber) | Subscribers > 0 ? Spend / Subscribers : null | Currency ($) | | EPC | UniqueClicks > 0 ? Revenue / UniqueClicks : null | Currency ($) | | CR (%) | Clicks > 0 ? (UniqueConversions / Clicks) * 100 : 0 | Percent (%) | | Churn Rate (%) | Subscribers > 0 ? (Unsubscribes / Subscribers) * 100 : 0 | Percent (%) | | Retention Rate (%) | 100 - ChurnRate | Percent (%) | | Telegram Stars (XTR) USD Estimate | StarsValue * 0.013 | USD estimate in ad spend attribution | ## 7. API and limits - Global API: 300 requests/minute per IP across /v1 and /api/v1 (configurable via RATE_LIMIT_GLOBAL_MAX; health & admin exempted) - Webhooks and pre-landings: 60 requests/minute per IP on /v1/webhooks/* and custom domain pre-landing GET requests - Auth endpoints: 10 requests/minute per IP on sensitive authentication routes - Headers: Standard RateLimit-* headers returned; HTTP 429 JSON error on exceeded quota See https://grampixel.com/llms-api.txt for authentication, idempotency and signing. ## 8. Use cases ### 1. Meta Ads -> Pre-landing (gp.js) -> Private Telegram Channel -> S2S Subscribe/Lead to Meta CAPI - Verticals: Infobiz, Crypto Communities, Signal Groups, Performance Agencies - Prerequisites: Solo+ plan (or Sandbox for 100-click test); Verified custom domain; Bot with channel admin rights; Meta Pixel ID + Access Token - Data flow: Meta Ad (?fbclid, utm_*) -> Pre-landing gp.js (gp_session_id, PageView CAPI dedup) -> One-time Invite Link / Join Request -> Telegram chat_member / chat_join_request webhook -> S2S Subscribe/Lead to Meta CAPI (with fbc, fbp, IP, UA, external_id) - Events and metrics: PageView, Subscribe, JoinRequest -> Lead, CPS, Unsubscribe / Churn % - Outcome: Replaces blind link clicks in Meta Ads Manager with verified subscriber conversion signals using Conversions-Only or All Events mode. ### 2. Keitaro / Binom Traffic Flow -> GramPixel Telegram Attribution -> Two-Way S2S Deposit Postback - Verticals: iGaming, Nutra, Affiliate Media Buying - Prerequisites: Keitaro/Binom campaign URL passing click_id/subid; Solo+ plan; Target Telegram channel or bot - Data flow: Ad Network -> Keitaro/Binom (subid={subid}) -> GramPixel Smart Link / Pre-landing (?click_id={subid}) -> Telegram Subscribe / Registration -> S2S template postback fires back to Keitaro/Binom on Subscribe, REG, and FTD - Events and metrics: Subscribe, Registration, FTD / Deposit, ROI %, EPC, CPA - Outcome: Extends existing web trackers into Telegram channels, bots, and delayed deposits without replacing the buyer's core TDS. ### 3. Delayed Deposit / Sale Attribution Back to Original Ad Click & Ad Platform - Verticals: Fintech, Brokerage, High-Ticket EdTech, iGaming - Prerequisites: User acquired via tracking session or invite link; CRM or payment backend calling event ingestion API with API key - Data flow: Initial Ad Click -> Telegram Subscribe (user linked to session) -> Days later: Backend calls event ingestion API with event_name='FTD', value=250 -> GramPixel resolves original ad touchpoint -> Dispatches Purchase / CompletePayment - Events and metrics: FTD, Purchase, Revenue, ROAS, Profit - Outcome: Optimizes ad algorithms on downstream revenue instead of low-intent channel joins. ### 4. Google Search / YouTube (gclid) -> Telegram Bot Funnel -> Google Ads Offline Click Conversion - Verticals: B2B Services, SaaS, Legal / Consulting, Crypto Apps - Prerequisites: Solo+ plan; Google Ads OAuth2 connection + Developer Token + Conversion Action; Auto-tagging gclid enabled - Data flow: Google Ad (?gclid=...) -> Pre-landing tracking -> Bot qualification step / Lead event -> Upload offline click conversion to Google Ads API with gclid + conversionValue - Events and metrics: gclid capture rate, Bot funnel completion, Offline Lead upload status - Outcome: Feeds high-intent Telegram bot completions back into Google Ads Smart Bidding (current scope: gclid offline click conversions; iOS gbraid/wbraid planned). ### 5. TikTok Video Ads + Spark Ads -> In-App WebView Bridge -> Telegram Channel + Events API - Verticals: Consumer Apps, E-commerce, Mobile Subscriptions, Info Products - Prerequisites: Solo+ plan; TikTok Pixel Code + Access Token; Custom domain + pre-landing - Data flow: TikTok In-App WebView (?ttclid=..., _ttp cookie) -> Hosted Pre-landing -> Invite link join -> S2S SubmitForm / CompletePayment to TikTok Business API v2.0 - Events and metrics: WebView click share, SubmitForm (Subscribe), CompletePayment, CPA - Outcome: Recovers attribution across TikTok in-app browser redirects where browser pixels drop off. ### 6. Official Telegram Ads (TON / EUR) Unified With External Paid Social ROI - Verticals: Telegram Channel Publishers, Crypto & Web3, News / Media Networks - Prerequisites: Team+ plan; Telegram Ads API credentials - Data flow: Official Telegram Ads cabinet (spend synced via dashboard) + External Meta/TikTok spend -> Unified channel growth, invite-link conversion, and churn dashboard - Events and metrics: Spend (TON/EUR), Views, Joins, CPA, Retention %, Churn % - Outcome: Compares official Telegram Ads unit economics side-by-side with external ad traffic and filters low-quality subscriber bursts. ### 7. High-Ticket Sales via Manager DMs & Business Connections Attribution - Verticals: Concierge Services, B2B Agencies, Mentorship, Real Estate, VIP Trading - Prerequisites: Team+ plan; Manager Links (/m/:short_code) or connected Telegram Business Bot - Data flow: Ad Click (Meta/Google) -> Manager Link /m/alex or Business Chat -> Prospect sends DM -> Attributed to campaign UTM & click IDs -> Manager updates Lead status (approved + revenue) in CRM -> Fires S2S Lead / Purchase to ad platform - Events and metrics: Incoming DM leads, Deal approval rate, AI Manager Evaluation, ROAS per manager/source - Outcome: Solves attribution blind spots when prospects message human sales managers instead of completing web checkouts. ### 8. Ad Moderator & Bot Filtering Before Offer Pre-Landing (Traffic Shield) - Verticals: Competitive Paid Media, Financial Offers, Nutra & Sweepstakes - Prerequisites: Team+ plan (or Solo + $49 Traffic Shield add-on); Uploaded or built-in White Page - Data flow: Ad Click -> Smart Link / Pre-landing Ingress -> Multi-layer traffic filter -> Non-target traffic receives White Page; verified human mobile/target visitors reach the Telegram offer funnel - Events and metrics: Filtered vs Passed ratio, Clean visitor conversion rate - Outcome: Protects campaign links from scraper noise, spy tools, and bot inflation skewing analytics and CAPI signals. ### 9. Bot Paywalls & Telegram Stars (XTR) Digital Checkout Attribution - Verticals: Paid Communities, SaaS Bots, AI Utilities, Telegram Mini Apps - Prerequisites: Team+ plan; Bot connected in Bot Builder with Telegram Stars (XTR) invoice node - Data flow: Ad Click -> ?start=gp_... -> Interactive Bot Onboarding -> Stars Invoice (XTR) -> pre_checkout_query & successful_payment webhook -> Recorded with XTR amount + estimated USD equivalent + S2S Purchase postback - Events and metrics: Invoice conversion rate, Revenue in XTR & estimated USD (~$0.013/XTR in Meta attribution), ROAS - Outcome: Connects native Telegram Stars digital purchases directly to the originating ad creative and campaign. ### 10. Multi-Client Performance Agency Isolation & Partner OEM Provisioning - Verticals: Performance Agencies, Traffic Arbitrage Teams, SaaS Resellers - Prerequisites: Agency plan ($349/mo for 6 workspaces = owner + 5 client workspaces) or Enterprise / Partner API key - Data flow: Agency creates isolated client workspaces with RBAC member grants -> Dedicated custom domain, pixels, bots, and strict workspace isolation -> Optional Audience Boost export or partner webhooks - Events and metrics: Per-workspace clicks/conversions/spend/ROI, Cross-client seat & resource quotas, Partner usage telemetry - Outcome: Prevents pixel/channel/data cross-contamination between clients while managing up to 12 team members from one billing account. ## 9. Comparison Criteria used for every group: Primary Focus; Telegram Native Attribution (Channels, Join Requests, Bots, Manager DMs, XTR); Ad Platform Server-Side CAPI (Meta, TikTok, Google Offline); Hosted Pre-Landings & First-Party Domain TLS; General Web CPA / Multi-Offer Affiliate Routing; Pricing Model; Included Unlimited Events on Paid Plans; Built-In Bot Builder & Anti-Fraud Scoring; Setup Complexity & Time; Relationship to GramPixel. ### Telegram-Specific Attribution Tools (e.g. specialized TG bot/channel trackers, Telemetrio/TGStat analytics) - Positioning: Analytics tools like TGStat/Telemetrio focus on public channel directories and post reach; basic per-lead TG trackers typically bill per subscriber or cover only single-bot links. - Strengths: Fast single-bot join counters; Channel directory / competitor post intelligence (for TGStat/Telemetrio) - Limitations versus Telegram-native attribution: No unified multi-funnel attribution across Pre-landing -> Channel -> Bot -> Manager DM -> Stars XTR; Per-subscriber billing models can increase cost unpredictably at high daily volume; Limited or no built-in cloaking, heatmaps, and S2S ad suite - When another option fits better: Choose channel research tools if you only need public Telegram market research without paid ad attribution. ### General Web & Affiliate Trackers (Keitaro, Binom, Voluum, RedTrack, Affise, BeMob) - Positioning: Complementary Integration Partners: Keitaro, Binom, Voluum, RedTrack, Affise, HasOffers, BeMob, and OctoTracker integrate via two-way S2S postbacks. - Strengths: Mature web offer/affiliate network routing, TDS filtering, and multi-offer payouts; Self-hosted or multi-vertical web campaign management - Limitations versus Telegram-native attribution: No native Telegram Bot API webhook ingestion, ChatInviteLink binding, chat_join_request handling, or Telegram Manager DM attribution without custom glue scripts - When another option fits better: Keep or pair Keitaro/Binom when managing web CPA networks, sweeps, or direct web landers — pass click_id into GramPixel to handle the Telegram half of the funnel. ### Self-Built Scripts, Bot Constructors & Chat CRM (ManyChat, SendPulse, custom Node/Python bots) - Positioning: DIY or conversational marketing tools focused on chat flows rather than ad-network server-side attribution. - Strengths: Full code control (DIY) or rich marketing chat sequences (ManyChat/SendPulse) - Limitations versus Telegram-native attribution: Requires building and maintaining complex data storage, idempotency, custom TLS domains, ad network S2S payload mapping, and anti-fraud scoring from scratch - When another option fits better: Choose custom engineering only if you have dedicated backend/data engineers and proprietary compliance needs that require building an internal attribution stack. ### No-Code Automation Stacks (Zapier, Make, n8n, Google Sheets + Webhooks) - Positioning: Flexible glue layers that pair well via GramPixel webhooks and pull CSV/JSON APIs. - Strengths: Fast prototyping with 1,000+ external SaaS connectors (CRMs, spreadsheets, Slack/email notifications) - Limitations versus Telegram-native attribution: High per-task cost at thousands of daily clicks; Not designed for low-latency custom domain redirects, browser WebView diagnostics, or high-volume OLAP ROI queries - When another option fits better: Use Zapier/n8n/Make downstream alongside GramPixel outbound webhooks when syncing final qualified leads into external CRMs or spreadsheets (native n8n/Zapier apps in GramPixel are currently Planned). ## 10. Trust and reliability - Runtime: Distributed high-availability application infrastructure - Analytics storage: Distributed analytical database with real-time aggregation - Transactional DB: Encrypted relational database with automated daily backups - Cache and dedup: In-memory caching and distributed lock cluster with automated S2S deduplication - Edge TLS: Automated Edge TLS termination with zero-downtime certificate renewal and DDoS mitigation Security controls: - TLS/HTTPS enforced across API, dashboard, and custom tracking domains - Two-Factor Authentication (TOTP 2FA/MFA) supported on user accounts - Scoped S2S API keys supporting granular key rotation and workspace isolation - HMAC-SHA256 webhook signatures for tamper-proof postback verification - SHA-256 cryptographic hashing of PII fields prior to ad platform dispatch - Active automated traffic defense against bot scans, injection attacks, and malicious IP ranges Availability targets: tracking/API 99.9% monthly uptime target (paid plans SLA); redirects 99.9% monthly uptime target (paid plans SLA); dashboard 99.5% monthly uptime target (paid plans SLA). Paid plans qualify for up to 50% monthly fee service credit per published SLA terms (Free Sandbox excluded). Status: https://grampixel.com/status Retention: postback logs 60 days, broadcast queue 60 days, audit logs 180 days. Deletion: https://grampixel.com/data-deletion ## 11. FAQ ### Is there a free trial? Free entry: Free Integration Sandbox (100 clicks/month, 1 channel/bot, 1 domain, 1 seat, 2 AI analyses/month). Redirect tracking pauses once 100 monthly test clicks are reached until the workspace upgrades to a paid plan. There is no self-serve time-limited free trial. Paid plans carry a 7-day money-back guarantee on first-time purchases. Paid plans (Solo, Team, Agency, Enterprise) include unlimited click and event volume without per-click or per-subscriber surcharges. ### Are there overage fees? Paid plans (Solo, Team, Agency, Enterprise) include unlimited click and event volume without per-click or per-subscriber surcharges. ### Which Google Ads conversions are supported? Offline click conversions via gclid. iOS gbraid/wbraid and Enhanced Conversions user identifiers are Planned, not implemented. ### Are Keitaro and Binom competitors? No. They are complementary integration partners connected through two-way S2S postbacks. ### Is attribution 100% accurate? No. Attribution uses first-party sessions, one-time invite links, join-request webhooks and identity links. Joins without a session bridge are labeled organic. ### Are there native Google Sheets, Zapier, n8n or external CRM connectors? Not yet (Planned). Use custom webhooks, the REST API or the CSV/JSON pull endpoint. ### How do I verify webhook signatures? Outgoing webhooks sign the raw body with HMAC-SHA256 when a secret is configured (X-Signature and X-Signature-256: sha256=...). Partner webhooks use X-GramPixel-Signature. ### What is GramPixel MCP Server? GramPixel MCP connects AI assistants such as Cursor, Claude Desktop, Claude Code, Windsurf, and Antigravity directly to your workspace via npx -y @grampixel/mcp-server. Every connection requires a workspace-scoped pk_live_... API key, enabling guided setup, visual pre-landing creation, CAPI testing, or strict read-only analytics audits within your permission scopes. See https://grampixel.com/mcp and https://grampixel.com/llms-mcp.txt. ## 12. MCP Server (AI Workspace Setup & Automation) > Official Model Context Protocol (MCP) server for auditing GramPixel workspaces, running guided Quick Setup, creating visual pre-landings, connecting Telegram channels/bots/managers/TMA, generating UTM-tagged links, and configuring or testing S2S ad conversions. - Page: https://grampixel.com/mcp - Package: @grampixel/mcp-server - Quick Start: `npx -y @grampixel/mcp-server` - Protocol: Model Context Protocol (MCP) via npx stdio runner - Authentication: Workspace-scoped user API key via GRAMPIXEL_API_KEY or --api-key pk_live_... - Supported clients: Cursor, Claude Desktop, Windsurf, Antigravity, Cline, Custom MCP clients ## Capabilities (Feature -> Benefit -> Use Case) ### Workspace Readiness Audit & Guided Quick Setup - Capability: Inspects workspace setup progress and returns tailored step-by-step checklists across manager, channel, traffic, bot, and Mini App goals. - Benefit: AI assistants tell users exactly what is missing and execute setup in the right order without guesswork. - Use case: Onboarding a new ad funnel in minutes from an IDE or AI chat. ### Visual Block Pre-Landing Creation & Editing - Capability: Lists conversion presets and modular blocks, then creates, previews, updates, and recaches hosted pre-landings via AI instructions. - Benefit: Launch warm-up pages tailored to channels, bots, groups, or managers in seconds without leaving your workflow. - Use case: Spinning up high-converting campaign pre-landings with custom CTA, timer, social proof, and pixel scripts. ### Telegram Bots, Channels, Groups, Managers & TMA - Capability: Connects verified BotFather tokens, system bot workflows, channel/group rights checks, welcome messages, manager links, and Mini App tracking. - Benefit: Eliminates manual dashboard navigation and catches missing admin permissions before paid clicks arrive. - Use case: Preparing multi-channel attribution and manager DM tracking before launching ad campaigns. ### Smart Tracking Links & Server-Side CAPI Testing - Capability: Generates campaign links with Meta, TikTok, and Google Ads UTM macros, configures CAPI/webhook integrations, runs live delivery checks, and sends test events. - Benefit: Delivers campaign-ready tracking URLs and verifies conversion pipelines end-to-end before spending ad budget. - Use case: Pre-flight QA of Meta CAPI, TikTok Events API, and Google Ads offline conversions. ## Client Configuration Examples ### Cursor / Claude Desktop / Windsurf / Antigravity ```json { "mcpServers": { "grampixel": { "command": "npx", "args": ["-y", "@grampixel/mcp-server"], "env": { "GRAMPIXEL_API_KEY": "pk_live_YOUR_API_KEY" } } } } ``` ### Claude Code CLI / Terminal ```bash claude mcp add grampixel -- npx -y @grampixel/mcp-server --api-key pk_live_YOUR_API_KEY ``` ## Security & Scope Isolation - User API keys (pk_live_...) only; partner and admin keys are rejected. - Workspace-locked keys cannot access or inspect any other workspace. - Membership verification enforces user permissions inside the target workspace. - Granular read vs write scope checks guard every tool call. - Outbound webhook and bot forward URLs undergo safety validation before saving. ## Recommended Permission Presets - AI / MCP Full Setup: scopes [setup:read, setup:write, stats:read, events:write, events:read, links:read, links:write, webhooks:read, webhooks:write, tracking] — Full audit plus configuring domains, bots, channels, pre-landings, tracking links, S2S CAPI, and test events. - AI / MCP Read-Only Audit: scopes [setup:read, stats:read, events:read, links:read, webhooks:read] — Inspect setup checklists, entities, ROI summaries, and conversion diagnostics with zero write permissions. ## 13. Changelog ### 2026-11-26 v3.2: GramPixel MCP Server & Visual Block-Based Pre-Landing Builder - Launched GramPixel MCP Server (npx -y @grampixel/mcp-server) across Cursor, Claude Desktop, Claude Code, Windsurf, and Antigravity with strict single-workspace and permission-scope isolation. - Added 5 visual pre-landing presets and 14 reorderable conversion blocks (drag-and-drop workbench on web plus full creation/editing via MCP). - Added complete MCP coverage for all Quick Setup scenarios: domains, bots, welcome messages, channels/groups/chats rights checks, manager links, Telegram Mini Apps, tracking links, and CAPI test pipelines. ### 2026-11-24 v3.1: Unified Documentation, Single-Source Pricing Sync & Technical Accuracy Audit - Synchronized Solo ($49/mo), Team ($149/mo), Agency ($349/mo), Enterprise ($999/mo), and Free Integration Sandbox (100 clicks/month) terms across public pages, JSON-LD schema, API specs, and llms*.txt. - Clarified actual module readiness labels: Google Ads currently supports gclid Offline Click Conversions (gbraid/wbraid and Enhanced Conversions userIdentifiers marked Planned); Telegram Ads supports TON and EUR with manual sync trigger; scheduled Automation stop-loss execution marked Beta. - Published dedicated /compare (4-category neutral comparison) and /trust (architecture, WAF/TLS security, SLA uptime targets, and retention) pages alongside modular /llms-*.txt endpoints.