🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
AG Data for PostHog icon
Mantido Testado até 7.0.9

AG Data for PostHog

PostHog Analytics for WooCommerce. Server-side event tracking, marketing attribution engine, identity stitching, and LTV enrichment.

Instalações ativas<10Novo
Downloads · 30d101▲ +68.3% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde49/100Justo
Downloads de todos os tempos538Since Jun 2026
Suporte resolvido—Sem tópicos recentes
RequerWP 5.8Php 7.4+
Downloads · 7d20▼ -37.5% week over week
Nosso veredicto

Use com cautela

AG Data for PostHog works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 49/100 on our health check.

  • Base de usuários pequenas (<10 instalações ativas)
  • Muito poucos comentários até agora

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

257Sep 3Oct 17Dec 1
Ontem2
Média diária (1y)3
Dia de pico36Jun 18, 2026
Últimos 12 meses543

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where AG Data for PostHog stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
analytics >100 9,321 Best analytics plugins →
attribution >100 1,977 Best attribution plugins →
ecommerce >100 3,048 Best ecommerce plugins →
PostHog #16 44 Best PostHog plugins →
WooCommerce >100 10,000 Os melhores plugins do WooCommerce →

About AG Data for PostHog

From the official readme · v1.6.2

Descrição

AG Data for PostHog connects your WooCommerce store to PostHog — the open-source product analytics platform. Track the complete customer journey from first click to lifetime value, all within PostHog.

Why AG Data?

Most WooCommerce analytics plugins give you pageviews and basic events. AG Data gives you a full marketing attribution engine — first-touch/last-touch UTM tracking, ad click ID capture (Google, Meta, TikTok, Microsoft, LinkedIn), server-side first-party cookies that survive Safari ITP, and automatic LTV enrichment on every person profile.

Key Features

Server-Side Event Tracking

  • Order Completed, Order Refunded, Order Status Changed
  • Product Added — tracked on the server, so it covers every add-to-cart: AJAX buttons on archives, single product pages that post their form, and variable, bundled or optioned products
  • Deduplication prevents double-counting
  • Blocking API calls ensure delivery before marking as tracked
  • Works with all payment gateways and checkout flows
  • apha_event_properties filter attaches your own properties to every server-side event

Frontend Event Tracking

  • Product Viewed, Product List Viewed, Products Searched
  • Product Removed (classic and block-based carts)
  • Cart Viewed, Checkout Started
  • Product Clicked, Coupon Applied / Removed, Payment Info Entered
  • Works without jQuery — block themes fully supported

Marketing Attribution Engine

  • Captures UTM parameters and ad click IDs (gclid, fbclid, ttclid, msclkid, li_fat_id)
  • Server-side first-party cookies bypass Safari ITP 24-hour restriction
  • First-touch and last-touch attribution persisted to every order
  • Days-to-conversion and session count tracking
  • Falls back to WooCommerce 8.5+ native attribution when cookies are unavailable
  • Attribution data included in all PostHog order events

Identity Stitching

  • Reads PostHog JS SDK cookie server-side for seamless funnel connection
  • Browser posthog.identify() for logged-in users
  • Server-side $identify with $anon_distinct_id merges anonymous and known profiles
  • PostHog funnels work end-to-end: Landing Page → Checkout Started → Order Completed

LTV Person Enrichment

  • total_orders, lifetime_value, avg_order_value, last_order_date updated on every purchase
  • first_order_date, acquisition_source, acquisition_medium, acquisition_campaign set once via $set_once
  • Build PostHog cohorts like “Customers with LTV > $500 acquired from Google Ads”

GDPR / Consent Management

  • Optional consent mode: starts PostHog opted-out with memory-only persistence
  • Exposes aphaOptIn() / aphaOptOut() JavaScript functions
  • Built-in support for CookieYes and Complianz consent management platforms

WooCommerce Compatibility

  • HPOS (High-Performance Order Storage) compatible
  • Cart and Checkout Blocks compatible
  • Classic and block checkout flows supported
  • Reverse proxy support for first-party tracking domains

Requisitos

  • WordPress 5.8+
  • WooCommerce 7.0+
  • Php 7.4+
  • A PostHog account (free tier available at posthog.com)

Serviços externos

