I have one rule in analytics that rule need to be enablle only in prod and it should be disable in stage how can I achive this.?
Solved! Go to Solution.
Views
Replies
Total Likes
@vijitha - If you want a "set it and forget it" approach, consider creating a data element with the value of _satellite.buildInfo.environment and using it to conditionally execute/not execute your rule. You shouldn't have to worry about enabling/disabling the rule as you promote through the different environments.
You can disable the rule, add the disabled rule in the development environment and push it through the staging environment. The rule won't work in the staging environment.
In other words, you will need to add a disabled rule to an environment to remove it from the upstream resources.
Views
Replies
Total Likes
@vijitha - If you want a "set it and forget it" approach, consider creating a data element with the value of _satellite.buildInfo.environment and using it to conditionally execute/not execute your rule. You shouldn't have to worry about enabling/disabling the rule as you promote through the different environments.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies