Logo of TAGGRS, written in blue and with a small favicon
HomeServer-side Tracking
Start for free
Introduction
Get started
Get started with TAGGRSSet up Google Tag ManagerAdd the GTM Data LayerConfigure GTM transformationsTest the setupDebuggingAnalytics dashboard
Migrate from Google CloudMigrate from hosting
Shortcuts
GTM Copy PasteReady-made templates
GA4 Server-side Tracking
Setup in GTMCreate GA4 Event TagsGA4 tag setup in server containerE-commerce events in GTM
Google Ads Server-side Tracking
Install Conversion LinkerSet up Conversion TrackingConfigure Enhanced ConversionsDeploy Remarketing Tags
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events DeduplicationMeta CAPI Gateway
LinkedIn Server-side Tracking
Install LinkedIn Insight TagSet up LinkedIn CAPILinkedIn Events Deduplication
TikTok Server-side Tracking
Set up TikTok PixelInstall TikTok Events APITikTok Events Deduplication
Pinterest Server-side Tracking
Set up Pinterest TagConfigure Pinterest Conversions APIPinterest Events Deduplication
Snapchat Server-side Tracking
Set up Snap PixelSnapchat Conversions APISnapchat Events Deduplication
TAGGRS Tracking Tags and Tools
Tracking TagsGoogle Service Account integrationsGTM LogsProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Tool
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side Tracking
Server-side Tracking for e-commerce
Shopify Data LayerShopware Data LayerMagento Data LayerWooCommerce Data LayerPrestashop Data LayerLightspeed Data Layer
Consent Management server-side
Activate Consent ModeConfigure TAGGRS with Axeptio

Configure Klaviyo Server-side Tracking

This guide explains how to set up Klaviyo server-side tracking using Google Tag Manager (GTM) and TAGGRS. By following these steps, you’ll collect GDPR-compliant, first-party user data, track key events and list additions, and significantly improve the targeting and effectiveness of your email marketing campaigns.

What events can you track with Klaviyo server-side?

Active on Site
Track when users are active on your site to analyze engagement frequency and session duration.
Event
Capture specific user actions, such as add_to_cart or purchase. These events are essential for understanding conversion paths and optimizing the customer journey.
Add to List
Automatically add users to Klaviyo lists (e.g., recent buyers, newsletter signups) for advanced segmentation and personalized follow-up.
Logo of TAGGRS Server-side Tracking: a light blue circle with two blue angle brackets
Note
Klaviyo server-side tracking does not require deduplication, so you only need to set up server-side tags.

Prerequisites

  • Google Analytics 4 (GA4) set up in your GTM server container
  • GA4 events created and firing from your web container
  • Data layer or GTM variable containing user email
  • A user’s email to associate web activity with Klaviyo profiles and trigger events or list additions

Set up “Active on Site” tracking

  1. Create a new Klaviyo tag in your GTM server container. Go to Tags > New and name it (e.g., “Klaviyo – Active on Site”).
  2. Configure the tag: In Tag Configuration, select “Discover more tag types in the community template gallery” and search for the Klaviyo template. Import the template.
  3. Enter your Klaviyo Private API Key, which you can find in Klaviyo under Settings > API Keys.
  4. Add an email variable that pulls the user’s email from your data layer or GTM variables.
  5. Enter your Klaviyo Public API Key (found in Settings > API Keys).
  6. Enable “Use Optimistic Scenario” and “Store email in cookies”. This ensures email addresses are stored for consistent tracking.
  7. Set the tag to fire on all pages to monitor site-wide user activity.

Set up event-based Klaviyo tracking

  1. Log in to your TAG: Create a new Klaviyo event tag In Tags > New, name the tag (e.g., “Klaviyo – Event”).GRS account
  2. Configure the event tag:
    • Select the “Event” type.
    • Enter your Klaviyo Private API Key, email variable, and Klaviyo User ID.
    • For “Event Name,” use the event name variable from your data layer or GTM setup.
    • Enable “Use Optimistic Scenario” and “Store email in cookies.”
  3. Add custom properties. You can include additional properties (e.g., product details, location), but ensure all addresses are simple strings (arrays are not supported).
  4. Add triggers: set triggers for the specific events you want to track, such as add_to_cart or purchase.

Set up “Add to List” tracking

  1. Create a new tag for Add to List. In Tags > New, name it (e.g., “Klaviyo – Add to List”).
  2. Configure the tag:
    • Select the “Add to List” type.
    • Enter your Klaviyo Private API Key and List ID (found in Klaviyo under Lists & Segments > [List] > Settings).
    • Add the email variable and enable “Use Optimistic Scenario.”
  3. Add the appropriate trigger. For example, use the purchase event as a trigger to add buyers to a specific list.

Reminders

Email is required
Klaviyo server-side integration depends on having the user’s email available in your data layer or GTM variables.
No deduplication needed
Only set up server-side tags; Klaviyo does not support deduplication.
Test with GTM Preview mode
Always validate your setup by firing test events and confirming receipt in Klaviyo.

Useful resources

TAGGRS template gallery
Find expert support
Previous
ActiveCampaign Server-side Tracking
Next
Shopify Data Layer
Copyright © 2025 TAGGRS. All right reserved.
TABLE OF CONTENTS
What events can you track with Klaviyo server-side?PrerequisitesSet up “Active on Site” trackingSet up event-based Klaviyo trackingSet up “Add to List” trackingRemindersUseful resources