t() method is an important core component to Adobe Analytics. It takes all Analytics variables defined on the page, compiles them into an image request, and sends that data to Adobe data collection servers.
// Instantiate the tracking object var s = s_gi("examplersid"); // Define config variables and page variables s.trackingServerSecure = "data.example.com"; s.eVar1 = "Example dimension item"; // Compile the variables on the page into an image request to Adobe s.t();
t() method takes all Analytics variables defined and formulates a URL based on those variables. Some Analytics variables determine the URL of the image, while other variables determine query string parameter values.
Adobe receives the image request, then parses the request header, URL, and query string parameters. Data collection servers then return a transparent 1x1 pixel image, invisibly displayed on your site.
The Data Collection UI has a dedicated location set a page view tracking call.
s.t() method when you want to send a tracking call to Adobe.
Optionally, you can use an object as an argument to override variable values. See variable overrides for more information.
var y = new Object(); y.eVar1 = "Override value"; s.t(y);
Previous versions of AppMeasurement used several lines of code to call this function. The additional code historically accommodated workarounds for different browsers. Standardization and best practices in modern browsers no longer require this block of code. Only the method call
s.t() is needed now.