graph
operated by: Facebook (get company information on datarequests.org)Endpoint URLs
These are URLs or regexes of endpoints the tracker sends data to. We use these to determine which adapter to apply to a request. Some trackers use the same endpoint for several formats. In this case we use additional logic to match the adapter to the request, refer to the code for more information./^https:\/\/graph\.facebook\.com\/v\d{1,2}.\d$/
Decoding steps
Every tracking library has its own way of transmitting tracking data, often even several. They are regularly pretty convoluted, nested encoding schemes. Because of that, the adapter needs to decode the request information into a consistent format. We try to keep keys and paths intact, but the structure results from our decoding. All steps used in the decoding for this adapter are documented here.- Parse the request body as JSON. Store that in the variable
b
. - Parse the property at JSONPath
batch
in the variableb
as JSON. Store that in the variablebatch
. - Get the property at JSONPath
relative_url
for every element in the variablebatch
. Store that in the variablerelativeUrls
. - Parse every element in the variable
relativeUrls
as a query string. Store that in the result for the request body atbatch
. - Get the property at JSONPath
batch_app_id
in the variableb
. Store that in the result for the request body atbatch_app_id
.
1b = parseJson(body)
2batch = parseJson(b.batch)
3relativeUrls = getProperty.map(batch, {"path":"relative_url"})
4res.body.batch = parseQueryString.map(relativeUrls)
5res.body.batch_app_id = getProperty(b, {"path":"batch_app_id"})
Observed data transmissions
This is data that we observed being transmitted by this tracker. Not every request contains all of this data. The context of the data describes where we found the data in the request, the path describes the location of the data in the decoded request. The examples are a selection of observed values.Property | Context | Path | Examples of observed values |
---|---|---|---|
Device advertising ID | body | batch.*.advertiser_id | 00000000-0000-0000-0000-000000000000 |
OS name | body | batch.*.platform | ios |
body | batch.*.sdk | ios | |
OS version | body | batch.*.os_version | 14.8 14.8.0 |
Other identifiers | body | batch.*.anon_id | XZA1964B79-5236-4744-B9B0-F910F28BEBCD XZABCB7B81-9419-4A93-9DE4-ED3EC44F81E4 XZ7587BD00-BD1B-4864-8F14-C1D90D2DB000 XZ5D90BBDC-24B4-4BAC-B23D-D7177749FC4F XZ21C85A45-8805-4857-A30A-AEE04A9B044F |
Tracker SDK version | body | batch.*.sdk_version | 11.1.0 12.3.2 12.1.0 8.2.0 8.0.0 |