That’s totally possible. To do this:
Create a fresh Floating widget campaign;
Go to Campaign Editor and disable widget view:
Add a specific campaign tag to the campaign in the Rules section
Fire this script on the event needed. The event would be a click on a certain button on your end or whatever you choose. Use the newly created tag
<script>
const tkbl_button = document.getElementById("MY_BUTTON");
tkbl_button.addEventListener("click", showTalkablePopup);
function showTalkablePopup() {
window._talkableq.push([“register_affiliate”, {
campaign_tags: [“popup-trigger”], // Note that you need to use Talkable campaign tag
expand_trigger_widget: true
}])
}
</script>
You’d need to use a real campaign tag inside of the script. You can find it in the campaign list and edit in campaign rules:
https://monosnap.com/file/YahfkZqly5xbFZ3dzNV7xUuFCNC4TK
Note: This option is not is not a part of our free application
Referrals for Shopify. Please contact support@talkable.com to find out more about custom features.
We hope the article was helpful!