We are in the process of evaluating DTM and one of the key issues that we see is that DTM requires different embedded code for Staging and Production sites.
We do not want to embed the staging code on the pages in case it accidentally get pushed out to production site.
We want to just use the production code while still have ability to test the rules, more in line with old Adobe Tag Manager where one can use cookie to test out the code.
Any thoughts or best practices around this.
It is recommended to use the production and staging codes for their respective environments.
Using a production code on the staging environment (and vice versa) would not give you the desired results.
Please let me know if you have further questions on this.