Google Analytics 4 Extensions
Extends GA4 by injecting custom data
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/xwp/ga4-extensions/archive/refs/heads/main.zipReadme
Google Analytics 4 Extensions
Extends Google Analytics 4 by including custom data for enhanced GA4 analytics. Supports GA4 loaded directly via
gtag.jsor through a Google Tag Manager container.
Features
- User Properties: Sets
is_subscriber(0 or 1) on all pages. - Post Data: On single post pages, outputs
post_author,post_category, andpost_tags. - Two loading modes:
- GTM mode (2.0): when a GTM container ID is set, the plugin pushes the data to
window.dataLayerbefore the container loads and outputs the GTM container snippet (head script + `
- GTM mode (2.0): when a GTM container ID is set, the plugin pushes the data to
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.