How to create Drift CTA button
I was on this page https://www.drift.com/offers/modern-marketing-leaders-kit and i noticed the Call-to-action button are diverted into a Drift Conversation Box... and i notice there are some script involve.
<div class="cta-button margin-top__sm"> <a href="#modern-leader-kit" class="btn yellow">Download The Kit</a> </div>
Pardon me if i missed the how to in the guide, is there another way to force to href into a Drift Box without pre-naming it (let say #modern-leader-kit in advance).
Or if this page is build on a special platform that make Drift CTA button much easier to create?
This discussion has been closed.
Comments
Hi @KC Chan !
The naming comes from the playbook you're wanting to fire from which is where that #modern-leader-kit is involved.
Firing the DriftLink from any button.
A great usage for the DriftLink would be to add it to the href of a button that you already have on your website, so that it will cause the conversation sidebar to pull up right on the side of the page instead of having a page refresh. An example of this would be Drift's "Get a Demo" button on our homepage (click here to access):
Make sure that when you're inserting it you only have the #DriftLink itself, and not the entire URL!
For the full technical instructions for firing a Playbook from a button, check out our developer documentation here!
This helpdoc should answer that question help with getting it setup if you need it.
Let me know if that answers your question.
thanks!
You're welcome! @KC Chan !