Events are individual actions that your users perform in your website. Some examples of events include a user viewing a product detail, making a purchase, visiting account page or reviewing an item. By tracking events, you can better understand how your users are spending time in your website. In Frizbit, you can analyze these events and create specific campaigns or segments that target users who perform these actions.
There are three categories of events in Frizbit: System Events, Predefined Events and Custom Events.
System Events are events recorded automatically after you integrate our library such as Notification Clicked, Notifybox Accepted. You don't need to do anything to send them.
Predefined Events are events which we have standardized a series of reserved event names that we think they are common in every e-commerce website.
Custom Events are events you define and track. Before defining your custom events, we recommend you to check our predefined event list. Our predefined event names are built from a noun(the entity) and past-tense verb(the action). If you can't find any proper predefined event, then we recommend you to use unique but recognizable names like Signin Completed or Music Played so that everyone in your team can know what they mean instantly.
Predefined Events
Events are core components of both Frizbit platform and your website. In order to build a meaningful semantic between us, we decided to standardized some events that are very common in every e-commerce website. By using these predefined events name in your track method call will help you to make your user tracking events structure more recognizable in Frizbit platform.
We recommend you to use these predefined events whenever it is possible.
| Event Name | Description |
|---|---|
| pageViewed | User visited a page |
| productsSearched | User searched for a product |
| productsListViewed | User visited a product listing or a category page. |
| productsPurchased | User purchased products. |
| productClicked | User clicked to a product. |
| productViewed | User viewed a product's detail page. |
| productAddedToCart | User added a product to her shopping cart. |
| productRemovedFromCart | User removed a product from her shopping cart. |
| productAddedToWishlist | User added a product to her wishlist. |
| productRemovedFromWishlist | User removed a product from her wishlist. |
| productReviewed | User wrote a comment or review for a product. |
| productShared | User shared a product on the internet. |
| cartViewed | User viewed her shopping cart. |
Product Events
In this section, we will give examples of the product related events.
productsSearched
Fire this event when a visitor searches for products.
You can extend this event with the following predefined metadata:
| Metadata Name | Type | Description | Example |
|---|---|---|---|
query |
String | The search query the customer searched | "ipad mini" |
Example of tracking when a user searched a product:
frizbit.track("productsSearched", {
query: "ipad mini"
});
productsListViewed
If you have any questions or see anywhere we can improve our documentation, please let us know!