Blocking Triggers

Last updated Apr 16, 2026 Blocking Triggers are triggers that instead of being used to define when to start an action, are used to define when to not start an action. You may need to block one or more actions in a tool from firing when a specific condition arises. For these cases, you can set Blocking Triggers.

Every tool action has Firing Triggers assigned to it. Blocking Triggers are optional and, if defined, will conditionally prevent the action from starting. When you add Blocking Triggers to an action, the action will not fire if any of its Blocking Triggers are true. If the tool has more than one action, other actions without these Blocking Triggers will still work.

To conditionally block all actions in a tool, you have to configure Blocking Triggers on every action that belongs to that tool. Note that when you use Blocking Triggers, Zaraz will still load on the page.

To use Blocking Triggers, start by creating the trigger with the conditions you want to use to block an event. Then:

  1. Go to Zaraz ↗︎ > Tools Configuration.
  2. Under Third-party tools, locate the tool with the action you want to block and select Edit.
  3. In Action Name, select the action you want to block.
  4. In Blocking Triggers, use the dropdown menu to add a trigger to block the action.
  5. Select Save.

Note

Blocking Triggers are useful if you wish to block specific actions, or even specific tools from firing, while keeping others active. If you wish to turn off Zaraz entirely on specific pages/domains/subdomains, or load Zaraz depending on other factors such as cookies, we recommend loading Zaraz selectively.

Was this helpful?

YesNo

On this page

Blocking Triggers - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/zaraz/advanced/blocking-triggers/#page","headline":"Blocking Triggers","description":"Prevent triggers from firing under specific conditions.","url":"https://developers.cloudflare.com/zaraz/advanced/blocking-triggers/","inLanguage":"en","image":"https://developers.cloudflare.com/zaraz/advanced/blocking-triggers/og.png?v=ffd2a1b5ca2caef9","dateModified":"2026-04-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Enrich event context with server-side data using Workers. title: Context Enricher image: https://developers.cloudflare.com/zaraz/advanced/context-enricher/og.png?v=5a6409827ec145b1


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/zaraz/llms.txt
Use this file to discover all available pages before exploring further.