Search
Contact salesTry for free

Set up Klaviyo website event tracking using server Google Tag Manager

Ivanna Holubovska

Ivanna Holubovska

Author
Updated
Oct 24, 2022

What is Klaviyo’s website event tracking, and why do you need it?

Klaviyo’s website event tracking allows users to create segments and launch flows depending on a user’s behavior on the site. There are tons of scenarios where you can use Klaviyo’s events, for example – if someone added your product to cart but didn’t buy it yet. You will definitely want to remind them what products are waiting for them. 

This is where Klaviyo event tracking comes into the game. To set up a personalized email campaign for cart abandonments, you need first send a custom event from the site that includes product information such as product name, URL, image, etc., of what’s being added to the cart. 

You have several ways on how to send website events to Klaviyo:

  • JavaScript requests
  • Server-side requests
  • Server Google Tag Manager container

Klaviyo has detailed instructions on how to use the first two methods, which involve your developers. In this article, we will focus on using the server Google Tag Manager container.    

The main benefit of using sGTM

  • no developer work is required. All can be done inside the sGTM interface
  • improved page speed. Many people who integrated Klaviyo using JavaScript requests complained that the latest version of Klaviyo’s JavaScript is too heavy and has a terrible impact on the page speed. So moving to sGTM will help to speed the website.

☝️Note: integration using server GTM will work only if you know a user email. You should send user email for each tag to associate users on your site with users in the Klaviyo database and add required events and parameters.

How to set up Klaviyo website event tracking using server Google Tag Manager

1. Check if you have already installed Google Tag Manager server container.

2. Make sure Google Tag Manager Web container has all the info needed about the user. Perhaps, this data will be in the GTM variables or data layer as you already set up Google Analytics or Facebook tracking inside Google Tag Manager Web container.

author

Ivanna Holubovska

Author

Content contributor at Stape.io, focusing on server-side tracking, digital marketing, and innovative solutions to optimize online business performance. optimize online business performance.

Comments

Try Stape for all things server-side

What’s going on?

Where are we going?

Attention!
This is a stand-up dog zone.