Configure tracking pixels and the Civis export API key from Settings → Analytics.
Requires the manage_options capability.
Tracking pixels
Only pixels with a defined platform constant appear as usable options:
| Pixel | Constant |
|---|---|
| Meta | PRC_PLATFORM_META_PIXEL_ID |
PRC_PLATFORM_PINTEREST_TAG_ID | |
PRC_PLATFORM_LINKEDIN_PARTNER_ID | |
PRC_PLATFORM_REDDIT_PIXEL_ID |
For each pixel you can:
- Enable or disable injection
- Toggle Require marketing consent (disable temporarily for vendor verification, for example Reddit Ads setup)
With WP Consent API v2, each pixel checks service-level consent first, then falls back to the marketing category. Service slugs: meta, pinterest, linkedin, reddit.
Civis exports
Under Civis Exports:
- Generate and save an API key
- Give Civis the same key for its “Import from URL” jobs
- Civis sends the key in the
X-Civis-API-Keyrequest header
The settings screen also lists the Civis endpoint paths (datasets, users, quiz-groups, quiz-submissions). Full request contracts live in the REST API.
Settings are stored in the prc_analytics_settings option. Legacy per-pixel disable options and prc_analytics_civis_api_key migrate automatically on first save.