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 -
Sitelink (meta) descriptions in Google SERP
Hi, I am probably not the only one having this question regarding the quality of sitelinks in organic results. When your search returns sitelinks, I know the only thing you can do to avoid certain sitelinks to appear is to demote it for that search result. But what can you do about the description. For the main result you are pretty much able to create an appealing description, but when the sitelinks appear, all sitelinks display these crappy 'composed' descriptions. I've read Google did some tests a couple of years ago with multiple descriptions and multiple titles, but this doesn't cover the issue I just described. Is there a way to create 'sitelink descriptions'? Thanks in advance for your thoughts.
SERP Trends | | ConclusionDigital0 -
Create original content or Copy from several sources?
I own a site that that has about 15,000 pages that need some description content. I plan to hire someone to retrieve or create content for each of these pages on my site. each page needs about 500 words. I was thinking that there is probably three ways i can go about this. If I hire someone cheap I can probably have them copy data from about 20 different sites. using about 5 sources for each page description. I can hire someone that has some experience writing english content, and have them go to a few sites and then in their own words summarize the description on my site. I can hire a great content writer, have them do research on each page, and create completely unique content. I probably will do some combination of these 3 things. (great content writer on a few pages, since thats all i can afford to do) and the rest do the cheaper route. Is copying sentences from multiple sources a good idea? or does the content really need to be original?
SERP Trends | | moneymm220 -
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 -
Alternative to Google Analytics
.Hi, I was wondering if there is any alternative to Google Analytics (GA)? I was speaking to a SEO person who mentioned there are some analytics programs that give more info, was just wondering i that was true. How come some SEO's recommend staying way from GA nad their Webmaster tools? Jim
SERP Trends | | jimmy02250 -
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 -
Googl travel dates
I have just noticed, while checking where our hotel clients rank for certain keywords, and noticed a panel on the left hand side called Travel dates. There was a check in and check out option which could be populated manually or by using a drop down calendar. But there's no submit button or anything like that. What is this panel for, and can any benefit be had from it, because from what I can see it doesn't actually do anything (unless it's not displaying properly on my computer?
SERP Trends | | themegroup0 -
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