#19: Added analytics events to the popup extension.