(Note: You can also download all your data at once through Hawk’s Settings menu. See here for details.)
Delete an Event
Navigate to the Event Details page. Click Delete this event… under the (…) menu.
Note: The delete and download functions are also available in the (…) button menu for each event listed on the Event Feed.
Deletion is permanent and cannot be undone.
Download Event Data
Navigate to the Event Details page. Click Download event data under the (…) menu.
If an event involves screenshots, the download will be a zip file. Otherwise, it will be a json file. Either way, the downloaded filename will contain a timestamp referring to when the event was generated.
Single File JSON Structure
The downloaded file represents all of Hawk’s data associated with the event. As the data controller (see Hawk and the GDPR), your use of the data is up to you, as well as how you give it to your own users. You’re likely to consider the fields trigger.type, url and userAgent useful.
Zip File Structure
If the event contains multiple screenshots, it will be downloaded as a zip file. The root of the zip file contains an event.json file and a folder named after Hawk’s internal ID for the user session that triggered the event. (See the sessionId field in event.json.) That folder contains a number of other folders, each of them timestamped.
The timestamps of the folders represent the moment the screenshot was captured.
Each folder contains an HTML file. That html is a copy of the DOM at the time the screenshot was taken. You’ll recognize it, because it’s the HTML code of your site!
There is also a file called metadata.json, containing helpful information about the state of the browser when the snapshot was taken, such as the position of the user’s cursor or the size of the browser window.