Skip to main content
Solved

How to associate specific activities with specific events/metrics we create?


Forum|alt.badge.img+2

Hi. 

We use Klavyio to send transactional emails to our customers who send inquiries/book vendors on our marketplace. Using Klavyio API we can get information about all emails (metrics) that we have sent to the customer. However, we cannot associate specific emails with specific inquiries/bookings. We want to understand if the customer has opened specific email and when he did that. Does anybody now to connect specific activities (email delivered, email opened) with a specific event? 

Thank you in advance! 

Best answer by saulblum

Is there a metric for inquiries and booking? If so, are you using the Get Events API call to get these events? If you are, see if you see an $attribution block for each event. If so, it will have properties such as an attributed event/metric (e.g. Opened Email) and the ID of the message and flow, if relevant.

"$attribution": {
    "$attributed_event_id": "46neDwX2xDw",
    "$send_ts": 1678235253.0,
    "$message": "H3D94d",
    "$flow": "HzPHxA"
}

 

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

2 replies

Forum|alt.badge.img+7
  • Klaviyo Employee
  • 169 replies
  • Answer
  • March 8, 2023

Is there a metric for inquiries and booking? If so, are you using the Get Events API call to get these events? If you are, see if you see an $attribution block for each event. If so, it will have properties such as an attributed event/metric (e.g. Opened Email) and the ID of the message and flow, if relevant.

"$attribution": {
    "$attributed_event_id": "46neDwX2xDw",
    "$send_ts": 1678235253.0,
    "$message": "H3D94d",
    "$flow": "HzPHxA"
}

 


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • 2 replies
  • March 9, 2023

Thank you!