Hi @Swopper,
Welcome to the community and 👍🏼on your first post.
We use Webflow as well and have successfully integrated Klaviyo using some custom coding and also GTM.
The most important part is the base code needs to be on all pages. This needs to be loaded for all events to be able to work. This sends the “active on site” event to Klaviyo (after someone is identified)
This is the base code we have in GTM:
<script
type="text/javascript"
src="//static.klaviyo.com/onsite/js/klaviyo.js?company_id=YOUR-PUBLIC-API"
></script>
Now for each action people take on your site that you'd like to see in Klaviyo you'd need to create separate events that send information to Klaviyo.
For instance, In GTM we have a tag that fires all pageviews and send that to Klaviyo, this way you also have some idea of what they're looking at. The code looks like this:
<script type="text/javascript">
var _learnq = _learnq || [];
_learnq.push(["track", "Viewed Page", {
"Page name": {{JS - Page Title}},
"URL": {{Page URL}}
}]);
</script>
As far as I know there is no native plugin that has or adds Klaviyo tracking but the above way is very flexible and allows you to tailor it to your needs.
In order to test the functionality Klaviyo needs to be able to identify you. In order to force this behavior you can add this query parameter to your url “?utm_email=example@gmail.com” and hit enter. This way your email address is detected.
Hope this helps.
Regards,
Omar Lovert // Polaris Growth // Klaviyo Master Platinum Partner
We help with e-commerce growth through CRO, Klaviyo and CVO