---
updatedAt: 2025-06-17T21:39:12.000Z
agentTools:
  projectIndex: https://support.kissmetrics.io/llms.txt
---

# Tracking Dynamically-Loaded Elements

## Tracking Dynamically-Loaded Elements

Your site might include **dynamic elements** – those forms or buttons that are loaded (for example, via `Ajax`) after the page has loaded. Dynamic elements should get tracked by using [JavaScript Library](https://support.kissmetrics.io/reference/introduction-1) instead of using the [Event Manager](https://support.kissmetrics.io/docs/event-manager). (For events in the Event Manager, we scan the page just once for trackable elements, when our script loads.)

Developers should call our `trackClick` and `trackSubmit` API functions after dynamic elements are loaded, so that they can be tracked correctly. Please refer to our [JavaScript Library](https://support.kissmetrics.io/reference/introduction-1) documentation for more information.