Tracking.TotalByIntervalRetrieve

Overview

Returns tracking data related to an initialized send specified by type, duration, and interval

Syntax

Tracking.TotalByIntervalRetrieve(1, 2, 3, 4)

Function Properties

OrdinalTypeDescription
1stringRequiredType of data to aggregate and return. Choose Send, Open, Click, Bounce, or Unsubscribe.
2stringRequiredStart date of data period
3stringRequiredEnd date of data period
4stringRequiredInterval used to aggregate data. Choose day or hour.

Example

This sample code returns a month's worth of click data for the initialized send aggregated by day: