PayPal Shopping Analytics Tag Setup Guide
This article describes how to set up the PayPal Shopping Analytics tag in your Tag Management account.
The SDK collects analytical data from visitors to your website. This data is used by PayPal to provide you an option to re-target visitors who drop off.
Tag tips
- Use mappings to:
- Dynamically override config data
- Dynamically override the E-Commerce extension values
- Event trigger
Tag configuration
Go to the tag marketplace to add a new tag. For more information, see About tags.
When adding the tag, configure the following settings:
- Client ID: For merchants, this is the production client ID. For partners, this is the partner client ID.
Load rules
Load the tag on all pages or set conditions for when your tag will load. For more information about load rules, see the Load Rules documentation.
Data mappings
Data mappings send values from data layer variables to the corresponding variables in the vendor tag. For more information, see About data mappings.
The available categories are:
Settings
| Variable | Description |
|---|---|
| Screen Name (client_id) (Required) | String |
| User Id (user_id) | String |
| First Time Visit (first_time_visit) | [Boolean] |
Page View
| Variable | Description |
|---|---|
| Page Type (page_type) (Required) | String |
| Page Name (page_name) | String |
| Page Path (page_path) | String |
| Page Category Name (page_category_name) | String |
| Page Category Id (page_category_id) | String |
| Deal Id (deal_id) | String |
| Deal Name (deal_name) | String |
| Deal Value (deal_value) | String |
| Search Results Count (search_results_count) | String |
Product View
| Variable | Description |
|---|---|
| Product Id (product_id) | (Required) String (Overrides _cprod) |
| Product Name (product_name) | String (Overrides _cprodname) |
| Product Url (product_url) | String |
| Product Price (product_price) | String (Overrides _cprice) |
| Product Brand (product_brand) | String (Overrides _cbrand) |
| Product Category Name (product_category_name) | String (Overrides _ccat) |
| Product Category Id (product_category_id) | String |
| Product Discount (product_discount) | String (Overrides _cpdisc) |
Events
| Variable | Description |
|---|---|
| Page View (page_view) | page_view |
| Product View (product_view) | product_view |
This page was last updated: November 10, 2026