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


Learn about Adobe User Groups across Experience Cloud

User Group

Master Adobe Experience Cloud solutions along with your peers through Adobe User Groups. Join this event to learn how to get involved!


Thursday, Jul 31, 3:00 PM UTC

Experience Makers The Skill Exchange

Skill Exchange

Join us for four days of customer learning across 6 different Adobe solutions. Pick the day or days that mean the most to you. This FREE virtual event is packed with actionable learnings you won't want to miss.


Wednesday, Aug 13, 4:00 PM UTC

Data Drip: Benefits of Migrating from an Old System to Web SDK

Data Drip

Join us to learn how Adobe Experience Platform Web SDK lowers operational costs, simplifies implementation, and reduces liability. We'll walk you through exactly how to take advantage of its improved performance compared to older libraries.


Thursday, Aug 21, 5:00 PM UTC