Added product click tracking for GA. #6112

This will also make it easy for the case when someone does not wish to run Google Analytics. The function will be called with the default value.