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
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/website/javascript/querystring.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ Analytics.js can trigger Track and Identify events based on the URL query string
7
7
8
8
Here are the query parameters to use:
9
9
10
-
| Parameter | Description | Triggers |
11
-
| ----- | ----------- | -------- |
12
-
|`ajs_uid`|The userId to pass to an identify call. | This triggers an `identify` call. |
13
-
|`ajs_event`| The event name to pass to a track call. | This triggers a `track` call. |
14
-
|`ajs_aid`| The anonymousId to set for the user.| This triggers an `analytics.user().anonymousId()` call.|
15
-
|`ajs_prop_<property>`| A property to pass to the track call| This won't implicitly trigger an event and is dependent on you also passing `ajs_event` - this property be included in the resulting `track` call |
16
-
|`ajs_trait_<trait>`| A trait to pass to the identify call| This won't implicitly trigger any call and is dependent on you also passing `ajs_uid` - this trait is included in the resulting `identify` call |
|`ajs_uid`|The userId to pass to an Identify call. | This triggers an Identify call.|
13
+
|`ajs_event`| The event name to pass to a Track call. | This triggers a Track call.|
14
+
|`ajs_aid`| The `anonymousId` to set for the user.| This function returns the current `anonymousId`. When a value is passed, this function sets an `anonymousId` value. |
15
+
|`ajs_prop_<property>`| A property to pass to the Track call. | This won't implicitly trigger an event and is dependent on you also passing `ajs_event`. This property is included in the resulting Track call.|
16
+
|`ajs_trait_<trait>`| A trait to pass to the Identify call. | This won't implicitly trigger any call and is dependent on you also passing `ajs_uid`. This trait is included in the resulting Identify call. |
0 commit comments