Skip to content

Commit 613bf50

Browse files
committed
Switching to connection string code samples
1 parent f52d2d9 commit 613bf50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-monitor/app/javascript-feature-extensions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Ignore this setup if you use the npm setup.
104104
> After `parentDataTag` is used, the SDK begins looking for parent tags across your entire application and not just the HTML element where you used it.
105105
1. The `customDataPrefix` provided by the user should always start with `data-`. An example is `data-sample-`. In HTML, the `data-*` global attributes are called custom data attributes that allow proprietary information to be exchanged between the HTML and its DOM representation by scripts. Older browsers like Internet Explorer and Safari drop attributes they don't understand, unless they start with `data-`.
106106

107-
The asterisk (`*`) in `data-*` can be replaced by any name following the [production rule of XML names](https://www.w3.org/TR/REC-xml/#NT-Name) with the following restrictions:
107+
You can replace the asterisk (`*`) in `data-*` with any name following the [production rule of XML names](https://www.w3.org/TR/REC-xml/#NT-Name) with the following restrictions.
108108
- The name must not start with "xml," whatever case is used for the letters.
109109
- The name must not contain a semicolon (U+003A).
110110
- The name must not contain capital letters.
@@ -167,7 +167,7 @@ The following key properties are captured by default when the plug-in is enabled
167167
| metaDataPrefix | String | Null | N/A | Automatic capture HTML Head's meta element name and content with provided prefix when captured. For example, `custom-` can be used in the HTML meta tag. |
168168
| captureAllMetaDataContent | Boolean | False | N/A | Automatic capture all HTML Head's meta element names and content. Default is false. If enabled, it overrides provided `metaDataPrefix`. |
169169
| 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-
| dntDataTag | String | `ai-dnt` | `data-ai-dnt`| HTML elements with this attribute are ignored by the plug-in for capturing telemetry data.|
170+
| dntDataTag | String | `ai-dnt` | `data-ai-dnt`| The plug-in for capturing telemetry data ignores HTML elements with this attribute.|
171171

172172
### behaviorValidator
173173

@@ -351,7 +351,7 @@ var behaviorMap = {
351351

352352
// Application Insights Configuration
353353
var configObj = {
354-
instrumentationKey: "YOUR INSTRUMENTATION KEY",
354+
connectionString: "YOUR CONNECTION STRING",
355355
extensions: [clickPluginInstance],
356356
extensionConfig: {
357357
[clickPluginInstance.identifier]: {

0 commit comments

Comments
 (0)