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>