CMS Development

TDullemond
Participant

embed button cta code without buttondesign

SOLVE

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/

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" alt="Download this succes story"/></a></span><script charset="utf-8" src="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?

0 Upvotes
1 Accepted solution
MBERARD
Solution
Top Contributor | Elite Partner
Top Contributor | Elite Partner

embed button cta code without buttondesign

SOLVE

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

View solution in original post

5 Replies 5
TDullemond
Participant

embed button cta code without buttondesign

SOLVE

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

 

0 Upvotes
TDullemond
Participant

embed button cta code without buttondesign

SOLVE

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

 

It is a pitty that it is noit possible. 


0 Upvotes
MBERARD
Top Contributor | Elite Partner
Top Contributor | Elite Partner

embed button cta code without buttondesign

SOLVE

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

0 Upvotes
TDullemond
Participant

embed button cta code without buttondesign

SOLVE
Yes Matthieu,
That is correct.

Hope you can give me the answer.

With kind regards,
Tom
0 Upvotes
MBERARD
Solution
Top Contributor | Elite Partner
Top Contributor | Elite Partner

embed button cta code without buttondesign

SOLVE

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