This plugin connects to PostHog, a third-party product analytics service, to send your store’s analytics and e-commerce event data. This connection is required for the plugin to work — its entire purpose is to record analytics in PostHog. No data is sent until you enter a PostHog Project API key in the plugin settings.

What PostHog is used for:

  • Receiving server-side e-commerce events (Order Completed, Order Refunded, Order Status Changed).
  • Receiving frontend browsing events (Product Viewed, Cart Viewed, Checkout Started, and similar) via the PostHog JavaScript SDK, which is loaded on your site’s pages from your configured PostHog host.
  • Storing person profiles enriched with order/LTV data and marketing attribution data.

What data is sent, and when:

  • While a visitor browses your store, the PostHog JavaScript SDK captures pageviews and browsing events. This includes page URLs, referrer, UTM parameters, ad click IDs (gclid, fbclid, ttclid, msclkid, li_fat_id), and a PostHog-generated anonymous identifier.
  • When an order is placed, refunded, or changes status, the plugin sends order data from your server — order ID, totals, currency, line items, payment and shipping method, and billing/shipping country. For logged-in users, a WordPress-based identifier and the customer email may also be sent so anonymous and known profiles can be merged.
  • Requests are sent to the PostHog host you configure in the settings (PostHog US Cloud, PostHog EU Cloud, or your own self-hosted/proxy URL).

Service provider: PostHog Inc.
Terms of Service: https://posthog.com/terms
Privacy Policy: https://posthog.com/privacy

Instalação

  1. Upload the ag-data-for-posthog folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Go to WooCommerce > Settings > AG Data
  4. Enter your PostHog project API key (starts with phc_)
  5. Select your PostHog region (US or EU)
  6. Optionally configure a reverse proxy URL for first-party tracking
  7. Done! Events will start flowing to PostHog immediately.

Log de Changes

Plugin renamed to AG Data for PostHog. All functionality and settings are preserved — no reconfiguration needed.

1.6.2

  • Fix: Order Completed is now tracked for orders that are created already in a paid status. WooCommerce only records a status transition once the order object has been read from the database, so an order saved straight into a paid status fires no transition hook at all — if its gateway also skips WC_Order::payment_complete(), nothing reported the order. Reported by @craftyshaun in issue #1.
  • New: the order-received page is used as a final fallback, so a paid order that somehow reached neither hook is still reported once the customer lands there.
  • Unpaid orders are still never reported as Order Completed. A bank transfer or cheque customer reaches the order-received page while the order is on hold, and counting that as revenue would overstate sales.
  • Both new paths reuse the existing deduplication, so orders continue to produce exactly one Order Completed event.

1.6.1

  • Fix: Order Completed is now tracked for payment gateways that never call WC_Order::payment_complete(). Gateways that set the paid status directly — common among local payment providers — left orders completely untracked, because both of the previous hooks depended on payment_complete() running or on the order reaching the completed status. Order Completed now fires on any transition into a paid status, whatever the gateway.
  • The existing deduplication (in-memory guard plus _apha_tracked order meta) keeps the overlapping paths safe, so gateways that do call payment_complete() still produce exactly one event.

1.6.0

  • Fix: Product Added is now tracked server-side on the woocommerce_add_to_cart hook. The previous JavaScript handlers only fired for AJAX add-to-cart buttons, so single product pages that post their form — every variable, bundled, composite or optioned product — were never tracked at all.
  • Behavior change: Product Added moves from the browser to the server. Both JavaScript handlers were removed to avoid double-counting AJAX adds. The event now carries full product properties (sku, price, category, brand, variant) and $lib = ag-data-for-posthog. Anything filtering Product Added by client-side-only properties should be updated.
  • Fix: Logged-in visitors no longer split into two persons at checkout. The browser had been calling posthog.identify(email) from an already-identified wp_XX ID, which PostHog’s merge restrictions reject — the browser moved to the email while server events stayed on wp_XX. Person properties are now set on the existing person instead.
  • New: apha_event_properties filter attaches properties to every server-side event, the server-side counterpart to posthog.register(). Reserved keys are applied after the filter.

1.5.3

  • Fix: Adds app_source=wordpress to server-side Order Completed attribution

1.5.2

  • Fix: Escapes PostHog JavaScript property names and $pageview in the inline bootstrap snippet

