Solved

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


Badge +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! 

icon

Best answer by saulblum 8 March 2023, 17:43

View original

2 replies

Userlevel 5
Badge +7

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

 

Badge +2

Thank you! 

Reply