# How to Add Custom Event Tracking for Framer Sites

Humblytics offers native event tracking for Framer projects, making it easier to track interactions without extra setup. However, you can still add custom attributes to your Framer elements for even more precise tracking.

**Adding Custom Attributes in Framer**

1\. **Open Code Overrides**

• Click on the provided link in your project.

• Scroll down on the right toolbar.

• Click on **Code Overrides**.

2\. **Add a Code Override**

```javascript
export function withHumblyticsAttribute(Component): ComponentType {
    return forwardRef((props, ref) => {
        return <Component {...props} data-humblytics="nav-pricing" />
    })
}
```



‍**‍**Using Custom Attributes in Humblytics

1\. **Log in to Humblytics**

• Open your Humblytics dashboard and log in.

2\. **Navigate to the “Clicks” Tab**

• Go to the **Clicks** section to review event data.

3\. **Monitor Custom Attributes**

• Look for the custom attribute event name (e.g., humblytics="hero-nav-btn") once it has been triggered.

• Use the real-time insights and reports to analyze data linked to your custom attributes.

• Track specific interactions and gather detailed analytics based on the custom attributes added to your Framer elements.



<figure><img src="https://1281224403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqZMBn2D7F1lV2hgGTS2X%2Fuploads%2FwQnhPITjkYxqygzhzy0n%2FskzWYl5y-20%402x.png?alt=media&#x26;token=e9ba06da-22aa-4223-8771-819f727316db" alt=""><figcaption></figcaption></figure>

**Track FAQ Click Events**

No more second guessing, track your most-clicked FAQs in Framer without any custom code or attributes. Install the script, and we’ll show you which questions your visitors are interacting with. This functionality is also available for Webflow using custom attributes.

<figure><img src="https://1281224403-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqZMBn2D7F1lV2hgGTS2X%2Fuploads%2FaBn7kV5On63YvXsJpMao%2FEmail%20-%205.png?alt=media&#x26;token=9eb7c7cb-79c3-409e-8b42-a43328bd1f0f" alt=""><figcaption><p>FAQ elements are automatically tracked with Humblytics</p></figcaption></figure>

