Pixelflow
Getting Started

How to Trigger Events When a Page is Loaded

Use Event URLs to send a Meta event when someone visits a specific page on your site. This works best for thank-you pages, booking confirmations, and other URL-based milestones. For buttons, forms, and other on-page interactions, start with How to Track Events and use Visual Tagger first.

What Event URLs do

Event URLs let PixelFlow trigger an event when a page URL matches the rule you add. Unless you add blocking logic, the event will fire every time that page is visited.

Common examples:

  • Send Lead on /thanks-for-booking-a-call

  • Send Search on /search-results

  • Send Subscribe on /thanks-for-subscribing

If you need more control, add Event Blocking Rules to limit reloads, repeat visits, or bot traffic.

When to use Event URLs

  • thank-you pages after a form submission

  • booking confirmation pages

  • checkout success pages

  • other milestones that load on a unique URL

Do not use Event URLs as the default option for buttons, popups, or forms that stay on the same page. For those, use Visual Tagger first or manual tagging with CSS classes when you need more control.

Create an Event URL

  1. Open your PixelFlow dashboard and click + Add URL in the Events URLs section.

  2. Enter the full page URL you want to track.

  3. Select the event you want to send.

  4. Review any extra options, then click Add URL.

Sites page showing the + Add URL button
Add Event URL modal showing site selector, URL input, event dropdown and new features
  • Value parameter: Add a fallback numeric value for supported events like Purchase.

  • Block duplicate events: Prevent repeat events on reload.

  • Advanced options: Configure URL parameter extraction and auto-extraction features.

Add a value to supported events

Some events support a numeric value, such as Purchase or AddToCart. You can add a fallback value if PixelFlow is not extracting one from the page.

  • Values support up to two decimal places

  • The field appears only for supported events

Block duplicates on page reload

PixelFlow can block duplicate events caused by page refreshes.

  • Block duplicate events on page reload is enabled by default

  • You can change the blocking interval in minutes, hours, or days

  • This uses the same blocking logic as Advanced Blocking Rules

PixelFlow matches URLs by prefix. If you add mywebsite.com/product, it will also match pages like mywebsite.com/product/item-1.

Enrich Event URLs with more data

You can enrich Event URL events in two ways.

Extract data from URL parameters

PixelFlow can read query parameters and map them to Meta fields. This is useful for thank-you pages, search pages, and order confirmation pages that include values in the URL.

Examples:

  • /[email protected]&name=John

  • /search?query=shoes&category=mens

  • /order-confirmation?total_price=300&quantity=2

  1. Enable Extract data from URL parameters.

  2. Enter an example URL that includes the parameters you want to map.

  3. Review the suggested mappings.

  4. Adjust any mapping if needed.

  5. Save the Event URL.

Supported Meta fields include Value, Country, State, City, Postal code, Quantity, Currency, Email, Phone, First name, and Last name.

Each Meta field can map to only one URL parameter.

PixelFlow hashes sensitive fields like email before sending them to Meta.

Extract data from page elements

You can also tag page elements and let PixelFlow extract data from the page itself. See How to Track and Trigger Events using "Classes".

Changes to Event URLs can take a few minutes to appear for active visitors, but new visitors receive the latest version automatically. You do not need to replace the script manually.

Was this helpful?