HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getClicks

Queries recipients that clicked a link in a mailing and the time they clicked the link in Optimizely Campaign.

To synchronize properly, use the getCurrentTime method.

Remarks

  • Data of mailings that are older than 30 days (calculated from sending date) are no longer stored and are not included in the export of the sending statistics.
  • The maximum number of data sets that can be retrieved per call is 1000.
  • You receive the response data export in one or more CSV files. The start and end times of the query refer to the creation date or the modification date of the CSV files and not to the time stamp of the individual response data contained in the CSV files.

Type: String[ ][ ]

Parameters

NameTypeValue
sessionIdStringID of the session
sincelongThe time (in milliseconds) from which the data is queried
untillongThe time (in milliseconds) until which the data is queried
startRowintThe index number (starting with 0) of the first row to be selected
numberOfRowsintThe maximum number of rows to be returned

Return values

Recipients that clicked a link in a message and the time they clicked the link

Code structure

String[][] getClicks(String sessionId, long since, long until, int startRow, int numberOfRows)

Did this page help you?