Skip to content

Commit b074853

Browse files
remove Analytics.record() from code snippet (aws-amplify#3728)
1 parent 74057df commit b074853

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/fragments/lib/analytics/js/getting-started.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Import and load the configuration file in your app. It's recommended you add the
4141
import Amplify, { Analytics } from 'aws-amplify';
4242
import awsconfig from './aws-exports';
4343
Amplify.configure(awsconfig);
44-
Analytics.record();
4544
```
4645

4746
User session data is automatically collected unless you disabled analytics. To see the results visit the [Amazon Pinpoint console](https://console.aws.amazon.com/pinpoint/home/).

0 commit comments

Comments
 (0)