some browser plugins may block google analytics, preventind the deploy actions from working
add another check for ga !== undefined
Merge pull request #4770 from dimagi/deploy-analytics-fix

Deploy analytics fix