From e6be838e79101cb3abc2e95fa150fc4b0e841930 Mon Sep 17 00:00:00 2001 From: utkarshgautamnyu Date: Wed, 28 Jun 2017 15:30:49 -0700 Subject: [PATCH] Update snapshot.js --- scripts/system/snapshot.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/system/snapshot.js b/scripts/system/snapshot.js index c60e3a67f7..e033ba9f44 100644 --- a/scripts/system/snapshot.js +++ b/scripts/system/snapshot.js @@ -504,7 +504,14 @@ function takeSnapshot() { Window.takeSnapshot(false, includeAnimated, 1.91); }, SNAPSHOT_DELAY); }, FINISH_SOUND_DELAY); +UserActivityLogger.logAction("snapshot_taken", logDetails()); } + + function logDetails() { + return { + current_domain: location.href + }; + } function isDomainOpen(id, callback) { print("Checking open status of domain with ID:", id);