Fixed logging clickthrough data and added variable in settings.py to turn it on and off