I suggest you ...

Add A CTA API

We aren't a huge fan of the CTA button builder, and would like to just use css to create our buttons. It would be nice if we could just make a call to the API instead of having to use Hubspot CTA's.

10 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • sso
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Cory DouglasCory Douglas shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    5 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • sso
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Derek CavalieroDerek Cavaliero commented  ·   ·  Flag as inappropriate

        Declining this feature request is extremely short-sighted in my opinion.

        My main problem with the HubSpot CTA's is that they encourage the pasting of blocks of JavaScript code into parts of web pages which is incredibly hard to maintain and is very poor practice.

        If an API were available, developers could use it to create plugins / modules for content management systems like Drupal or WordPress that would allow a user to select a CTA from an interface to display inside an area on the site. This would allow for a much cleaner implementation solution rather than copying/pasting embed codes all over the place - it could all be done dynamically.

        Just because there is a plain text CTA option doesn't negate the need for an API. If you can give us an API for forms, you can give us an API for CTA's.

      • Nikko PattenNikko Patten commented  ·   ·  Flag as inappropriate

        The issue I've run into is that Embeded CTA's hover doesn't work. From my teams perspective having an API is by far preferable to the current hacks to make the embeded CTA's work.

      • Tevi HirschhornTevi Hirschhorn commented  ·   ·  Flag as inappropriate

        @admin - I don't see a plain text CTA option with custom CSS available. Was this removed?

        @Rob - it's really still a hack, and doesn't let a marketing user just add a CTA with a specific classname and let it inherit the appropriate styles.

      • Rob SobersRob Sobers commented  ·   ·  Flag as inappropriate

        Actually, I'm removing my votes because it looks like you can create the HubSpot CTA using their generator and then hack the embed code to use your styles but still report back to HubSpot.

      • Rob SobersRob Sobers commented  ·   ·  Flag as inappropriate

        Or even a box in the CTA button builder that allows you to input custom CSS, kinda of like it allows custom images.

      Feedback and Knowledge Base