Issues with Staging Site

I want to exclude some things running (like defender pro notifications) on the staging site, but not on production.