# SEO Friendly CTA

**URL:** <https://community.hubspot.com/t/seo-friendly-cta/76516>\
**Category:** CMS Development\
**Created:** [March 6, 2023, 7:36am UTC](https://community.hubspot.com/t/seo-friendly-cta/76516 "2023-03-06T07:36:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASaint-Paul](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@ASaint-Paul](https://community.hubspot.com/u/ASaint-Paul)\
**Post date:** [March 6, 2023, 7:36am UTC](https://community.hubspot.com/t/seo-friendly-cta/76516/1 "2023-03-06T07:36:30Z")

</div>

How to use hubspot to track CTA?

The “Create a CTA” functionality is not SEO friendly.

It uses redirected URLs and URLs with parameters which is not good for SEO.

There is no option to change the \<a\> tag by a JavaScript link or a button tag…

Is it possible to change the code and keep the tracking ?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 7, 2023, 5:43pm UTC](https://community.hubspot.com/t/seo-friendly-cta/76516/2 "2023-03-07T17:43:27Z")

</div>

Hi, @ASaint-Paul. To your direct question, this is not possible using the CTA tool. In this case, there are no endpoints that allow for editing the behaviour. All edits to the CTA tool are only accessible in-app via the [CTA editor](https://knowledge.hubspot.com/ctas/create-calls-to-action-ctas?_ga=2.235739074.2132286496.1678121387-268374733.1677878990).

Additional Resources:

- [create a tracking code](https://knowledge.hubspot.com/settings/how-do-i-create-a-tracking-url) (to use with a custom button instead of using CTA tool)
- [Ideas forum](https://community.hubspot.com/t5/Ideas/ct-p/ideas) (for feature requests)

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![ASaint-Paul](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@ASaint-Paul](https://community.hubspot.com/u/ASaint-Paul)\
**Post date:** [March 8, 2023, 11:00am UTC](https://community.hubspot.com/t/seo-friendly-cta/76516/3 "2023-03-08T11:00:47Z")

</div>

Thanks for your answer.

So if I create a CTA with the tool and I replace the \<a\> tag by a \<button\> tag or if I use a onclick instead of href, the stats won’t be taken into account ?
