Skip to content

Dictionary tags

Compare
Choose a tag to compare
@erkie erkie released this 09 Jun 10:57
· 64 commits to master since this release

To accommodate the constantly evolving ad server landscape we need to introduce mapped tags. That is, tags mapped to predefined keys, instead of tags as an array of strings.

  • Adding a second argument to the Glimr.getTags callback, which is the mapping (if present) of the array tags in the first argument
  • Introduce 2 methods to serialize tags into a query string that can be used to super easily pass them forward to the ad server. Glimr.objectToQuery and Glimr.arrayToQuery. Read more in the README.md