In the fast-paced world of e-commerce, establishing effective marketing strategies is crucial for online businesses to thrive. One such powerful tool that aids in driving sales and engaging customers is Klaviyo — an email marketing platform that integrates seamlessly with popular e-commerce platforms like Shopify. However, setting up Klaviyo for Shopify requires careful configuration and implementation to maximize its potential.
In this guide, we will explore how to set up Klaviyo for Shopify via server Google Tag Manager, enabling you to harness the full capabilities of Klaviyo and create personalized and targeted email campaigns.
3. Send data to the server Google Tag Manager container. There are three most popular ways to do that:
4. Import Klaviyo tag to the Google Tag Manager Server container. Download it from GitHub and import it using the template gallery. Click Templates -> Under Tag Templates click New -> Click on the three dots on the top right corner -> Import -> When done, click Save.
5. Go to the tags section inside the server container -> Click New -> Select Klaviyo tag that you’ve recently imported -> Add tag name -> Add your Klaviyo Public API key (how to find public API key).
6. In this example, I will show you how to send purchase events to Klaviyo, assign this event to the existing user or create a new user.
Inside the server GTM container, create a new Klaviyo tag. Add Klaviyo Public API Key, select event and add variable that includes user email.
Klaviyo tag will use email to assign events to Klaviyo profile. If there is no user with this email, it will create a new user. This tag should trigger on the purchase event.
7. Let me also show you how to get user email using Data Tag for the Google Tag Manager Web container.
Create a new tag inside the Web container and select tag type Data to GTM Server-Side (you can download it from GitHub and import to your web container) -> Select a standard event name Purchase -> Add GTM server-side domain and GTM Server Preview HTTP header (preview header is required if you want to see Data Tag information inside the Google Tag Manager server preview mode) -> To send user email on the purchase event, click on the user data, select an email address and add a variable that has user email. This tag should trigger the purchase event.
You should also add Data Client to the server container. It will listen to Data Tag and add information to the event data inside the server container. To add Data Client, import it inside the Clients Templates.
8. Open Preview and Debug mode of the Server and Web containers (make sure you’ve added a GTM Server preview HTTP header, it is required to see Data Tag events inside the Server container preview more. You can find it by clicking the three dots in the top right corner of the Google Tag Manager Server container preview mode and choose “Send requests manually.” )
9. Once you’ve verified that the Klaviyo tag triggers inside the Google Tag Manager Server container and sends all the parameters, go to your Klaviyo account and check if that event was added to the user. Don’t forget to publish your changes.
Setting up Klaviyo for Shopify through the server Google Tag Manager can greatly enhance your e-commerce marketing efforts. By implementing this integration, you can leverage Klaviyo's robust features to create campaigns that drive engagement, boost conversions, and cultivate long-lasting customer relationships.
With Klaviyo's powerful segmentation and automation capabilities, you can deliver targeted messages based on customer behavior and preferences, ultimately increasing customer satisfaction and loyalty. By following the steps outlined in this guide, you can confidently configure Klaviyo for Shopify and unlock its potential to take your online business to new heights.
We've got you covered! Click Get help, fill-up the form, and we will send you a quote.
Email marketing is one of the most important aspects of any eCommerce site. It’s essential to keep your database updated and track user activities on-site in order to make sure that you are targeting an accurate audience with relevant content, which will lead them back into purchasing from your online store. So how do you keep your Klaviyo user profiles updated? This guide will show how to create a new customer profile and track website activity in Klaviyo with the help of the server Google Tag Manager.May 8, 2021
Klaviyo has extensive pre-setup integrations for websites built using popular CMS (like Shopify or woo-commerce). But what if you want to track additional events or have a custom site? In this case, there are two options: set up tasks for the developers or send website events through the server Google Tag Manager. This guide will show how to use a server GTM container to set up Klaviyo website event tracking.Apr 17, 2021
Klaviyo Tag for the Google Tag Manager server container is a custom tag that will help you to add new users, send events and parameters from your site to Klaviyo. With this tag, you don’t need to ask your developers to set up the integration. Using this custom tag for the Google Tag Manager server container, you can integrate Klaviyo using the server container events and parameters. The power of Klaviyo cannot be underestimated when it comes to how much revenue it can make for your business, which is why we want you to know about this latest development from us.