page_type | name | description | languages | products | ||||
---|---|---|---|---|---|---|---|---|
sample |
Sample Web App with Application Insights Click Analytics Plugin Enabled |
This is a simple HTML/CSS/JS web app that illustrates how to enable Application Insights JS- Click Analytics Plugin |
|
|
This is a simple HTML/CSS/JS web app that illustrates how to enable Application Insights Click Analytics Plugin
It is built on the Carousel template by Bootstrap.
- Git and Node.js installed on your computer.
- Familiarity with editing text and code files in any text editor.
-
Create an Application Insights resource in Azure by following these instructions.
-
Open terminal and clone the repo using
git clone
-
Grab the Instrumentation Key (aka "ikey") from the resource you created in step 1. Later, you'll add it to the instrumentationKey setting in the
public/ts/appinsights.ts
file -
In the project directory you should run
npm install
on your terminal to install all the dependencies. -
After making the changes in step-3, please run
npm run build
on your terminal to transpile and browserify theappinsights.ts
file -
To launch the app locally , simply run the following command on your terminal
node index.js
-
Open your favorite browser and go to http://localhost:8000/