com.google.android.gms.analytics.ecommerce
Stay organized with collections
Save and categorize content based on your preferences.
Classes
Product
|
Class to construct product related information for
a Google Analytics hit. |
ProductAction
|
Class to construct transaction/checkout or other
product interaction related information for a Google Analytics hit. |
Promotion
|
Class to construct promotion related fields for
Google Analytics hits. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["The `Product` class helps you include product details in your Google Analytics data."],["Use the `ProductAction` class to track transactions, checkouts, and other product interactions."],["The `Promotion` class enables you to send information about promotions to Google Analytics."]]],["The content outlines three classes for building Google Analytics data. The `Product` class constructs product information for hits. The `ProductAction` class builds transaction, checkout, and other product interaction data. The `Promotion` class creates promotion-related fields for hits. Each class is designed to structure specific types of information for inclusion in Google Analytics reports.\n"]]