Skip to content

PostHog Options

:local: :depth: 2

This page documents the available options for integrating PostHog with the ASA2 Tracking module.

PostHog-specific Options

Enable PostHog Tracking

Enable PostHog Tracking

  • Type: Checkbox
  • Description: Enables the inclusion of the PostHog JavaScript tracker in the frontend. Tracking data will only be sent to PostHog if this option is enabled.

PostHog API Key

  • Type: Text field
  • Description: Enter your PostHog API key here. This key is required for tracking to work.

PostHog Host

  • Type: Text field (with placeholder)
  • Default: https://app.posthog.com
  • Description: The URL of your PostHog instance. For the cloud version, the default is https://app.posthog.com.

PostHog Debug Mode

  • Type: Checkbox
  • Description: Enables debug messages from the PostHog tracker in the browser console. Useful for troubleshooting during integration.

Additional Notes

  • All options are available in the Tracking module settings.
  • Changes to these options are applied immediately.
  • A valid API key is required to use PostHog.

For more information, see the main documentation or https://posthog.com/docs.

ASA2 - The Amazon Affiliate Plugin for WordPress