JGoogleEmbedAnalytics::createCustomVar
Get the code to create a custom analytics variable
Signature
public function createCustomVar(int
$slot,
[string
$name = 3,
[string
$value = 3,
[integer
$scope = 3]]] )
Parameters
-
$slot
- The slot to store the variable in (1-5)
-
$name
- The variable name
-
$value
- The variable value
-
$scope
- The scope of the variable (1: visitor level, 2: session level, 3: page level)
Returns
- string
- The created call