I am referring to the recommended integration using /etc/cloudservices/dynamictagmanagement/<DTMconfig> and then using cloud config tab on page properties.
When i looked into implementation code of these integrations, it is checking only if 'author' or 'wcmmode=disabled' but dont have any options to verify/configure the lower environments so that staging header will go into these environments.
Below is the snippet from /libs/cq/dtm/components/dynamictagmanagement/dtm_include.jsp
//We use production scripts if we run on a publish instance or the user asked to use these scripts on author instance as well. String dtmScriptsTypeToUse = (mode == WCMMode.DISABLED || authorProdInclude) ? "production" : "staging";
Can you let me know if there is any OOTB way to get staging header code into lower environments?