WordPress.org

Ready to get started?Download WordPress

Forums

HubSpot for WordPress
CTA for only one, not random (4 posts)

  1. Accusoft
    Member
    Posted 1 year ago #

    Can you add an option to only insert one call to action into a post or page (using the shortcode), like [hs-action name=""] or something. And how can I hook up these cta's with hubspots cta's? (Besides copying and pasting the embed code).

    Thank you!

    http://wordpress.org/plugins/hubspot/

  2. Yuli Yang
    Member
    Posted 1 year ago #

    You can use shortcode [hs-action id="123"]
    ID is display in your Call to action dashboard

  3. aacook
    Member
    Plugin Author

    Posted 1 year ago #

    Great question. Right now the CTAs in the WordPress plugin are completely separate from HubSpot CTAs.

    For right now, you'll unfortunately need to copy and paste the embed code. Stay tuned, we're working on it!

  4. ABuscher
    Member
    Posted 7 months ago #

    I am having a similar problem using shortcode to insert a CTA into my WordPress site. The embed code does not work because it it is in JavaScript, so I'm trying to use shortcode, which I've found to work for CTAs on my page.

    The code that works looks like this:
    [hs_action id="###"]

    For any new CTAs I create, though, I cannot find the "###" to use in the shortcode. Yuli Yang says above that you can find the CTA ID on your CTA dashboard, but I'm not seeing anything similar to a CTA ID listed there.

    Any suggestions on where I find the CTA ID to use for a specific CTA in my shortcode?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic