Skip to main content

Quickstart

Get up and running with Website Visitor ID.

1. Create a pixel

Log in to the Console and click PixelsCreate Pixel. Give it a name (e.g., “Production”) and you’ll see:
Pixel ID
mdb_pxl_XXXXX

Installation Script
<script async src="https://p.midbound.net/mdb_pxl_XXXXX"></script>

2. Deploy the pixel

Add the script to your website’s <head> or <body>:
<script async src="https://p.midbound.net/mdb_pxl_XXXXX"></script>
Or wrap it in a self-executing function:
(function() {
  var s = document.createElement('script');
  s.src = 'https://p.midbound.net/mdb_pxl_XXXXX';
  s.async = true;
  document.head.appendChild(s);
})();
Or via PHP:
<?php echo '<script async src="https://p.midbound.net/mdb_pxl_XXXXX"></script>'; ?>

3. Create a webhook

Back in the Console, click WebhooksCreate Webhook.
FieldValue
PixelSelect the pixel you just created
Endpoint URLYour server endpoint (use play.svix.com for testing)
DescriptionOptional
EventsSelect which events to receive
Start with identity.enriched for full person and company data. If you need behavioral data (pages visited, engagement time), use identity.session.finalized instead.

4. Test it

Visit your site with the pixel installed. If the visitor is identified, you’ll see webhook events arriving at your endpoint.
Not every visitor will be identified. See Overview for identification rates.

Next steps