MightyHive / chrome-extension

0 stars 0 forks source link

Enhance container metadata collection #5

Closed jreidgreer closed 7 years ago

jreidgreer commented 7 years ago

Scope

background-page

Category

MVP

Description

Currently the "container" data collector is MVP-level basic, specifically built for Google Tag Manager. Tealium does not have container ID's to our knowledge, but we want to instead bring in other valuable metadata parsed from Tealium's network call.

Acceptance criteria

Convert the container parser to store more general data. It currently pulls in an ID property from the network call's query parameters. However, we can add a custom parser property to each individual container in the ContainerConfig, similar to how the QueryParserConfig works. The parser should return an object which the UI will then blindly display both key value pairs for each container. Note that UI work is separate from this issue.

GTM:

{
  id: 'GTM-XXXX'
}

Tealium:

{
  tagVersion: 'xxxxxxxxxx',
  account: 'xxxxxxxxxx',
  profile: 'xxxxxxxxxx',
  environment: 'xxxxxxxxxx'
}
mrezo commented 7 years ago

Innovation | Chrome Extension