I want to keep track of the time it takes for a user to use a configuration page, which is the total time from first loading the page to the last time the user presses the save button. Pressing the save button does NOT reload the page.
I do not want to rely on Google's average page time calculation since that calculation does not count the last visited page and is thus not that accurate.
I could perform a
ga('send', 'timing', 'SaveTime', 'SaveTimeVar', timeSpent);
After every time the save button is pressed but it does not give me the time value I want, which is the total time from page load to LAST save button press. The problem is due to the fact that it is impossible to know if the current save event is the last one.