add switch to prevent multiple tracking instances