Hi, I’m working with a client to integrate a CTA into their third party website. I was just wondering if there was any scope for the beta CTA feature to have additional options around triggering? Currently the only access to my knowledge is to add the “hs-cta-trigger-button” class to an element and then the hubspot script takes over. We’d actually like to programatically control when the CTA does and doesn’t trigger, but this doesn’t seem efficiently possible given the current solution.
Could you advise if there are any plans to expand the library or its options? I’m currently integrating the CTA’s in a React website, is there the possibility a React library for the CTA’s is being developed?
To give a brief summary, we have a react component we’d like to have trigger the CTA only the first time it’s clicked. If we add the relevant classes, then remove them after the first click, the CTA is still triggered as the element is modified by the Hubspot script.
@JSmith02 if you add to the ideas forum, please share the link back here and we’ll be happy to upvote!
As @TomM2 said, with this being in Beta the capabilities are still quite limited and now is a great time to get the feedback to the Product Team about what you’d like to be able to do with the tools.
Hi everyone, thanks for the replies! I am very aware it’s a beta feature and was just hoping to share this encase anyone had either found an efficient work-around or encase it did prompt discussions around future development.
Being quite new to hubspot I hadn’t seen the ideas forum but have added a post there now, as requested, here’s a link to it for anyone who would like to upvote.