only use analytics in deployment