You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| dataTags |[ICustomDataTags](#icustomdatatags)| Null | Custom Data Tags provided to override default tags used to capture click data. |
146
146
| urlCollectHash | Boolean | False | Enables the logging of values after a "#" character of the URL. |
147
147
| urlCollectQuery | Boolean | False | Enables the logging of the query string of the URL. |
148
148
| behaviorValidator | Function | Null | Callback function to use for the `data-*-bhvr` value validation. For more information, see the [behaviorValidator section](#behaviorvalidator).|
149
149
| defaultRightClickBhvr | String (or) number | '' | Default behavior value when a right-click event has occurred. This value is overridden if the element has the `data-*-bhvr` attribute. |
150
150
| dropInvalidEvents | Boolean | False | Flag to drop events that don't have useful click data. |
@@ -169,7 +169,7 @@ The following key properties are captured by default when the plug-in is enabled
169
169
| parentDataTag | String | Null | N/A | Stops traversing up the DOM to capture content name and value of elements when encountered with this tag. For example, `data-<yourparentDataTag>` can be used in the HTML tags.|
170
170
| dntDataTag | String |`ai-dnt`|`data-ai-dnt`| The plug-in for capturing telemetry data ignores HTML elements with this attribute.|
171
171
172
-
### behaviorValidator
172
+
####behaviorValidator
173
173
174
174
The `behaviorValidator` functions automatically check that tagged behaviors in code conform to a predefined list. The functions ensure that tagged behaviors are consistent with your enterprise's established taxonomy. It isn't required or expected that most Azure Monitor customers use these functions, but they're available for advanced scenarios.
175
175
@@ -181,7 +181,7 @@ Three different `behaviorValidator` callback functions are exposed as part of th
181
181
| BehaviorMapValidator | Use this callback function if your behavior's data structure is a dictionary. |
182
182
| BehaviorEnumValidator | Use this callback function if your behavior's data structure is an Enum. |
183
183
184
-
#### Sample usage with behaviorValidator
184
+
#####Sample usage with behaviorValidator
185
185
186
186
```js
187
187
var clickPlugin =Microsoft.ApplicationInsights.ClickAnalyticsPlugin;
@@ -366,12 +366,6 @@ var appInsights = new Microsoft.ApplicationInsights.ApplicationInsights({
366
366
appInsights.loadAppInsights();
367
367
```
368
368
369
-
## Enable correlation
370
-
371
-
Correlation generates and sends data that enables distributed tracing and powers the [application map](../app/app-map.md), [end-to-end transaction view](../app/app-map.md#go-to-details), and other diagnostic tools.
372
-
373
-
JavaScript correlation is turned off by default to minimize the telemetry we send by default. To enable correlation, see the [JavaScript client-side correlation documentation](./javascript.md#enable-distributed-tracing).
374
-
375
369
## Sample app
376
370
377
371
[Simple web app with the Click Analytics Autocollection Plug-in enabled](https://go.microsoft.com/fwlink/?linkid=2152871)
0 commit comments