> For the complete documentation index, see [llms.txt](https://zata.gitbook.io/zata-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zata.gitbook.io/zata-documentation/installation/tracking-custom-events.md).

# Tracking Custom Events

#### Track Custom Events

Add more power to your segments by tracking custom user events. This is extremely useful to analyze feature adoption and create more powerful segments.

```
Example 1 :

// You can track your events using the "Track" method 
<script>
 zata.track("Event");
</script>

// You can also specify more information about your event 
<script> 
 var meta = {URL: "/growth"};
 zata.track("Page Event", meta);
</script>


Example 2 :

zata.track("Event Name"); // e.g. "Clicked Some Button"

zata.track("Another Event", { // e.g. "Submitted a Help Ticket"
  url: "/support",
  article:"installation"
)};
```
