Guide

Analytics admin guide

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:

PixelConstant
MetaPRC_PLATFORM_META_PIXEL_ID
PinterestPRC_PLATFORM_PINTEREST_TAG_ID
LinkedInPRC_PLATFORM_LINKEDIN_PARTNER_ID
RedditPRC_PLATFORM_REDDIT_PIXEL_ID

For each pixel you can:

  1. Enable or disable injection
  2. 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:

  1. Generate and save an API key
  2. Give Civis the same key for its “Import from URL” jobs
  3. Civis sends the key in the X-Civis-API-Key request 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.

Was this helpful?