Require tracking js. The JS needs to work in statically cached environment,
Signature
public function trackingJS(array
$properties,
[string
$store = NULL,
[boolean
$includeIdentity = false]] )
Parameters
$properties
—
array
A map of property value pairs that should be tracked
$store
—
string
Store identifier (optional)
$includeIdentity
—
boolean
If true, the JS will contain the identity of the current user. If false, it doesn't include it (default). Identity will be established by identity finders. If using tracking cookies, the identifying cookie will be present on the tracking request. Must be false is statically cached environments.
Line
Task
282
implement: generate a property bag and encode it, put in tracker URL
283
implement: need to know the URL of the controller that processes the tracking request. Is this