---
schema_version: "1"
id: a5b30fecde8165b64c130aaedcad180bcf33558500e5ada38959e033c21c730b
title: Add Tracked Components to a Lightning App Page
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_omnianalytics_edit_lightning_app_page_std.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_edit_lightning_app_page_std.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e27c451cababd6e65350f35f8ae3feb4c2d7e1121dbdeea475e6e2843a110e13
description: Users interact with Omniscripts and Flexcards via Lightning App Pages. However, instead of directly adding Omniscripts and Flexcards to pages, you add wrapper components that make the Omniscripts and Flexcards available to OmniAnalytics.
products:
  - Omnistudio
release: "264"
---
# Add Tracked Components to a Lightning App Page

Users interact with Omniscripts and Flexcards via Lightning App Pages. However, instead of directly adding Omniscripts and Flexcards to pages, you add wrapper components that make the Omniscripts and Flexcards available to OmniAnalytics.

1. From Setup, in the Quick Find box, enter lightning app, and then select **Lightning App Builder**.
2. Click **New**.
3. Select **App Page**, then click **Next**.
4. In Label, type Analytics Test Page, then click **Next**.
5. Click **One Region**, then click **Done**.
    
    The new page opens in Lightning App Builder.
6. Drag the **Omniscript** standard component onto the page canvas.
7. In the component properties, set the Type to `Documentation` and the SubType to `OmniAnalytics`, then select **Enable Omnistudio Analytics**.
8. Drag the **Flexcard** standard component onto the page canvas below the first component.
9. In the component properties, set the Flexcard Name to `DocumentationTestCard` and select **Enable Omnistudio Analytics**.
10. Save your changes and click **Activate**.
11. On the Activation page, click **Lightning Experience**, select **Sales**, click **Add page to app**, then save your changes.
12. To exit Lightning App Builder, click **Save**, then click **Back**.
13. From the App Launcher, go to the Sales app and Analytics Test Page.
14. Verify that the Analytics Test Page looks like this:
    
    ![The Analytics Test Page contains the Omniscript and Flexcard created in the previous step. The first step of the Omniscript is Select Device, which has a Choose a device field and a Next button. Steps listed are Select Device, View Quote, Cart Details, Review Cart, Shipping Address, Provide Payment, and Order Receipt. Select Device is highlighted. The Flexcard displays a user Id and Name and has NavigateAction and NavigateActionNewWindow buttons.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/omnistudio/images/oapage.png)

After you create the Lightning App Page, [View Tracked Data in the Tracking Group](https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_view_data_tracking_group_std.htm&release=264.0.0&type=5 "After you add tracked components to a Lightning App page, you generate and view reports of the tracked data in the tabs for these components on the Tracking Group page.") to view tracked data.