# Can we track custom coded button?

**URL:** <https://community.hubspot.com/t/can-we-track-custom-coded-button/85141>\
**Category:** CMS Development\
**Tags:** design-manager, css\
**Created:** [July 12, 2023, 5:49am UTC](https://community.hubspot.com/t/can-we-track-custom-coded-button/85141 "2023-07-12T05:49:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pallavan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pallavan/32/88643_2.png) [@Pallavan](https://community.hubspot.com/u/Pallavan)\
**Post date:** [July 12, 2023, 5:49am UTC](https://community.hubspot.com/t/can-we-track-custom-coded-button/85141/1 "2023-07-12T05:49:37Z")

</div>

Hi,

I would liek to create a button using design manager through which i would like to track clicks. Similar to Hubspot CTA.

Why not use Hubspot CTA?

Because i would like to implement an accordion( opening and closing of a section? through this CTA.

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [July 12, 2023, 8:13am UTC](https://community.hubspot.com/t/can-we-track-custom-coded-button/85141/2 "2023-07-12T08:13:54Z")

</div>

Hi @Pallavan

Marketing Hub Enterprise has a feature (and a supporting API in beta) for this called Custom Behavioral Events.

I’m not aware of any (simple) was to do this on Pro though.

If the CTA leads to a specific page, you can always measure views of that page. And Customer Journey Analytics (also Enterprise) could report on it.

Hope this helps.
