Skip to content

Commit c70ea09

Browse files
authored
Merge pull request #4228 from segmentio/4148-content
Update Querystring Parameters Table #4148
2 parents 60d9588 + 912d4ad commit c70ea09

File tree

1 file changed

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

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Analytics.js can trigger Track and Identify events based on the URL query string
77

88
Here are the query parameters to use:
99

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 |
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 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. |
1717

1818
For example, this URL:
1919

0 commit comments

Comments
 (0)