Using setVar (_utmsetvar / utm_setvar) f... SetVar (for older versions utm_setvar or _utmsetvar) is a function in the Google Analytics javascript code that allows you to set a custom segmentation rule. GA already offers a set of standard segmentations, as well as more advanced segmentation techniques in the reports interface, but setVar (_utmsetvar /...