The beehiiv Pixel V2 template is a custom Google Tag Manager template that enables easy integration with beehiiv's Ad Network pixel tracking. This template allows you to track various conversion events and user actions on your website.
- Google Tag Manager account
- beehiiv advertiser account
- Open your Google Tag Manager container
- Go to Templates > Tag Templates
- Click "New"
- Click the three dots menu and select "Import"
- Upload the template file
- Save the template
Or find the beehiiv Pixel V2 template in the Template Gallery and add to your container.
- Open your Google Tag Manager container
- Go to Tags
- Click "New"
- Click on the Pencil icon in the Tag Configuration panel
- Select the beehiiv Pixel V2 tag under Custom
- Enter your Advertiser ID
- Select an Event and enter additional parameters as defined below
- Add a tag trigger to make this tag fire.
- Save the template
- Advertiser ID: This is your unique advertiser id from the beehiiv Ad Network. You will find this value on the Ad Network Portal.
Event Type | Description | Required Parameters | Optional Parameters |
---|---|---|---|
pageview | page view event | - | - |
conversion | Custom conversion event | currency, value_cents | num_items, predicted_ltv_cents |
lead | Sign up completion | currency, value_cents | - |
complete_registration | Registration form completion | currency, value_cents | - |
purchase | Purchase or checkout completion | currency, value_cents | num_items |
initiate_checkout | Checkout flow initiation | currency, value_cents | num_items |
start_trial | Free trial start | currency, value_cents | predicted_ltv_cents |
subscribe | Subscription start | currency, value_cents | - |
- Event Name: Select the type of event you want to track
- Currency: Three-letter currency code (e.g., "usd", "eur")
- Value: The value in cents (e.g., $1.99 = 199)
- Number of Items: Available for purchase, initiate_checkout, and conversion events
- Predicted LTV: Available for start_trial and conversion events (in cents)
- Content Category
- Content IDs
- Content Name
- Content Type
- Search String
- Status
{
"eventName": "purchase",
"currency": "usd",
"value_cents": 1999,
"num_items": 2
}
{
"eventName": "start_trial",
"currency": "usd",
"value_cents": 0,
"predicted_ltv_cents": 29900
}
{
"eventName": "lead",
"currency": "usd",
"value_cents": 1000
}
-
Advertiser ID Not Provided
- Ensure you have entered your Advertiser ID
-
Invalid Event Name
- Check that you've selected a valid event name from the dropdown
- Verify the event name matches the supported events list
-
Missing Required Parameters
- Ensure all required parameters for your selected event are filled out
- Check that monetary values are provided in cents
The template includes built-in validation for:
- Required event name selection
- Valid currency code format (3 letters)
- Numeric values for monetary amounts and quantities
- Required parameters based on event type
For implementation support, please contact beehiiv support or consult the beehiiv developer documentation.