If you're wanting to view revenue via the campaign code that drove it, you must be able to persist that campaign code so it appears in the same image request when you pass in an order.
- If you're using DTM, you can create a rule that captures the campaign code and places it in a custom variable. In the setting 'remember this value for...", set it to something that persists, such as 'visit'. When the rule is published, you should see your campaign code in every subsequent image request after the campaign code was defined.
- Alternatively, you can store the campaign code value in a cookie, and when the user reaches the page where revenue is sent to Adobe Analytics, call the cookie value and place it in your campaign code custom variable.
Note that by doing this, campaign code instances will inflate, as you're setting the campaign value multiple times. I'd only recommend bothering with this if you absolutely need revenue data before the 30-90 minutes it takes to fully process this data in regular reporting.