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

Config appName and tracking custom dimension values

Compare
Choose a tag to compare
@cbrevik cbrevik released this 21 May 14:20
· 168 commits to master since this release

Three new functions available on the GoogleAnalytics type!

You now have the ability to explicitly set the appName. This is done by calling setAppName(appName).
Thanks to @alpacaaa for the implementation! 🎆

Next up is the ability to track custom dimension values. Since this needs to be done along with tracking a screenView or event, there are now two new methods for this:

  • trackScreenViewWithCustomDimensionValues(screenName, dimensionIndexValueDict)
  • trackEventWithCustomDimensionValues(category, action, optionalValues, dimensionIndexValueDict)

Thanks to @peteclark3 for fixing that for us! 🍰