django-google-analytics icon indicating copy to clipboard operation
django-google-analytics copied to clipboard

deal with debug mode

Open franckbret opened this issue 15 years ago • 2 comments

Hi I've made some changes in order to return analytics code only if DEBUG = False What do you think ?

franckbret avatar Oct 01 '10 15:10 franckbret

it will not display an error where its occured

rohitgupta avatar Jan 18 '11 13:01 rohitgupta

Hi, thanks for your response, but the problem is not that it make an error occurs... It makes a useless google request, wich is not really convenient in debug mode cause we need speed, also you're stuck if don't have any internet access.

franckbret avatar Feb 21 '11 17:02 franckbret