Tidio allows tracking chosen behavior of the visitors on your site. You can collect the data through the chat admin panel; that way, you can trace the most popular actions on your site and even set up a bot to react to them.
In this article, you'll learn:
- How to enable tracking for non-Shopify websites
- How to allow tracking for Shopify websites
- How to track custom events
Tracking for non-Shopify websites
To enable events tracking, go to the Settings section of the Tidio panel and open the Tracking tab.
Once inside, you'll be able to select the events you want to track by clicking on the corresponding boxes. The events listed at the bottom are generic and work for all platforms, so you can skip the Shopify option at the top and select only the events you wish to trace for non-Shopify users. Remember to hit the Save button at the bottom.
Once Tidio starts tracking the events, you can trace all the data through the Settings > Tracking section.
You can later create bots that will start when a specific event is performed on your website. You can do that by using the New Event trigger in your Visual Chatbot editor.
Tracking for Shopify-based websites
If your website is based on Shopify, by default, the tracking for Shopify will be enabled.
This way, you will enable all events dedicated to Shopify stores (e.g., a customer abandons their cart; proceeds to checkout; or completes a purchase, etc.).
Below the events, you can see the 50 last triggered events to see whether all events connected through API are working correctly.
You can now use these to create bots that react to such actions. Remember to hit the Save button at the bottom.
Custom events (advanced)
You can also use scripting to create custom events; you can later track them in the admin panel or use them to trigger a custom bot. You would need to program the event into your website's code, so the option is reserved mainly for developers. Below is a snippet example you can use:
Event name should be replaced by the specific event you wish to track.
As soon as an event is triggered once, it will become listed in Settings > Tracking and will allow you to use the 'New Event' trigger when setting up bots.
This method is also useful when the available generic events are not working for you. In this case, you'll need to add them manually by using the API script from above and setting the events according to what they represent: