Skip to content

Commit 97969c3

Browse files
fix typo this.config.defaultTracking to this.config.autocapture
Co-authored-by: Copilot <[email protected]>
1 parent d0505a6 commit 97969c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/analytics-browser/src/browser-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export class AmplitudeBrowser extends AmplitudeCore implements BrowserClient {
157157
await this.add(autocapturePlugin(getElementInteractionsConfig(this.config))).promise;
158158
}
159159

160-
if (isNetworkTrackingEnabled(this.config.defaultTracking)) {
160+
if (isNetworkTrackingEnabled(this.config.autocapture)) {
161161
this.config.loggerProvider.debug('Adding network tracking plugin');
162162
await this.add(networkCapturePlugin(getNetworkTrackingConfig(this.config))).promise;
163163
}

0 commit comments

Comments
 (0)