Skip to content

Commit 0207c27

Browse files
authored
Update "Managing Identity in AJS" page
- add comma to example identify event block - change name of title "User and group information" to "Using analytics.user() and analytics.group()" so it's searchable and more specific
1 parent 0f66615 commit 0207c27

File tree

1 file changed

+2
-2
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+2
-2
lines changed

src/connections/sources/catalog/libraries/website/javascript/identity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Consider this Identify event:
139139

140140
```js
141141
analytics.identify('12091906-01011992', {
142-
plan_id: 'Paid, Tier 2'
142+
plan_id: 'Paid, Tier 2',
143143
144144
});
145145
```
@@ -176,7 +176,7 @@ analytics.user().traits({});
176176
analytics.group().traits({});
177177
```
178178

179-
## User and Group Information
179+
## Using analytics.user() and analytics.group()
180180

181181
You can use the `user` or `group` method as soon as the Analytics.js library loads, to return information about the currently identified user or group. This information is retrieved from the user's cookie.
182182

0 commit comments

Comments
 (0)