Hello,
I’m starting to learn APIs. I’d like to trigger an API call from PostMan.
I am using the Post - Create Client Event
Code looks like the below:
{
"data": {
"type": "event",
"attributes": {
"properties":
{ "browser":"firefox",
"os":"Windows",
"page":"http://www.example.com/landing"},
"metric": {
"data": {
"type": "metric",
"attributes": {
"name":"Active on Site"
But when I run the code it puts a 2nd metric in my klaviyo account with the same name, so I then have 2 metrics with the same name - Active on Site. Why is this?
How can I trigger the Active on Site metric that is in Klaviyo?
Dilan