Source: site.view [edit]
Function name: gfReportStats
Arguments: user
Description: Record statistics from a GF screensaver session
Page type: webl
Render function:  
Module: sandbox

Page source:

// user,deltatime,totaltime,coins,rewards,friends,homepage,taskbar,abnum,userversion

// var report = user + "," + deltatime + "," + totaltime;
// report = report + "," + coins + "," + rewards + ",";
// report = report + friends + "," + homepage + "," + taskbar + "," + abnum;

var report = user;
every o in OPTIONALARGS do
   report = report + "," + o;
end;
 
report = report + "\n";

Wub_AppendData("gfstats", report);
"<result>true</result>";