Skip to main content
Problem Solver I
August 28, 2024
Solved

I wanted to understand the difference between "$message" and $attributed_message" when I use metric-aggregate API

  • August 28, 2024
  • 4 replies
  • 142 views

I want to get results by campaign ID, so I'm using a group by $massage.
But there is a metric, for example, "order placed," that does not return the breakdown by campaign ID unless I group it by "$attributed_message."
I wanted to know what kind of metrics I should do by "$attributed_message" and what I should do by "$message"

    This topic has been closed for replies.
    Best answer by saulblum

    I mean, what indicates that a metric is attribution-related? The metrics are custom to the client, and we do not get such info from the Metrics API

    Here’s some info on message attribution:

    https://help.klaviyo.com/hc/en-us/articles/1260804504250

    4 replies

    offehtesham
    Problem Solver I
    Problem Solver I
    August 28, 2024

    HI Ronen,
     

    Use $message to group metrics directly tied to specific email campaigns, like emails sent and open rates.

     

    Use $attributed_message to group metrics that require attribution, like "orders placed" or "revenue," where actions are linked back to the influencing campaign.

    @OffEhtesham
    ronen takAuthor
    Problem Solver I
    August 28, 2024

    Thank you
    Where can I find documentation that says this metric and this metric are of this type and this type, at least for the default metrics

    ronen takAuthor
    Problem Solver I
    August 28, 2024

    I mean, what indicates that a metric is attribution-related? The metrics are custom to the client, and we do not get such info from the Metrics API

    saulblumAnswer
    Klaviyo Employee
    August 28, 2024

    I mean, what indicates that a metric is attribution-related? The metrics are custom to the client, and we do not get such info from the Metrics API

    Here’s some info on message attribution:

    https://help.klaviyo.com/hc/en-us/articles/1260804504250