Hey guys, I’m looking to integrate sumo.com click trigger & exit intent pop up.
They gave me a piece of code for the click trigger to put on my site, I think I have to use an HTML element and put the class name of the concerned element (in the class it’s the class of the button I’m using)
But I’m not sure how it works, haven’t used webflow in a while & could use some help.
hmm, annoyingly sumo doesn’t seem to have any help docs available anymore. It’s been years since I’ve used it so I’m trying to think back how they wanted everything set up. Could you share the code and any info they gave you? The link you added doesn’t work.
@SachaKzn sure. When you signed up to Sumo, they gave you options on installing Sumo. There’s information on how to install it on wordpress, shopify, squarespace or a manual install. The manual installation (in green at the bottom of the page) is the code I’m referring to. This is the piece of code that tells the button (the code in your screenshot) to open the form.
As far as adding the code to your page, it’s easiest through the HTML embed like I did on the demo website. This just gives you a regular link so that’s why I said I was still working on the styling .
@SachaKzn the embed Sumo gives you is a link itself. The <a>..... </a> indicates it’s a link. Any button is a link at its core. You can style a link to look like a link (the underlined text) or like a button (background color etc). In this case, the option would be to style the embed to look like the button you’ve got on your website. Trying to apply a style directly to the html embed in the webflow designer will cause all sorts of odd behaviour. There is another very simple way to apply a style to an html embed but it’s escaping me right now. I’ve been on a break for quite a while doing other things and my code is a little rusty so I’ll take another look at the project I shared with you and let you know .
fixed the styling and gave you two options on how to add the buttons. Only my internet connection is so slow, it’s not updating the demo site . First option with the custom button is live, the second one uses the button you made already but is untested and not published yet. Will try again tomorrow