Use the SDK to capture analytics