Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Larícia Mota <lariciamota@gmail.com>
  • Loading branch information
mariana-caetano and lariciamota authored Nov 26, 2024
1 parent 6681218 commit 35e2b99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/faststore/docs/sdk/analytics/send-analytics-event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "sendAnalyticsEvent"
---

The `sendAnalyticsEvent` function triggers events in the browser, following the [Google Analytics 4 (GA4) data model](https://developers.google.com/analytics/devguides/collection/ga4/reference/events). This function is primarily used for ecommerce tracking but also supports custom events , serving as a centralized point for managing events
The `sendAnalyticsEvent` function triggers events in the browser, following the [Google Analytics 4 (GA4) data model](https://developers.google.com/analytics/devguides/collection/ga4/reference/events). This function is primarily used for ecommerce tracking but also supports custom events, serving as a centralized point for managing events.

{ /* Remember to add a link to 'custom events' once we have the following task done: EDU-13545 */ }

Expand Down
2 changes: 1 addition & 1 deletion docs/faststore/docs/sdk/analytics/use-analytics-event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "useAnalyticsEvent"
---

The `useAnalyticsEvent` hook intercepts both native and custom events triggered by the [`sendAnalyticsEvent`](https://developers.vtex.com/docs/guides/faststore/analytics-send-analytics-event) function. The hook automatically detects the events sent by `sendAnalyticsEvent`) and provides a response to them.
The `useAnalyticsEvent` hook intercepts both native and custom events triggered by the [`sendAnalyticsEvent`](https://developers.vtex.com/docs/guides/faststore/analytics-send-analytics-event) function. The hook automatically detects the events sent by `sendAnalyticsEvent` and provides a response to them.

{ /* Remember to add a link to 'custom events' once we have the following task done: EDU-13545 */ }

Expand Down

0 comments on commit 35e2b99

Please sign in to comment.