# Inserting CTA code snippet into external html popup

**URL:** <https://community.hubspot.com/t/inserting-cta-code-snippet-into-external-html-popup/99678>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** ctas\
**Created:** [February 7, 2024, 4:25pm UTC](https://community.hubspot.com/t/inserting-cta-code-snippet-into-external-html-popup/99678 "2024-02-07T16:25:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJago](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@MJago](https://community.hubspot.com/u/MJago)\
**Post date:** [February 7, 2024, 4:25pm UTC](https://community.hubspot.com/t/inserting-cta-code-snippet-into-external-html-popup/99678/1 "2024-02-07T16:25:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [February 7, 2024, 10:16pm UTC](https://community.hubspot.com/t/inserting-cta-code-snippet-into-external-html-popup/99678/2 "2024-02-07T22:16:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![MJago](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@MJago](https://community.hubspot.com/u/MJago)\
**Post date:** [February 8, 2024, 9:21am UTC](https://community.hubspot.com/t/inserting-cta-code-snippet-into-external-html-popup/99678/3 "2024-02-08T09:21:11Z")

</div>

Hi @PamCotton,

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

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [February 8, 2024, 4:47pm UTC](https://community.hubspot.com/t/inserting-cta-code-snippet-into-external-html-popup/99678/4 "2024-02-08T16:47:06Z")

</div>

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

what tag would you recommend **@MJago?**

Thank you,

Pam

---

<div class="post-metadata">

**Author:** ![MJago](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@MJago](https://community.hubspot.com/u/MJago)\
**Post date:** [February 8, 2024, 5:03pm UTC](https://community.hubspot.com/t/inserting-cta-code-snippet-into-external-html-popup/99678/5 "2024-02-08T17:03:10Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [February 9, 2024, 4:46pm UTC](https://community.hubspot.com/t/inserting-cta-code-snippet-into-external-html-popup/99678/6 "2024-02-09T16:46:37Z")

</div>

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

Kindly,

Pam
