Solved

Integration Error - Duplicated Active On Site Metric

  • 22 April 2024
  • 3 replies
  • 29 views

Badge

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."

icon

Best answer by annasophiefc 23 April 2024, 09:00

View original

3 replies

Userlevel 2
Badge +7

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

Badge

Hello @annasophiefc, how are you?

Yes, I have activity in both metrics.
 

Userlevel 2
Badge +7

Hi @Belen.c 

 

I’m great, thanks! How are you?

 

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

 

Reply