> For the complete documentation index, see [llms.txt](https://matteo-gabriele.gitbook.io/vue-gtag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://matteo-gabriele.gitbook.io/vue-gtag/methods/pageview.md).

# pageview

```javascript
import { pageview } from 'vue-gtag'

// Use the page_view official parameters
pageview({ page_path: '/about' })

// Use a string
pageview('/about')

// Use a route object
const route = useRoute()
pageview(route)
```

{% hint style="info" %}
All these examples will track the page\_view event in the same manner.
{% endhint %}
