Skip to content

Commit

Permalink
Update amp-analytics.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Barb Paduch committed Jan 22, 2018
1 parent 33f0871 commit 40bc28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/amp-analytics/amp-analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ The `triggers` configuration object describes when an analytics request should b
- `on` (required) The event to listen for. Valid values are `render-start`, `ini-load`, `click`, `scroll`, `timer`, `visible`, `hidden`, `user-error`, [`access-*`](../amp-access/amp-access-analytics.md), and [`video-*`](./amp-video-analytics.md)
- `request` (required) Name of the request to send (as specified in the `requests` section).
- `vars` An object containing key-value pairs used to override `vars` defined in the top level config, or to specify vars unique to this trigger.
- `immediate` can be specified to work with request that support batching behavior. Setting `immediate` to `true` can help to flush batched request queue with some certain trigger. In this case, it's possible to reduce the request pings number without losing important trigger events.
- `immediate` can be specified to work with requests that support batching behavior. Setting `immediate` to `true` can help flush the batched requests queue for a given trigger. In this case, it's possible to reduce the request pings number without losing important trigger events.
- `selector` and `selectionMethod` can be specified for some triggers, such as `click` and `visible`. See [Element selector](#element-selector) for details.
- `scrollSpec` (required when `on` is set to `scroll`) This configuration is used in conjunction with the `scroll` trigger. Please see below for details.
- `timerSpec` (required when `on` is set to `timer`) This configuration is used in conjunction with the `timer` trigger. Please see below for details.
Expand Down

0 comments on commit 40bc28e

Please sign in to comment.