| uploadSessionHistory | R Documentation | 
Uploads the current session history to a specified report.
uploadSessionHistory(report_id, dir = NULL)
| report_id | The ID of the report. | 
| dir | The directory name for organizing session history files on the server. Defaults to 'NULL'. | 
The parsed server response.
## Not run: 
  response <- uploadSessionHistory(
    report_id = "12345",
    dir = "session_logs",
  )
  print(response)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.