I have added the JavaScript that I need to the bottom of my pages so that I can make use of Google Analytics. Only problem is that I am sure that it is counting all my devel
If you have a react application and you have ejected the app(this could work for CRA as well). You can make use of the below code snippet in the index.html page.