Skip to main content
Solved

Custom metric - Started Checkout in GTM 

  • November 21, 2023
  • 2 replies
  • 198 views

Forum|alt.badge.img+5

A plugin was used for the integration between Shopware & Klaviyo. The checkout process is not recognised by Klaviyo. Therefore, I implemented a custom html script via Google Tag Manager to trigger the Started Checkout metric in Klaviyo for the cart abandonment flow.  I used the following script using this article:

------

<script
type="text/javascript"
src="//static.klaviyo.com/onsite/js/klaviyo.js?company_id=xxxxx"
></script>

-------

This script works, but in the Started Checkout metric in Klaviyo, it fires 5x. How do I make sure it only fires once?

 

Best answer by Brian Turcotte

Hi @nynketomorrowmen11!

My apologies for the delay here!

Is this still occurring? If so, it’s not an issue with the script - that looks good. How are you testing this? If you clear the cache of your browser and try again, does this issue still occur?

 

- Brian

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Brian Turcotte
Forum|alt.badge.img+37

Hi @nynketomorrowmen11!

I’m going to check on this with Engineering and I’ll update the thread ASAP!

Best,
Brian


Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • February 8, 2024

Hi @nynketomorrowmen11!

My apologies for the delay here!

Is this still occurring? If so, it’s not an issue with the script - that looks good. How are you testing this? If you clear the cache of your browser and try again, does this issue still occur?

 

- Brian