Skip tracking notice on local or dev sites
Fixed inversed conditional
Merge pull request #1762 from ghost1227/issue/1751

Issue/1751