Custom Events
You can send your own custom events beyond the built-in ones.
Basic Custom Event
b2mTrack('custom_event', {
action: 'button_click',
category: 'engagement',
label: 'CTA Button'
});
Detailed Custom Event
b2mTrack('product_review_submitted', {
product_id: 'SKU123',
rating: 5,
has_photo: true,
review_length: 250,
user_tier: 'premium'
});