List variable for performanceTiming plug-in



I'm trying to understand how to implement the performanceTiming plug-in and it says a list variable is needed:

"If you wish to utilize the asset load time functionality within the plug-in, you must pass in the name of the list variable to be used."

What is the use case for using a list variable with the performanceTiming? If I don't use a list variable, then what information will I get?

Accepted Solutions (1)

Accepted Solutions (1)



If you use a List Variable, you'll get the timing measurements for the individual assets that make up the page (e.g., individual JavaScript libraries) - this will be a lot of data.

If you just configure the ten (10) events in s.pte, you'll get nine (9) calculated timings for the performance of the page as a whole, from the point that the user clicks a link to load the page up to the point that the page finishes loading; the tenth event is a counter to help with creating calculated metrics.

Answers (5)

Answers (5)



Actually, if you're only interested in the page load times (and not the asset timings), the call should just be:


You should be able to read the contents of the cookie (where the timings are stored for reading on the next page) by inspecting it in the Console before navigating:


Should look something like this:


If that cookie's not being set, you've possibly got a timing problem (we had this on our site and had to modify the plug-in and the code we added to s_doPlugins).



Based on the example:

/* Performance Timing */

s.eVar9 = s.getPreviousValue(s.pageName,'gpv_v9',''); //Record the previous page name in the designated eVar of your choice


If we don't use a list, should the call be:


instead of





That's right:  the measurements are collected on the next page load, which is why the article instructs the setting of a "Performance Timing Page Name" variable as well (the measurements will be analysed against this variable, and ​not​ the Page Name).

Do you customise s.linkTrackVars for Exit and / or Download links?

Note that the measurements are also captured on Exit Link clicks, so the "Performance Timing Page Name" variable needs to be included in s.linkTrackVars if you're customising it for link-tracking calls.