To help you accurately track metrics, Bolt provides tracking pixel support. Pixel tracking allows Bolt to send events to a merchant’s Google and Facebook analytics platforms so merchants can see their checkout data. Pixel tracking is provided as out-of-the-box functionality so implementation requires minimal work for you.
Note — The data presented in the Bolt Merchant Dashboard and the data presented in the Google Analytics/Facebook Dashboards may vary by a small percentage. Typically the variance will be only one or two orders.
Variations occur for the following reasons:
- The timezones google reports in can be different than Bolts
- There can be delays in events populating in Google Analytics and Facebook. Delays are typically from 10 minutes to a few hours.
Google Analytics Specifically:
Google sessions usually expire after 30 minutes of inactivity, and if a shopper leaves Bolt Checkout and then re-opens the tab the data may appear in Google Analytics as "Entered Checkout in <newtime>".
Managing Checkout Analytics and Tracking
You must be an Administrator on the dashboard to manage Checkout Analytics and Tracking.
To manage Checkout Analytics and Tracking:
- Open your Bolt Merchant Dashboard.
- Navigate to the Settings tab and select Checkout.
- Navigate to Checkout Analytics and Tracking.
To add tracking IDs:
- Click on the Add link adjacent to the type of tracking ID you wish to add:
- Google Analytics Tracking ID
- Facebook Pixel ID
- You will see a dialog box where you can add the ID.
- Click the Update button to set the ID.
To edit tracking IDs:
- Click the ID link, literally the ID number, to open the editing dialog box.
- Change the ID.
- Click the Update button to set the ID.
Enabling and Disabling Tracking
After adding a tracking ID for Facebook or Google, you can enable or disable tracking by clicking a toggle.
To manage Enable/Disable Tracking:
- Open your Bolt Merchant Dashboard.
- Navigate to the Settings tab and select Checkout.
- Navigate to Checkout Analytics and Tracking.
- Find the Ecommerce setting associated with tracking ID you wish to Enable/Disable.
- Click the adjacent toggle so that it is correctly set.
Note — You will see links that will give you more information about the tracking Bolt supports.
Purchase Tracking
In addition to enabling tracking, you will be able to choose whether or not to enable Purchase Tracking. Purchase tracking triggers upon the completion of a purchase and pushes the associated details into the data layer. Do not enable this if you already have purchase tracking enabled on your confirmation page as this will generate duplicates.
To manage Enable/Disable Purchase Tracking:
- Open your Bolt Merchant Dashboard.
- Navigate to the Settings tab and select Checkout.
- Navigate to Checkout Analytics and Tracking.
- Find the Purchase Tracking setting associated with tracking ID you wish to Enable/Disable.
- Click the adjacent toggle so that it is correctly set.
Checkout Events Technical Details
Google Analytics - Funnel Tracking
Bolt will use Google Analytics’ standardized checkout funnel measurement for Enhanced Ecommerce to track events in checkout.
Checkout Steps
Bolt Callback | Google Analytics Checkout Step |
onCheckoutStart | 1 |
onEmailEnter | N/A |
onShippingDetailsComplete | 2 |
onShippingOptionsComplete | 3 |
onPaymentSubmit | 4 |
success | 5 |
Product Details
With each step Bolt will pass the associated product details from the cart. The variant property will only be passed when available, all others will be passed for all products.
dataLayer.push({
'event': 'checkout',
'ecommerce': {
'checkout': {
'actionField': {'step': 1},
'products': [{
'name': 'Black T-Shirt',
'id': '12345',
'price': '15.25',
'variant': 'Gray', // When available
'quantity': 1
}]
}
}
Google Analytics - Purchase Tracking
Bolt will use Google Analytics’ standardized purchase measurement for Enhanced Ecommerce to track purchases.
dataLayer.push({
'ecommerce': {
'purchase': {
'actionField': {
'id': 'H7WM-THGR-4LX6', // Bolt Reference.
'revenue': '35.43', // Total transaction value
'tax':'4.90',
'shipping': '5.99',
'coupon': 'SUMMER_SALE'
},
'products': [{ // List of productFieldObjects.
'name': 'T-Shirt', // Name or ID is required.
'id': '12345', // SKU when provided
'price': '15.25',
'variant': 'Blue', // When available
'quantity': 1
},
{
'name': 'Golf Club',
'id': '67890',
'price': '9.29',
'variant': '',
'quantity': 1
}]
}
}
});
Facebook Tracking Pixel
Bolt will use Facebook’s standard events when possible to pass actions in checkout to Facebook through the pixel.
Mapping Facebook Events to Bolt Callbacks
Standard Facebook Event | Custom Facebook Event | Associated Bolt Callback |
InitiateCheckout | N/A | onCheckoutStart |
N/A | EmailEnter | onEmailEnter |
N/A | ShippingDetailsComplete | onShippingDetailsComplete |
N/A | ShippingOptionsComplete | onShippingOptionsComplete |
AddPaymentInfo | N/A | onPaymentSubmit |
Purchase | N/A | success |
N/A | CheckoutClose | close |
Event Properties
All events will include the following properties:
{
currency: '<currency>',
num_items: '<number of items>',
value: 25.99,
content_ids: ['<SKU #1>', '<SKU #2>'],
contents: [{'id': '<SKU #1>', 'quantity': 1}, {'id': '<SKU #2>', 'quantity': 1}],
content_type: 'product'
}
Note — The num_items property will only be included with the InitiateCheckout event and the content_type property will only be included with the Purchase event.