AG Data for PostHog WordPress Plugin | Codefreex Skip to content
AG Data for PostHog icon

WordPress plugin

AG Data for PostHog

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

By Alex Godlewski
Version
1.6.2
Last updated
Aug 31, 2026
Tested up to
WordPress 7.0.9
Requires
WP 5.8 · PHP 7.4

Health check

Is AG Data for PostHog safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on August 31, 2026. Regular updates usually mean bugs and security reports get fixed.

Not yet tested with the latest WordPress

Tested up to WordPress 7.0.9. It often still works, but check on staging first.

Requires PHP 7.4 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where AG Data for PostHog ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for AG Data for PostHog
KeywordPositionChangeTrendCurrent #1
analytics
attribution
ecommerce
posthog
woocommerce
ag data

Checked against the top 100 WordPress.org search results.

Overview

What AG Data for PostHog does

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.

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.

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

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

Description from the author's listing. Read the full listing on WordPress.org

FAQ

AG Data for PostHog: questions and answers

What is AG Data for PostHog?

AG Data for PostHog is a WordPress plugin by Alex Godlewski. PostHog Analytics for WooCommerce. Server-side event tracking, marketing attribution engine, identity stitching, and LTV enrichment.

Is AG Data for PostHog free?

AG Data for PostHog is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

Is AG Data for PostHog still maintained?

AG Data for PostHog was last updated on August 31, 2026. The current version is 1.6.2. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does AG Data for PostHog require?

AG Data for PostHog requires WordPress 5.8 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.0.9.

Can Codefreex set up or customize AG Data for PostHog?

Yes. Codefreex installs, configures and customizes WordPress plugins including AG Data for PostHog, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need AG Data for PostHog set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us