Usage Service

Link to Usage Service copied to clipboard

Learn about your teams' usage and metrics through the axe DevTools Usage Service. The linked documentation provides more insight into this service if you're just getting started.

Disabled by default, you must opt-in by defining your Deque provided Organization ID during setup to start collecting usage data.

Opt In

On your initialized AxeDevTools object, set the organization ID prior to authenticating and running any scans.

axe.setOrgIdForUsageService("<ORG_ID>")

Full Example in Espresso

@test
fun runScanWithADTAndroid() {	
    axe.setOrgIdForUsageService("<ORG_ID>")
    
    axe.connect("<DEQUE_API_KEY>")

    rule.scenario.onActivity {
        val scan = axe.scan(it)
        Assert.assertNull(scan)
        axe.tearDown()
    }
}

Captured Data

When interacting with the Usage Service through axe DevTools Mobile, you can expect the below data sent for login or scanning events:

Key Description
productName axe-devtools-mobile
event Which event took place: Login or Scan.
organization Your Deque provided Organization ID.
productComponent android
productComponentVersion Version number of the axe DevTools Mobile library.
distinctId Universally Unique Identifier (UUID)
userId Email address of the person initiating the event.
dateTime Time stamp of the event.