Hi
Best practice is to use Staging on staging environment and Production on live environment.
Default Behavior
When you are setting up DTM via AEM using cloud services, make sure you Check/Unchek Include Production code on Author as per your need.
Include Production Code on Author
Select this option to cause the AEM author and publish instances to use the production version of the Dynamic Tag Management libraries.
When this option is not selected, the Staging Settings apply to the author instance, and the Production Settings apply to the publish instance.
But you want Staging to be part of both instance. For that:
Option 1:
IN DTM, set two DTM properties:
1. Normal (Production report suit contains Prod name and Stage contain Stage)
2. Modified (Production report suit contains Stage name and Stage contain Stage)
And IN AEM add both DTM cloud Services.
Option 2:
1. Un-check "Include Production code on Author"
2. In DTM
a. Select your property
b. Go to Analytic tool settings
c. Go to "Customize Page Code" (Select After UI settings (custom code takes precedence)) Here write a logic to check if URL of page (windows.location.href) is of Publish instance then set s.account="Staging report suit, Prod report suit". This will make sure that data from publish instance would goes to production server and staging server.
Reference link:= https://marketing.adobe.com/resources/help/en_US/reference/index.html?f=multisuite_tagging
// s.account="rsid1,rsid2"
I hope this would help you.
Thanks and Regards
Kautuk Sahni