diff --git a/endpoints/trackhelper.py b/endpoints/trackhelper.py index f1bc708e5..5c336643c 100644 --- a/endpoints/trackhelper.py +++ b/endpoints/trackhelper.py @@ -65,7 +65,7 @@ def track_and_log(event_name, repo_obj, analytics_name=None, analytics_sample=1, # Publish the user event (if applicable) logger.debug('Checking publishing %s to the user events system', event_name) - if authenticated_user: + if authenticated_user and not authenticated_user.robot: logger.debug('Publishing %s to the user events system', event_name) user_event_data = { 'action': event_name,