Inserting CTA code snippet into external html popup

Hello,

Our website is on wordpress and we’ve got a popup produced in ‘popup maker’ on there, which displays some contact details for a regional sales person. I’d like to put a ‘request a call back’ Hubspot CTA button or popup into the wordpress popup.

Is it possible to insert the Hubspot CTA code snippet into some html code? If so, any recommendations on how to do this? I’m thinking of having the ‘Request a Call Back’ as the link text which when clicked would trigger the Hubspot CTA.

Hey @MJago, thank you for posting in our Community!

You can insert the HubSpot CTA code into your Popup Maker popup. Start by generating the code snippet for your “Request a Call Back” CTA in HubSpot. Open the popup for editing within Popup Maker on your WordPress dashboard, and insert the HubSpot CTA Code into the HTML editor of your popup. Ensure the CTA blends seamlessly with your popup’s design by adjusting CSS if needed.

I would recommend testing Your Popup to verify that the HubSpot CTA functions correctly on both desktop and mobile devices.

I hope this information helps,

Pam

Hi @PamCotton,

Thanks for the reply. Do you know which HTML tag would be best? I was wondereing if <embed> would work?

Hey @MJago, let’s invite our top experts to share their thoughts, @GRajput @JustinPerkinsC, @TomM2

what tag would you recommend @MJago?

Thank you,

Pam

Hi All,

I think I may have worked it out by using a CTA (Legacy) and embedding the code instead of using the code snippet from a newer CTA.

Thanks for your help!

Thank you for letting us know about this solution @MJago!

Kindly,

Pam