Skip to content

v1.1.0

Choose a tag to compare

@TBarregren TBarregren released this 16 Feb 08:30
· 52 commits to main since this release

This release adds action hooks that allow companion plugins to integrate with external ad platforms without modifying the core plugin.

New

  • kntnt_ad_attr_click action — Fires after every non-bot click is logged, before consent handling and redirect. Passes the hash, target URL, and campaign data (post ID + UTM parameters). The $_GET superglobal is available to callbacks, enabling companion plugins to capture platform-specific parameters such as gclid, fbclid, or msclkid.
  • Extended kntnt_ad_attr_conversion_recorded — Now receives a second parameter: a context array with timestamp (ISO 8601 UTC), ip, and user_agent. This gives companion plugins the data needed for server-side conversion reporting (e.g. Google Ads Conversion API, Matomo Measurement Protocol).

No Breaking Changes

The extended kntnt_ad_attr_conversion_recorded hook is backwards compatible — existing callbacks that accept only $attributions continue to work without modification.

No database schema changes. No new translatable strings.