Description Usage Arguments Details Value
Updates the intermediate list that contains auxiliary objects. The intermediate list is used to produce the aggregate list. It therefore needs to be updated combining the present intermediate object with the new events that have been registered
1 | update_intermediate(intermediate, new_events)
|
intermediate: |
a list with many objects. |
new_events: |
a dataframe, see details below. |
The "new_events"
dataframe should have been processed using the
"prepare_events"
function. The latter adds in particular
"time_spent"
and "duration_session"
, possibly taking into
account that the session spans from a previous call to the API
The "intermediate"
is a list with the following objects:
"last_event"
"visited_units"
"users"
"visitors"
"user_url_time"
"daily_effort"
a list with the same structure than intermediate
but where
the objects have been updated taking into account the information contained
in "new_events"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.