Prerequisites and Installation
Prerequisites and Installation
Prerequisites
Before you begin, make sure you have:
- A working Google Tag Manager Server-Side container receiving traffic
- A running Probr instance (self-hosted via Docker) with at least one site configured
- Editor access (or higher) to the server-side GTM container
Step 1: Create Your Site in Probr
Use the Probr API to create a client and site:
# 1. Create a client
curl -X POST https://your-probr-instance/api/clients \
-H "Content-Type: application/json" \
-d '{"name": "My Company", "email": "ops@mycompany.com"}'
# 2. Create a site (use the client_id from the response above)
curl -X POST https://your-probr-instance/api/sites \
-H "Content-Type: application/json" \
-d '{"client_id": "<client-uuid>", "name": "mysite.com - Production", "url": "https://mysite.com", "sgtm_url": "https://sgtm.mysite.com"}'
The response will include an auto-generated Ingest Key (ingest_key field) — you'll need it in the next step.
See Clients & Sites for the full API reference.
Step 2: Install the Probr Listener Tag
Option A: From the GTM Community Template Gallery (recommended)
- In your server-side GTM container, go to Templates > Tag Templates
- Click Search Gallery
- Search for "Probr"
- Click Probr — Server-Side Listener then Add to workspace
- Confirm the addition
Option B: Manual import
- Download the
template.tplfile from the GitHub repo - In server-side GTM, go to Templates > Tag Templates > New
- Click the three dots (more options) in the top right > Import
- Select the downloaded
template.tplfile - Click Save
Step 3: Create the Tag
| Field | Value |
|---|---|
| Probr Ingest Endpoint | https://your-probr-instance/api/ingest |
| Probr Ingest Key | The ingest_key from Step 1 |
| Track user data quality | Checked (recommended) |
| Send mode | Per event (recommended) |
- Triggering: select the All Events trigger (or create a custom trigger)
- Name the tag:
Probr - Listener - Click Save
Step 4: Exclude the Probr Tag from Monitoring
To avoid a feedback loop (the Probr tag monitoring itself):
- Note the ID of the Probr Listener tag (visible in the URL when editing the tag, or in the tag list)
- Edit the Probr Listener tag
- In the Tag IDs to Exclude field, enter the noted ID
- Save
Step 5: Add Tag Metadata (recommended)
So that Probr displays tag names (not just their IDs):
- For each important tag in your container, open its settings
- Expand Advanced Settings > Additional Tag Metadata
- Check Include tag name (
name=true) - Save
This allows Probr to identify each tag by name in the dashboard.
Step 6: Publish
- Click Submit in GTM
- Add a version note (e.g., "Add Probr monitoring")
- Click Publish
Data will start appearing in your Probr dashboard within seconds.
Verification
To verify everything is working:
- Open Preview mode in your sGTM container
- Send a test event from your site
- Verify that the Probr - Listener tag fires with the status Succeeded
- In your Probr dashboard, verify that the event appears in the real-time feed
Next Step
See the detailed GTM Listener documentation for advanced options.