Event Reference
This section is a complete reference for all standard Neotag events. Use the filters to narrow down by category or use the search box to find a specific event. Click the ‘Copy’ button on any event card to get the code snippet.
Note: The properties and values in the event examples are dynamic. Please update them based on your website’s dataLayer structure and naming conventions.
1. view_promotion
This event signifies a promotion was viewed from a list.
neotag.track('view_promotion', {
creative_name: "Sale Banner",
promotion_id: "P_12345",
products: [{ name: "Eight", sku: 8 }]
});
2. select_promotion
This event signifies a promotion was selected from a list.
neotag.track('select_promotion', {
promotion_id: "P_12345",
promotion_name: "Sale",
products: [{ name: "Eight", sku: 8 }]
});
3. view_item_list
User is presented with a list of items in a category.
neotag.track('view_item_list', {
currency: "USD",
products: [{ name: "Eight", sku: 8 }]
});
4. select_item
An item was selected from a list.
neotag.track("select_item", {
currency: "USD",
products: [{ name: "Eight", sku: 8 }]
});
5. view_item
Content was shown to the user (e.g. product detail page).
neotag.track("view_item", {
currency: "USD",
value: 1000,
products: [{ name: "Eight", sku: 8 }]
});
6. add_to_cart
An item was added to a cart for purchase.
neotag.track('add_to_cart', {
currency: 'USD',
value: 100,
products: [{ name: 'Eight', sku: 8 }]
});
7. view_cart
A user viewed their shopping cart.
neotag.track("view_cart", {
currency: "USD",
products: [{ name: "Eight", sku: 8 }]
});
8. remove_from_cart
An item was removed from a cart.
neotag.track("remove_from_cart", {
currency: "USD",
products: [{ name: "Eight", sku: 8 }]
});
9. begin_checkout
A user has started the checkout process.
neotag.track('begin_checkout', {
coupon_code: "GET10",
currency: "USD",
products: [{ name: "Eight", sku: 8 }]
});
10. add_shipping_info
A user has added shipping information.
neotag.track('add_shipping_info', {
coupon_code: "GET10",
shipping_tier: "Ground"
});
11. add_payment_info
A user has added payment information
neotag.track('add_payment_info', {
payment_type: "Credit Card"
});
12. add_to_wishlist
An item was added to a wishlist.
neotag.track("add_to_wishlist", {
currency: "USD",
products: [{ name: "Eight", sku: 8 }]
});
13. search
User has performed a search.
neotag.track('search', {
search_term: "Toyota"
});
14. complete_registration
A user has signed up.
neotag.track('complete_registration', {
method: 'email'
});
15. login
A user has logged in.
neotag.track('login', {
success: true
});
16. share
A user has shared some content.
neotag.track('share', {
content_type: "Product",
item_id: "P_123",
method: "Email"
});
17. rate
A user has rated content or a product.
neotag.track('rate', {
content_type: "Product",
item_id: "P_123",
rating: 5
});
18. purchase
Records the purchase of products.
neotag.track('purchase', {
transaction_id: "T_12345",
currency: "USD",
value: 242.00,
products: [{ name: "Eight", sku: 8 }]
});
19. refund
A refund was issued.
neotag.track('refund', {
transaction_id: "T_12345",
value: 50.00,
products: [{ name: "Eight", sku: 8 }]
});
20. click_button
A user clicked an intended button.
neotag.track('click_button', {
button_name: 'download_pdf'
});
21. generate_lead
A lead was generated (e.g., form submission)
neotag.track('generate_lead', {
form_id: 'contact_us_form'
});