# Adding 'click text' to CTAs/buttons

**URL:** <https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177>\
**Category:** Lead Capture Tools\
**Tags:** ctas, forms, starter\
**Created:** [April 8, 2021, 7:14pm UTC](https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177 "2021-04-08T19:14:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EnesCinar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/enescinar/32/57633_2.png) [@EnesCinar](https://community.hubspot.com/u/EnesCinar)\
**Post date:** [April 8, 2021, 7:14pm UTC](https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177/1 "2021-04-08T19:14:07Z")

</div>

Hi all,

We have ‘Send’ button in one of our form which locates in website. I try to perform integration between Google Tag Manager and Hubspot, and for the accurate results I need to determine ‘click text’ for some buttons.

When I check some buttons’ click text, it says ‘undefined’. That’s why I want to give specific name them to get accurate Google Tag manager analysis and precise intergration. How can I add 'click text’s to my buttons?

Thank you

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [April 9, 2021, 9:10am UTC](https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177/2 "2021-04-09T09:10:13Z")

</div>

Hi @EnesCinar ,

Thank you for reaching out to the Community.

I did a bit of research and found [this Community post (CTA event tracking in Google Tag Manager)](https://community.hubspot.com/t5/Reporting-Analytics/CTA-event-tracking-in-Google-Tag-Manager/td-p/335450), where you might find a solution.

@mike-ward & @linusgrundstromwhat would you suggest? Thank you!

Cheers,

Mia

---

<div class="post-metadata">

**Author:** ![EnesCinar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/enescinar/32/57633_2.png) [@EnesCinar](https://community.hubspot.com/u/EnesCinar)\
**Post date:** [April 10, 2021, 5:34pm UTC](https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177/3 "2021-04-10T17:34:39Z")

</div>

Hi,

I can’t implement the solution which is mentioned in the your tagged blog unfortunately.

Regards

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [April 13, 2021, 4:16pm UTC](https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177/4 "2021-04-13T16:16:23Z")

</div>

Hi @EnesCinar,

apologies for the delay. I’ll be glad to investigate this with you.

It would be great if you could provide some additional information so we’re able to assist you better:

1. Could you please share a screenshot of the CTA and the ‘undefined’ text you mentioned in your post?
2. If you’ve already [integrated Google Tag Manager with HubSpot](https://knowledge.hubspot.com/website-pages/add-the-google-tag-manager-code-to-your-pages)and set up a few tags - have they been installed correctly or are you seeing any errors? You can use the[Google Tag Assistant](https://chrome.google.com/webstore/detail/tag-assistant-legacy-by-g/kejbdjndbnbjgmefkgdddjlbokphdefk) to troubleshoot the installation.

Thank you,

Mia.

---

<div class="post-metadata">

**Author:** ![EnesCinar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/enescinar/32/57633_2.png) [@EnesCinar](https://community.hubspot.com/u/EnesCinar)\
**Post date:** [April 14, 2021, 6:16am UTC](https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177/5 "2021-04-14T06:16:05Z")

</div>

Hi,

Thanks for your attention.

 ![40853i51D2DFF4F1520390.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/5/f5ba6b1824e3bb406389c58fd376f1f7e9b1f5c7.png)

 ![40855iACD2CD53C15F3A6E.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/3/43c3ca3d9c6a84b78de78f72f8231b48dd98eae9.png)

For the first one, we have a button called “Subscribe” in our website. When I clicked it, it has awkard click class and its click element is general. The other elements such as Click Text is also undefined as you can see. That’s why I can’t track the event for the clicking subscription. In addition, I can’t define any click text to this button same as “Send” button.

However, some of other CTA’s has proper click text, for example;

![40854i19FCDFCD8A7E111A.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/b/b2a418b4a8a32bee5236fb353e2c8cc2abe6b1b0.png)

For the second one, the other tags and events installed correctly, and I can check it from the Google Tag Assistant. My challenge is having trouble with defining events/tags with some CTAs

Regards,

Enes

---

<div class="post-metadata">

**Author:** ![EnesCinar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/enescinar/32/57633_2.png) [@EnesCinar](https://community.hubspot.com/u/EnesCinar)\
**Post date:** [April 9, 2021, 10:26am UTC](https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177/6 "2021-04-09T10:26:24Z")

</div>

Hi,

Thank you for the reply. I am trying to solve what Jadon does that in his/her situtation in that post.

Thanks,

Enes

---

<div class="post-metadata">

**Author:** ![vbrech](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vbrech/32/52876_2.png) [@vbrech](https://community.hubspot.com/u/vbrech)\
**Post date:** [April 15, 2021, 8:55am UTC](https://community.hubspot.com/t/adding-click-text-to-ctas-buttons/35177/7 "2021-04-15T08:55:47Z")

</div>

Hello. That screenshot looks like an embedded HubSpot form or perhaps a HubSpot popup form. In either case, I think you don’t have much control over the markup, “awkward” or not (cf. [developer documentation here](https://developers.hubspot.com/docs/cms/building-blocks/forms)).

You mention there is a CTA that \*does\* have the sort of markup you are looking for. Can you maybe share a link, or explain whether it is also in a form or a standalone CTA (the latter is a separate tool, so the markup would be expected to be different from the submit button in a form)?

Since you want to trigger off a HubSpot form submission, I think you can use “global form events”, see [Accounts Dashboard | HubSpot](https://legacydocs.hubspot.com/global-form-events) These events should reliably occur in the course of any HubSpot form submission.
