---
schema_version: "1"
id: 78d9de3583b216d0e0d8c623d56a69546e2f85c1a7328b3788971e47e69ed134
title: Track Page View
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_ctc_track_page_view.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_track_page_view.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 76d0d655ac7a94b1bd91913de6bbedae9fbfbd44bfe7dde2abdb84c08c1ab5ed
description: "The trackPageView call is the most common call and can capture three types of information: product or content views, categories views, or search views."
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Track Page View

The `trackPageView` call is the most common call and can capture three types of information: product or content views, categories views, or search views.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_data_management_and_analytics-264-0-0-production-enus/7988f60d-cd94-4b42-8836-dc11773564b5/images/icon_note.png)

Note To have the search field populated in IGO\_VIEWS, include the search parameter in the tracking call. Use the item parameter to create a record in IGO\_VIEWS.

1. Copy the script and replace `INSERT_PRODUCT_CODE` with the attribute you want to match.
    
    ```
    <script type="text/javascript">
        _etmc.push(["setOrgId", "MID"]);
        _etmc.push(["trackPageView", { "item" : "INSERT_PRODUCT_CODE","search" : "XXXXX" }]); 
    </script>
    ```
2. Paste the modified script in the header code on your detail pages.

#### See Also

- [Install Collect Tracking Code](https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_install_collect_code.htm&release=264.0.0&type=5 "Learn how to configure your site to use Collect Tracking Code.")
- [Track Category Viewed](https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_track_category_view.htm&release=264.0.0&type=5 "Configure Collect Tracking Code to store category data for the product a contact views on your website.")
- [Track In-Site Search](https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_track_in_site_search.htm&release=264.0.0&type=5 "Configure Collect Tracking Code to store data about a contact’s search on your website.")
- [Track Items in Cart](https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_track_cart.htm&release=264.0.0&type=5 "Configure Collect Tracking Code to track items that are added or removed from a contact’s cart.")
- [Track Purchase Details](https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_track_conversion.htm&release=264.0.0&type=5 "Configure Collect Tracking Code to store details about a contact’s purchases from your website.")
- [Track User Rating](https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_track_rating.htm&release=264.0.0&type=5 "Configure Collect Tracking Code to store contact ratings for items on your website.")