Skip to main content
Solved

Integration Error - Duplicated Active On Site Metric

  • April 22, 2024
  • 3 replies
  • 60 views

Forum|alt.badge.img

We have implemented an 'Active on Site' metric triggered through the API on our SuiteCommerce site. However, we recently added the following script tag:

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

This script is used to track when users enter the site from an email link. Unfortunately, it generates another 'Active on Site' metric in Klaviyo.

Both metrics are named identically. Is there a way to combine them into a single metric for both actions?

We attempted to pass the metric ID in the metric object at the 'Create Event' API Endpoint, but it resulted in an 'invalid parameter' error."

Best answer by annasophiefc

Hi @Belen.c 

 

Thank you for posting in the community!

When you look at the activity on the metric, do you then have activity on both of them?

 

/ Anna Sophie

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

3 replies

annasophiefc
Partner - Platinum
Forum|alt.badge.img+23
  • 2025 Champion
  • 116 replies
  • Answer
  • April 23, 2024

Hi @Belen.c 

 

Thank you for posting in the community!

When you look at the activity on the metric, do you then have activity on both of them?

 

/ Anna Sophie


Forum|alt.badge.img
  • Author
  • Contributor I
  • 1 reply
  • April 24, 2024

Hello @annasophiefc, how are you?

Yes, I have activity in both metrics.
 


annasophiefc
Partner - Platinum
Forum|alt.badge.img+23
  • 2025 Champion
  • 116 replies
  • April 25, 2024

Hi @Belen.c 

 

I’m great, thanks! How are you?

 

Okay - and is the data 1:1 the same?

 


Reply