Buffered requests in the Web SDK

The Web SDK currently does not offer the ability to buffer requests.

Buffered requests using the Adobe Analytics extension

There is not a dedicated field in the Adobe Analytics extension to use this variable. Use the custom code editor, following AppMeasurement syntax.

s.bufferRequests() in AppMeasurement and the Analytics extension custom code editor

Call the bufferRequests() method before calling t() or tl(). When bufferRequests() is called, subsequent tracking calls are written to session storage instead of sent to Adobe data collection servers.

// Instantiate the tracking object
var s = s_gi("examplersid");

// Flag the request to be buffered
s.bufferRequests();

// The t() or tl() method then writes the data to session storage instead of sending it to Adobe
s.tl(true,"o","Example link click");

// On a subsequent page, the tracking call sends both the above link tracking call and the page view call
s.t();

Analytics