Data Items

The store uses a data tree that is similar to the following example:

{
"latitude":"37.331375",
"longitude":"-121.893992"
}

A security policy introduced in Chrome 50.x requires that that all geolocation related calls are made over a secured connection. Therefore AEM forces https usage for geolocation API calls if AEM is running over https as well. Otherwise http is used in order to comply with the policy of same origin. See
this Google blog post
for more details on the change in Chrome.

contexthub.surferinfo Sample Store Candidate

Stores information about the current client environment such as the device, window, browser, date and time.

Source Location

Base Implementation

Configuration

The default configuration includes an array named
defaultEmulators
that contains information about different devices. When you create a store, provide different device profiles in the Detail Configuration property as required, using the format illustrated in the following example: