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 -
Getting indexed by Google scholar
Often my Google Scholar alerts result in exactly what I think they will: scholarly articles published in academic journals. However, today I got this completely non-scholarly article https://www.t-nation.com/training/the-exact-reps-that-make-you-grow and I have no idea why Google Scholar is indexing this site. I've read up on how to get indexed by Google Scholar, and this website doesn't seem to have the necessary requirements. I'm curious for anyone whose clients or industry need to get indexed by Google Scholar, what has worked for you?
SERP Trends | | newwhy2 -
Is Google Knowledge Graph in Other Countries?
Hello, I have a website that receives international traffic from all over the world. A lot of our keywords that we go after unfortunately show up on google knowledge graph. I'm curious to know if KG is showing up in the google search engines for other countries for the keywords that my site goes after. Is there anyway to actually perform a test to see? Thanks!
SERP Trends | | thetimenow0 -
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 -
Tool to search for google ads from a competitor
Hello, I wonder if there is a tool where I can insert the webadress or an keyword and get as a result all the ads from the given webadress or keyword, showing up the real keyword, title and promotion text. Does someone has an idea if this kind of toll exist? Thanks for your answer. Kind Regards Mike
SERP Trends | | niceguyseo0 -
Print Advertisement Visit Tracking through Analytics
We put 2 different classified advertisements in printed publications and would like to track the visits to our website from each of the ads. For the ads, we used custom pages: www.domain.com/ad1
SERP Trends | | Motava
www.domain.com/ad2 We used a 301 redirect from these URLs to the homepage but it didn't record the visits to the custom URLs in google analytics and clicky (other analytics software). How do we set this up?0 -
Google Places - Overcoming a geographical disadvantage
We have done some work on the Google Place entry for this website: http://www.royalhoteliow.co.uk/ We have spent a lot of time ensuring we have consistent address information, to make sure we have a good number of citations, and have worked with the staff at the hotel to ensure that there is a regular stream of reviews coming into a variety of websites that we know are used by Google. However.... Our target searches are 'Isle of Wight Hotels' and 'Isle of Wight Hotel'. If you do a Google map search for 'Isle of Wight', it drops a pin in the middle of the Island, which is 30 miles by 20! The main areas for hotels on the Isle of Wight (dictated by tourism), are about 15 miles from where Google percieves the Isle of Wight is, in the coastal towns. So it seems that no matter how hard we try, in terms of citations and reviews, GP is always going to prioritise those close to the middle of the area. Anyone got experience of a similar issue, or got any suggestions?
SERP Trends | | MatrixCreate430 -
Google Places Optimisation
There are 2 parts to my question, Part 1 - Does anyone have any advice on how to optimize for google places and do you know of any good links to any resources on this topic? Part 2 - Is there a way to optimize feed submissions to shopping search engines like google base, shopzilla etc. Thanks
SERP Trends | | gregster10000