Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@miguelzakharia miguelzakharia released this 23 May 22:31

This release adds a new way to pass information to Application Insights thanks to @RichiCoder1. You now have the option to use Aurelia attributes instead of the usual data-appinsights-* method. For example,

View Model

export class MyPage {
    public interestingClickProperties = {
        pageId: 2,
        someText: "Hello"
    };
}

View

<template>
  <div appinsights-props.one-time="interestingClickProperties">
    <!-- Some content -->
  </div>
</template>

or

<template>
  <div appinsights-props.one-time="{ category: myCategory }">
    <!-- Some content -->
  </div>
</template>