Skip to main content

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

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


Hello @annasophiefc, how are you?

Yes, I have activity in both metrics.
 


Hi @Belen.c 

 

I’m great, thanks! How are you?

 

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

 


Reply