---
title: "Components (React Native)"
id: "components"
project: "Contextual Commerce"
url: "https://docs.bazaarvoice.com/articles/contextual-commerce/components"
updated: 2026-10-15T09:12:51Z
---

# Components \(React Native\)

###  TrackPageView 
 
Declaration:
 
```
TrackPageView(__namedParameters: TrackPageViewProps): Element 

```
 
Tracks any changes to the active “page” or view that is displayed to the user in the application.
 
It is important to keep Contextual Commerce notified about the current page and the shopper’s navigation through the app so our engine can make appropriate decisions about what messages should be shown to which shoppers for maximum impact.
 
**Placement:** Embed this component on all pages in your application.
 
#### Parameters
 
`__namedParameters`: TrackPageViewProps

####  Returns 

`Element`

An empty fragment

[![Provide feedback button](/resources/Storage/contextual-commerce/bv-global/topic-footer-2026/provide-feedback-button.png)](https://docs.google.com/forms/d/1qGZ5rApqDrXO_j6vNzcDihDAOPMEjmUr1alHvcEIbQU/edit)