---
title: "How to find CSS Selector?"
description: "How to find CSS Selector?"
url: https://capi.appesy.com/en/articles/10-how-to-find-css-selector
collection: "Getting started"
updated: 2025-08-20
language: en
---

# How to find CSS Selector?

How to find CSS Selector?

Want to track when someone clicks a specific button on your storefront (like “Subscribe” or “Contact”)? You can do this by creating a **custom event** using a CSS selector.

-   On your storefront, go to the page and find the **button** you want to track.
    
-   **Right-click** on the button and choose **Inspect**.
    
-   In the HTML code that appears, **right-click** on the highlighted line, then choose **Copy > Copy selector**.
