Knowledge Base      


How do I find the Element ID In Kartra?


Knowing the Element ID in Kartra is essential when tracking specific items within your landing pages. You can use this to track button clicks, link clicks, or even clicks on images. 

Finding the Element ID in Kartra is simple. For this example, we’ll be using the button element.


First, go to Kartra and edit the page you want to track the button clicks.

On that page, click the gear icon  and choose the “Edit source code” option.

 
 


You are looking for the “button” component on the source code page. You will find it by looking for data-component=”button” in the code.

When you find it, it will look something like this:
 
 


Copy the “id" of the button and save that to add to your ClickMagick code.

In this case, the id is “accordion-SnYfnlBRNG

Use this ID to track your button clicks with Kartra.

 
Note: This also works with most of the elements within Kartra using the same steps you used above.



To discover how to track your button clicks, check out the article below:

How do I track link or button clicks?

Article 849 Last updated: 07/29/2023 3:59:38 PM
https://www.clickmagick.com/kb/?article=849