Skip to main content

Blocking Domains

Coming Soon!

This feature is under development and will be available soon.
You can completely block pixel wrapping for specific domains. When blocked, the pixel will not fire for any URLs matching the specified domain, effectively stopping all tracking for that domain.

Example Use Cases

  • Development environments: Block pixel wrapping on staging or local development domains
  • Cost control: Temporarily block tracking for specific domains to manage costs
  • Maintenance: Block pixel wrapping during site maintenance or migrations
  • Testing: Turn off pixel wrapping to test site functionality without tracking interference

API Endpoint

POST https://api.mdb.tools/pixel/block
Authentication: x-api-key header
Response Format: JSON

Example Request

curl -X POST "https://api.mdb.tools/pixel/block" \
  -H "x-api-key: your-api-key-here" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "example.com"
  }'
Request Parameters:
  • domain (string, required) - The domain to block pixel wrapping for