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.
  
  
  
    
      [null,null,["Last updated 2024-10-31 UTC."],[],["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"]]