# embed button cta code without buttondesign

**URL:** <https://community.hubspot.com/t/embed-button-cta-code-without-buttondesign/68316>\
**Category:** CMS Development\
**Tags:** ctas\
**Created:** [November 1, 2022, 3:37pm UTC](https://community.hubspot.com/t/embed-button-cta-code-without-buttondesign/68316 "2022-11-01T15:37:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TDullemond](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdullemond/32/196779_2.png) [@TDullemond](https://community.hubspot.com/u/TDullemond)\
**Post date:** [November 1, 2022, 3:37pm UTC](https://community.hubspot.com/t/embed-button-cta-code-without-buttondesign/68316/1 "2022-11-01T15:37:10Z")

</div>

I want to use a certain part of the Hupspot buttoncode for embedding in a external button.  
Which part shopuld I use?

Only :

\<!--HubSpot Call-to-Action Code --\>\<span class=“hs-cta-wrapper” id=“hs-cta-wrapper-da79fd20-a854-4d25-a3e2-e4492e317734”\>\<span class=“hs-cta-node hs-cta-da79fd20-a854-4d25-a3e2-e4492e317734” id=“hs-cta-da79fd20-a854-4d25-a3e2-e4492e317734”\>\<!--[if lte IE 8]\>\<div id=“hs-cta-ie-element”\>\</div\>\<![endif]--\>

**\<a href="[https://cta-redirect.hubspot.com/cta/redirect/](https://cta-redirect.hubspot.com/cta/redirect/)**

**xxxxxx/da79fd20-a854-4d25-a3e2-e4492e317734"**

target=“\_blank” rel=“noopener”\>\<img class=“hs-cta-img” id=“hs-cta-img-da79fd20-a854-4d25-a3e2-e4492e317734” style=“border-width:0px;” src=“[https://no-cache.hubspot.com/cta/default/xxxxxxx/da79fd20-a854-4d25-a3e2-e4492e317734.png](https://no-cache.hubspot.com/cta/default/xxxxxxx/da79fd20-a854-4d25-a3e2-e4492e317734.png)” alt=“Download this succes story”/\>\</a\>\</span\>\<script charset=“utf-8” src=“[https://js.hscta.net/cta/current.js](https://js.hscta.net/cta/current.js)”\>\</script\>\<script type=“text/javascript”\> hbspt.cta.load(xxxxxx, ‘da79fd20-a854-4d25-a3e2-e4492e317734’, {“useNewLoader”:“true”,“region”:“na1”}); \</script\>\</span\>\<!-- end HubSpot Call-to-Action Code --\>

Does this piece of code transmit all the necessary data from the website to Hubspot account?

---

<div class="post-metadata">

**Author:** ![MBERARD](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mberard/32/61390_2.png) [@MBERARD](https://community.hubspot.com/u/MBERARD)\
**Post date:** [November 2, 2022, 8:14am UTC](https://community.hubspot.com/t/embed-button-cta-code-without-buttondesign/68316/2 "2022-11-02T08:14:16Z")

</div>

Hi TDullemond,

If I resume your request, you want to embed a CTA on a external site witouth adding the stlye attached to it in HubSpot?

Matthieu

[matthieu.berard@markentive.com](mailto:matthieu.berard@markentive.com)

---

<div class="post-metadata">

**Author:** ![TDullemond](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdullemond/32/196779_2.png) [@TDullemond](https://community.hubspot.com/u/TDullemond)\
**Post date:** [November 3, 2022, 8:54am UTC](https://community.hubspot.com/t/embed-button-cta-code-without-buttondesign/68316/3 "2022-11-03T08:54:38Z")

</div>

Yes Matthieu,  
That is correct.  
Hope you can give me the answer.  
With kind regards,  
Tom

---

<div class="post-metadata">

**Author:** ![MBERARD](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mberard/32/61390_2.png) [@MBERARD](https://community.hubspot.com/u/MBERARD)\
**Post date:** [November 4, 2022, 3:47pm UTC](https://community.hubspot.com/t/embed-button-cta-code-without-buttondesign/68316/4 "2022-11-04T15:47:38Z")

</div>

I don’t think that’s possible unfortunatly…

You probably need to set the style of the CTA as _Link (no style)_ in your editor. That way, the CTA will get the style of the website where it is embed.

Hope it helps!

Matthieu

[matthieu.berard@markentive.com](mailto:matthieu.berard@markentive.com)

---

<div class="post-metadata">

**Author:** ![TDullemond](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdullemond/32/196779_2.png) [@TDullemond](https://community.hubspot.com/u/TDullemond)\
**Post date:** [November 7, 2022, 3:40pm UTC](https://community.hubspot.com/t/embed-button-cta-code-without-buttondesign/68316/5 "2022-11-07T15:40:48Z")

</div>

Thank you Mathieu for you=r reaction. Sorry for my late replay.

It is a pitty that it is noit possible.

---

<div class="post-metadata">

**Author:** ![TDullemond](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdullemond/32/196779_2.png) [@TDullemond](https://community.hubspot.com/u/TDullemond)\
**Post date:** [November 7, 2022, 3:54pm UTC](https://community.hubspot.com/t/embed-button-cta-code-without-buttondesign/68316/6 "2022-11-07T15:54:03Z")

</div>

What do you mean with “You probably need to set the style of the CTA as _Link (no style)_ in your editor. That way, the CTA will get the style of the website where it is embed.”  
Where can I set the style of the CTA as a Link (no style)?  
Which part of the Hubspot code can I use to put it in a link?  
I’ve tryed it, but with the whole Hubspot-code in de the link, I get a warning .

I hope you can help me further.

Many thanks in advance.

Tom
