How create product category in Google Analytics?
-
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 ...
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Google showing different links in SERPs
Google search results are showing my site links in both URLs, "mydomain.com" and "https://mydomain.com". However the one with https is showing a favicon, and the other one is not. So i wanna keep the https one and remove the other one. I went to GSC to submit "mydomain.com" for removal and it said that URL will be deleted in ALL of its variations.So how do i delete the "mydomain.com" links? Should i just index the ones with https again? Would that work? Someone suggested me to do 301 redirect on all pages that are being displayed twice. But i am not sure if i need to do that since i am using squarespace, and both of the links lead to the same page?
SERP Trends | | winter22330 -
Updating the Google Knowledge Graph....any hard answers on how to do this?
We are trying to update the Google Knowledge graph for one our clients. We would like to have company founding date, CEO's name and founder name in the knowledge graph. This information is already included in their wikipedia entry. Where else can we make changes to update this knowledge graph? Is their structured data option for founding dates, CEO/founder names? Should we include this information in their Google+ profile? We are using the publisher tag. We are not sure how to update the freebase account.
SERP Trends | | VanguardCommunications0 -
Google crawled "Cross Domain" links. Is this an issue? if yes then how we can remove it?
We have two sites. One site for US (site.com)and another is for India(site.co.in). Redirection is working based on ip address and location.So if I write US(site.com) site link in India location then it will automatically redirect to India site(site.co.in). We have given a link in the header of the site which will be used to open another country site. Example : Currently India site open in my browser so it contain US site link. and US site open in my browser so it contain India site link. We check on google web master and we found back links of cross domains so Is it an issue?
SERP Trends | | Shanil1230 -
Google vs. Bing
We rolled out a new site for a customer on an old (branded) domain (14 years old) about 3 weeks ago, and we are doing very, very well in Google for 40+ keywords, but we can't make a dent in Bing. Absolutely nothing. We are using the Webmaster tools for both. Are we missing something? Are we not using the Bing Webmaster tools correctly?
SERP Trends | | CsmBill0 -
Google Keyword Tool is Being Sunsetted
I was reading this article http://adwords.blogspot.de/2013/05/introducing-keyword-planner-combining.html that says that Google is going to be sunsetting it's popular keyword tool. As an SEO specialist, I use this tool daily, so I'm concerned about it's impact on my keyword research efforts. I reviewed the keyword planner (albeit quite quickly) and it doesn't seem to work as efficiently for SEO keyword research. I'm curious to get others thoughts on the following: The new keyword planner tool Will the new keyword planner tool be effective for SEO keyword research Are there other tools that you've used that have provided good keyword research data (and are they free or paid)
SERP Trends | | TopFloor2 -
Google Trends Hot Searches hourly historical data?
Is there a site that archives Google Trends' hourly Hot Searches data? I'd like to see if specific keywords were trending at a specific time yesterday. Is this data out there? Is there a different site I should be using for this info?
SERP Trends | | BostonWright0 -
How to get Google Results for Did You Mean | Showing results for
If someone misspells our company name in Google, how do I get google to display **Did You Mean: **xyz. Our company name is difficult to spell and could be spelled multiple ways. What is the trick to this?
SERP Trends | | hfranz0 -
Google news optimisation
Hello, Just opening a quick discussion to see what you guys think are the best practices and tips for Google news article optimisation? Looking forward to hearing your suggestions. Thanks, Elias
SERP Trends | | A_Q0