save_quiz_results | R Documentation |
save_quiz_results
save_quiz_results(
db,
geoid,
data_ts,
p20,
p50,
p100,
p1000,
g20,
g50,
g100,
g1000,
ip,
lat,
long,
utm_source,
utm_medium,
utm_content,
utm_campaign
)
db |
Database, from global env (see [loadDataOnStart()]) |
geoid |
Geoid of location selected |
data_ts |
Timestamp of quiz submission |
p20 |
Predicted event size = 20 |
p50 |
Predicted event size = 50 |
p100 |
Predicted event size = 100 |
p1000 |
Predicted event size = 1000 |
g20 |
Guess event size = 20 |
g50 |
Guess event size = 50 |
g100 |
Guess event size = 100 |
g1000 |
Guess event size = 1000 |
ip |
User ip if known, from 'globals$ip()' |
lat |
User latitude, 0 if unknown. Typically from 'globals$latitude()' |
long |
User longitude, 0 if unknown. Typically from 'globals$longitude()' |
utm_source |
‘utm_source=' value from query string or ’NULL' |
utm_medium |
‘utm_medium=' value from query string or ’NULL' |
utm_content |
‘utm_content=' value from query string or ’NULL' |
utm_campaign |
‘utm_campaign=' value from query string or ’NULL' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.