Skip to content

Commit

Permalink
update README files
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <[email protected]>
  • Loading branch information
emmanuel-ferdman committed Oct 17, 2024
1 parent 96e4070 commit ef76229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/ATIAnalytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ There is a custom hook within Simorgh that handles logging click events.

- [useClickTrackerHandler](https://github.com/bbc/simorgh/blob/latest/src/app/hooks/useClickTrackerHandler/index.jsx) is a custom hook that returns a click event handler that you can assign to the `onClick` attribute of the DOM element you'd like to click track.

You can find instructions and examples on how to set up and use this custom hook [here](https://github.com/bbc/simorgh/blob/latest/src/app/hooks/useClickTrackerHandler/README.md).
You can find instructions and examples on how to set up and use this custom hook [here](https://github.com/bbc/simorgh/blob/latest/src/app/hooks/useClickTrackerHandler/README.mdx).

## Logging View Events

There is a custom hook within Simorgh that handles logging view events.

- [useViewTracker](https://github.com/bbc/simorgh/blob/latest/src/app/hooks/useViewTracker/index.jsx) is a custom hook that returns a `ref` that you can assign to DOM elements you'd like to view track.

You can find instructions and examples on how to set up and use this custom hook [here](https://github.com/bbc/simorgh/blob/latest/src/app/hooks/useViewTracker/README.md).
You can find instructions and examples on how to set up and use this custom hook [here](https://github.com/bbc/simorgh/blob/latest/src/app/hooks/useViewTracker/README.mdx).

## Tag Inspector

Expand Down

0 comments on commit ef76229

Please sign in to comment.