Skip to main content
Contributor III
November 21, 2023
Solved

Custom metric - Started Checkout in GTM 

  • November 21, 2023
  • 2 replies
  • 344 views

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?

 

This topic has been closed for replies.
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

2 replies

Brian Turcotte
Klaviyo Alum
November 22, 2023

Hi @nynketomorrowmen11!

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

Best,
Brian

Brian Turcotte
Klaviyo Alum
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