---
title: "iOS SDK: Track pages"
description: "Track the pages your customers visit with the Gleap iOS SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/452-ios-sdk-track-pages
collection: "iOS"
updated: 2026-11-01
language: en
---

# iOS SDK: Track pages

Track the pages your customers visit with the Gleap iOS SDK. Follow the integration code examples.

The iOS SDK tracks pages based on the activity name by default. If you want to customize the tracked pages you can do so by using the trackEvent() method below to track custom pages.

## Track a page

```javascript
Gleap.trackEvent("trackPage", withData: ["page": "Example page"])
```

You will be able to use the tracked pages as triggers in outbound messages as well as breadcrumbs for debugging.

## Related

- [iOS SDK setup](https://docs.gleap.ai/en/articles/434-ios-sdk-setup.md)
- [iOS SDK: User identity](https://docs.gleap.ai/en/articles/435-ios-sdk-user-identity.md)
- [iOS SDK: Callbacks](https://docs.gleap.ai/en/articles/436-ios-sdk-callbacks.md)
- [iOS SDK: Frontend tools](https://docs.gleap.ai/en/articles/437-ios-sdk-frontend-tools.md)
- [iOS SDK: Forms](https://docs.gleap.ai/en/articles/438-ios-sdk-forms.md)
