Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Google Tag Manager and A/B-testing

Compare
Choose a tag to compare
@cbrevik cbrevik released this 24 Apr 11:41
· 182 commits to master since this release

Tag Manager

This release includes a Google Tag Manager implementation, which allows you to pull values out of your containers. The API is simple:

  • openContainerWithId(containerId)
  • stringForKey(key)
  • boolForKey(key)
  • doubleForKey(key)

All these returns a Promise.

A/B-testing

The motivation behind this release was to enable simple A/B-testing, consult this section in the readme.

Breaking changes:

The Tag Manager-implementation uses Promise, which means that this release requires React Native 0.19+!

Thanks to @libinlu89 for helping me kickstart this!