Skip to main content
Solved

$attributed_message campaign and flow best practices


Forum|alt.badge.img+4
  • Contributor III
  • 6 replies

When querying metrics I use the dimension $attributed_message to determine which campaign/flow it is coming from. I get the response with the dimension id, but not the name or whether it is a campaign/flow.

Using the dimension id, I request the name against both the Get Campaign and Get Flow to see which one it works for.

Since there are hundreds of ids, it takes a while. Is there a better practice of accomplishing this?

Best answer by Brian Turcotte

Hi @edwinv!

My apologies for the delay here! Have you seen our expanded guide on this endpoint?

 

Depending on your exact use case parameters, you may be able to reference this guide to create a more efficient way to accomplish this. Since this endpoint is highly customizable, there isn’t necessarily a concrete solution available without knowing the specifics of your use case.

 

Best,

Brian

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

2 replies

Brian Turcotte
Forum|alt.badge.img+37

Hi @edwinv!

 

I’m going to check with our Engineering team about this and I’ll get back to the thread ASAP!

 

Best,

Brian

 


Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • September 14, 2023

Hi @edwinv!

My apologies for the delay here! Have you seen our expanded guide on this endpoint?

 

Depending on your exact use case parameters, you may be able to reference this guide to create a more efficient way to accomplish this. Since this endpoint is highly customizable, there isn’t necessarily a concrete solution available without knowing the specifics of your use case.

 

Best,

Brian