The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Alternative Search Sources
    4. How create product category in Google Analytics?

    How create product category in Google Analytics?

    Alternative Search Sources
    2 2 5.3k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tormar
      Tormar last edited by

      Hi,

      I have a lot of product in my GA ecommerce. Does anyone how I can split my product by product categories in Analytics?

      E.g. Category: Blue cars, category: Yellow cars ...

      1 Reply Last reply Reply Quote 0
      • iQi
        iQi last edited by

        Hi,

        You should find your answer in this link: https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#overview

        But essentially you will have to use something like:

        ga('ec:addImpression',{            // Provide product details in an impressionFieldObject.
          'id':'P12345',                   // Product ID (string).
          'name':'Android Warhol T-Shirt',// Product name (string).
        **'category':'Apparel/T-Shirts',   // Product category (string).**
          'brand':'Google',                // Product brand (string).
          'variant':'Black',               // Product variant (string).
          'list':'Search Results',         // Product list (string).
          'position':1,                    // Product position (number).
          'dimension1':'Member'            // Custom dimension (string).});
        
        

        But you need to specify the Field Object in the top line. Read the link I sent you and should be all self explanatory.

        I hope this helps

        Issa
        
        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Ways to fetch search analytics - historical search query data from Google Search Console
          Tymen
          Tymen
          0
          3
          649

        • G is for Google
          Martijn_Scheijbeler
          Martijn_Scheijbeler
          0
          4
          246

        • Is Google Knowledge Graph in Other Countries?
          RyanPurkey
          RyanPurkey
          0
          2
          275

        • Google News query
          EGOL
          EGOL
          0
          2
          228

        • Google vs. Bing
          ClaireH-184886
          ClaireH-184886
          0
          2
          114

        • Google Adchoice - where to begin?
          john4math
          john4math
          0
          4
          487

        • How to find the categories a keyword is belong to?
          Elchanan
          Elchanan
          0
          3
          344

        • Google news optimisation
          A_Q
          A_Q
          0
          4
          2.0k

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy