How do we query campaign data from datafeed export. | Community
Skip to main content
Level 2
February 24, 2026
Question

How do we query campaign data from datafeed export.

  • February 24, 2026
  • 1 reply
  • 11 views

How do we query campaign data from datafeed export. What is the recommended metric to be used again campaign . Kindly share the logic .

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
February 24, 2026

Hi ​@Basu212 ,

 

Your “campaign” (aka “Tracking Code”) values have dedicated fields in your raw data feeds.

 

“campaign” and “post_campaign”

 

https://experienceleague.adobe.com/en/docs/analytics/export/analytics-data-feed/data-feed-contents/datafeeds-reference


“campaign” should be the instances where your campaign code is set, and your “post_campaign” should be the resulting persisted value.

 

However, IF you are using Processing Rules or other mappings to set your campaign value, you may not have any value in “campaign”…. so it is safer to use the Instance Event to understand where the campaign is actually set, I believe this will be “20” in your event_list.

 

Being able to separate where a campaign is set, vs where it persisted can be a very important distinction.