Fix click tracking analytics code