Products using the Adobe Analytics extension
There is not a dedicated field in Adobe Experience Platform Data Collection to set this variable; however, multiple third-party extensions exist to help.
- Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.
- Click the desired tag property.
- Go to the Extensions tab, then click Catalog to see all available extensions.
- Search for the term “product”, which reveals several extensions available to help set this variable.
You can use one of these extensions, or you can use the custom code editor following AppMeasurement syntax below.
s.products in AppMeasurement and the Analytics extension custom code editor
The s.products
variable is a string that contains multiple delimited fields per product. Delimit each field with a semicolon (;
) in the string.
- Category (optional): The product category. The maximum length for this field is 100 bytes.
- Product name (required): The name of the product. The maximum length for this field is 100 bytes.
- Quantity (optional): How many of this product is in the cart. This field only applies to hits with the purchase event.
- Price (optional): The total price of the product as a decimal. If quantity is more than one, set price to the total and not the individual product price. Align the currency of this value to match the
currencyCode
variable. Do not include the currency symbol in this field. This field only applies to hits with the purchase event. - Events (optional): Events tied to the product. Delimit multiple events with a pipe (
|
). See events for more information. - eVars (optional): Merchandising eVars tied to the product. Delimit multiple merchandising eVars with a pipe (
|
). See merchandising eVars for more information.
This variable supports multiple products in the same hit. It is valuable for shopping cart and purchases containing multiple products. The maximum length for the entire products
string is 64k bytes. Separate each product with a comma (,
) in the string.
Examples
The products
variable is flexible when omitting fields and including multiple products. This flexibility can make it easy to miss a delimiter, which causes your implementation to send incorrect data to Adobe.
If using the digitalData
data layer, you can iterate through the digitalData.product
object array:
More help on this topic
Analytics
- Implement Adobe Analytics
- Analytics Release Notes
- AppMeasurement release notes
- Analytics variables, functions, and methods
- Prepare to implement Adobe Analytics
- Implement Analytics using Experience Platform Edge
- Implement Analytics using the Adobe Analytics extension
- Implement Analytics using JavaScript
- Implement Analytics on other platforms
- Implement Analytics on mobile devices
- Implementation use cases
- Validate your implementation
- Frequently asked questions
- Review your implementation
Data Drip: Benefits of migrating from an old system to WebSDK
Data Drip
Thursday, Apr 10, 4:00 PM UTC
Join us as Adobe Technical Advisor, Arindam Agarwal, guides us through the benefits of implementing Adobe WebSDK. Arindam will provide an in-depth overview and answer questions live during the Q&A. Register today!
RegisterHow EY Enhanced Regulatory Knowledge Management with Adobe Solutions
Delve into how EY leverages Adobe solutions to enhance regulatory knowledge management. EY leverages search analytics and personalization...
Wed, Mar 19, 4:00 PM PDT (11:00 PM UTC)
Elevate and Empower Teams with Agentic AI for Exceptional Experiences
Elevate and empower your CX teams with AI that transforms creativity, personalization, and productivity. Discover how Adobe is...
Tue, Mar 18, 1:00 PM PDT (8:00 PM UTC)
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more