How can I change the report suite dynamically if my s_code is managed by Adobe?
The recent update in DTM to allow Adobe to manage your analytics s_code has a bunch of good benefits in my opinion. Things like:
You will always be working with the latest version of the Adobe Analytics library (no need to download the latest and greatest).
If you designate your production and staging report suites as part of your Adobe Analytics configuration, DTM will automatically assign the right report suite for the right deployment environment.
But what if your implementation requires the report suite to change dynamically based on URL? Does this mean you automatically will need to switch to a custom s_code deployment? Is there a way to get the best of both worlds? Recently, I’ve been working on a DTM project that requires multi-suite tagging and I wanted to find a way to always give the client the most recent version of s_code and still be able to manage the s.account on the fly.
Using the Customize Page Code allows you to extend the s_code functionality before Adobe Analytics executes
Step 1: Set your Library Management Configuration
Confirm that the Library Management configuration of your DTM property is using Adobe managed s_code.
Step 2: Configure the Custom Page Code precedence.
Make sure the precedence setting under the global “Customize Page Code” configuration is set to “After UI Settings” This will allow your code changes to override the use of default staging or production report suite settings.
Step 3: Add your custom code to dynamically set the report suite.
Step 4: Save changes and test in staging.
Using the Custom Page Code configuration is a great way to manage the report suite settings for multi-suite tagging and still get the benefit of an Adobe managed s_code implementation.