Events & Goals
Standard events catalogue
A reference of Otus's pre-defined standard events for common and e-commerce actions.
Otus ships with a catalogue of standard events — pre-defined names for actions that most sites care about. Using them means your data lines up with Otus's built-in reports (conversions, e-commerce, funnels) without any custom configuration.
Send any standard event with the tracking API:
window.otus.track('sign_up', { method: 'email' });
General events
| Event | Typical use |
|---|---|
login | A user signs in. |
sign_up | A user creates an account. |
search | A site search is performed (pass the query). |
form_submit | A form is submitted (leads, contact, etc.). |
share | Content is shared. |
select_content | A content item is selected. |
E-commerce events
These power the E-commerce report and revenue tracking.
| Event | Typical use |
|---|---|
view_item | A product is viewed. |
view_item_list | A list/category of products is viewed. |
select_item | A product is selected from a list. |
add_to_cart | A product is added to the cart. |
remove_from_cart | A product is removed from the cart. |
view_cart | The cart is viewed. |
add_to_wishlist | A product is added to a wishlist. |
begin_checkout | Checkout starts. |
add_shipping_info | Shipping details are added. |
add_payment_info | Payment details are added. |
purchase | An order is completed. |
refund | An order is refunded. |
view_promotion | A promotion is shown. |
select_promotion | A promotion is clicked. |
Event parameters
Standard events accept typed parameters. For example, purchase expects a transaction ID, a value, a currency and a list of items:
window.otus.track('purchase', {
transaction_id: 'T-12345',
value: 49.90,
currency: 'EUR',
items: [
{ item_id: 'SKU-1', item_name: 'Pro plan', price: 49.90, quantity: 1 }
]
});
Stick to the standard names where one fits your use case — it keeps your reports consistent. For anything not covered, define a custom event.