Skip to content

Dynamic Event Values

SignalRelay Pro allows you to attach dynamic parameters (value, currency, content_name, etc.) extracted at runtime from various on-page data sources.


Supported Dynamic Sources

1. WordPress Post Meta (Custom Fields)

Extract values from any custom field attached to the current post or CPT (e.g. _price, property_id, doctor_specialty).

  • Advantage: Resolved securely on the server and 100% compatible with page caching.

2. URL Parameters (Query Strings)

Read parameters directly from the browser URL (e.g. ?plan=premium&source=newsletter).

  • Advantage: Resolved in the visitor browser at runtime, never mixing data across cached page hits.

3. JavaScript Variables (window.myVariable)

Map global JavaScript objects (such as window.currentUser or dataLayer) directly to event properties.

4. CSS Selector Text Content

Extract inner text from any DOM element upon trigger (such as the text inside h1 or price in .total-amount).