Central analytics integration for the PRC Platform. Brokers Parse.ly and Google Analytics 4 queries, consent-gated tracking pixels, Civis CSV exports, and WordPress Abilities for traffic analysis.
Package: @prc/analytics
Source: plugins/prc-analytics/
Site admins configure pixels and the Civis API key. Developers and AI tooling consume REST routes and Abilities. The plugin does not collect raw hit data itself.
Choose a path
Who are you?
Start with the guide that matches your work.
Documentation
For admins
- User guide — Settings → Analytics
For maintainers
- Architecture — providers, constants, Salesforce filters
- Troubleshooting — Parse.ly null metrics, Civis 401, pixels
For consumers
- REST API — query and Civis export routes
- Abilities —
prc-analytics/analyze-post,prc-analytics/analyze-topic
Related
- Plugin README — WP-CLI, constants, dependency notes
- Dependency auth — GA4 service account provisioning