1.5.1

  • New: Adds a stable funnel_session_id across WordPress pageview, checkout, and server-side order events
  • New: Adds funnel_key, host, source_host, source_page, and URL properties for cleaner PostHog CRO reporting
  • Fix: Captures $pageview manually after registering funnel properties so landing-page views can join to checkout/order events

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best AG Data for PostHog alternatives

All analytics plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Kit do site Google – análise, console de pesquisa, adsense, velocidade Kit do site por Google O Site Kit é uma solução única para os usuários WordPress usarem tudo que Google tem a oferecer… por Google 5M+ ★★★★★★★★★★ 4.2 (1K) 2 dias atrás 92
2 MonsterInsights – Google Dashboard do Analytics para WordPress (Estatísticas do site facilitadas) MonsterInsights O melhor plugin gratuito Google Analytics para WordPress. Veja como os visitantes encontram e usam seu… por Chriscct7 2M+ ★★★★★★★★★★ 4.5 (3.2K) 3 meses atrás 93
3 WP Statistics – alternativa simples e amigável à privacidade Google Alternativa de análise Estatísticas WP Cookieless, privacy-friendly WordPress analytics. Clear graphs and visitor data kept on… by VeronaLabs 500K+ ★★★★★★★★★★ 4.1 (763) 1 dia atrás 90
4 GA Google Analytics – Conecte Google Analytics a WordPress GA Google Analytics – Conecte Google Analytics a WordPress Adds Google Analytics tracking code to your WordPress site. Supports many tracking features. Por Jeff Starr 400K+ ★★★★★★★★★★ 4.9 (159) 4 dias atrás 97
5 ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin) ExactMetrics Connects Google Analytics with your WordPress site. Displays stats to help you understand… Por Syed Balkhi 200K+ ★★★★★★★★★★ 2.5 (1.5K) 3 meses atrás 80
6 Cabeça, rodapé e pós injeções Cabeça, rodapé e pós injeções O plug-in de cabeça e rodapé permite adicionar código HTML às seções de cabeça e rodapé do seu… Por Stefano Lissa 200K+ ★★★★★★★★★★ 4.9 (735) 8 meses atrás 53
7 Burst Statistics – Simple WordPress Analytics (Google Analytics Alternative) Burst Statistics Simple, lightweight WordPress analytics with privacy-friendly visitor tracking. Cookieless… by Burst Statistics B.V. 200K+ ★★★★★★★★★★ 4.9 (192) 1 dia atrás 94
8 HubSpot All-In-One Marketing – Forms, Popups, Live Chat HubSpot All-In-One Marketing – Forms, Popups, Live Chat The CRM, Sales, and Marketing WordPress plugin to grow your business better. Capture and… by HubSpot 200K+ ★★★★★★★★★★ 4.3 (207) 6 dias atrás 81
9 UserFeedback – Create Interactive Feedback Form, User Surveys, and Polls in Seconds UserFeedback Ultimate user feedback plugin to ask questions, surveys, polls, from your website in seconds Por Syed Balkhi 200K+ ★★★★★★★★★★ 4.8 (311) 3 meses atrás 82
10 Post Views Counter Post Views Counter Count and display post views, track site-wide visits, and see what content works – inside… por dFactory 100K+ ★★★★★★★★★★ 4.9 (1.2K) 1 semana atrás 96

FAQ

AG Data for PostHog: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is AG Data for PostHog free?

Yes. AG Data for PostHog is free to download and use from the official WordPress.org plugin directory.

Is AG Data for PostHog safe to use in 2026?

AG Data for PostHog works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 49/100 on our health check.

How many websites use AG Data for PostHog?

AG Data for PostHog is active on <10 WordPress websites and has been downloaded 538 times since it launched in June 2026. It was downloaded 101 times in the last 30 days.

Does AG Data for PostHog work with WordPress 7.1?

AG Data for PostHog is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does AG Data for PostHog need?

AG Data for PostHog requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was AG Data for PostHog last updated?

The latest version, 1.6.2, was released on August 31, 2026 (3 months ago).

Who makes AG Data for PostHog?

AG Data for PostHog is developed and maintained by Alex Godlewski.

What are the best alternatives to AG Data for PostHog?

The most popular alternatives to AG Data for PostHog are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir