Skip to content

Commit

Permalink
Merge pull request #18390 from metal-messiah/page-action-apis
Browse files Browse the repository at this point in the history
feat: update pageaction apis that mention limit
  • Loading branch information
nbaenam committed Aug 16, 2024
2 parents 7b56411 + 8096591 commit 1247385
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ Reports a browser PageAction event along with a name and optional attributes.

This API call sends a browser [`PageAction` event](/docs/insights/explore-data/custom-events/insert-browser-custom-events-attributes-insights-javascript-api) with your user-defined name and optional attributes to [dashboards](/docs/query-your-data/explore-query-data/dashboards/introduction-new-relic-one-dashboards), along with [several default attributes](/attribute-dictionary/?event=PageAction). This is useful to track any event that is not already tracked automatically by the browser agent, such as clicking a <DNT>**Subscribe**</DNT> button or accessing a tutorial.

* `PageAction` events are sent every 30 seconds, with a maximum of 120 events per 30-second harvest cycle, per browser.
* After the 120-event limit is reached, additional events are not captured for that harvest cycle.
* `PageAction` events are sent every 30 seconds.
* If 1,000 events are observed, the agent will harvest the buffered events immediately, bypassing the harvest cycle interval.

<Callout variant="important">
In earlier agent versions, events were dropped after 120 were observed. The event limit was increased from 120 to 1,000 in version [1.264.0](https://docs.newrelic.com/docs/release-notes/new-relic-browser-release-notes/browser-agent-release-notes/browser-agent-v1.264.0/) and are no longer dropped.
</Callout>

## Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ In order to report `PageAction` events, verify these prerequisites:

<tr>
<td>
Max events per cycle
Events per cycle
</td>

<td>
`PageAction` events are reported every 30 seconds, with a maximum of 120 events per 30-second harvest cycle, per browser. After the 120-event limit is reached, additional events are not captured for that cycle.
`PageAction` events are sent every 30 seconds. If 1,000 events are observed, the agent will harvest the buffered events immediately, bypassing the harvest cycle interval.
</td>
</tr>

Expand Down

0 comments on commit 1247385

Please sign in to comment.