# CTA not working

**URL:** <https://community.hubspot.com/t/cta-not-working/128066>\
**Category:** CMS Development\
**Tags:** javascript\
**Created:** [March 17, 2025, 11:08am UTC](https://community.hubspot.com/t/cta-not-working/128066 "2025-03-17T11:08:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![huytu20](https://avatars.discourse-cdn.com/v4/letter/h/958977/32.png) [@huytu20](https://community.hubspot.com/u/huytu20)\
**Post date:** [March 17, 2025, 11:08am UTC](https://community.hubspot.com/t/cta-not-working/128066/1 "2025-03-17T11:08:41Z")

</div>

Hi, I am using nextjs to add CTA. The CTA function connects to another CTA but currently the CTA is not working [Screenshot by Lightshot](https://prnt.sc/94IIIZs-J2jV) . Clicking the button of the current CTA cannot switch to another CTA. Help me fix it

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [March 17, 2025, 6:41pm UTC](https://community.hubspot.com/t/cta-not-working/128066/2 "2025-03-17T18:41:03Z")

</div>

Hi @huytu20! Welcome to the Community-- happy to have you here 😊

I want to invite some subject matter experts to see if they have any suggestions.

Hey @coldrickjack, @evaldas, @GRajput do you have any thoughts on this?

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [March 18, 2025, 11:49am UTC](https://community.hubspot.com/t/cta-not-working/128066/3 "2025-03-18T11:49:50Z")

</div>

Hi @huytu20

Can you elaborate a little bit more? How does it connect to another CTA? Like is it redirecting to a different page which has a CTA or is it redirecting to the different sections of the same page?

Thanks!
