Question about setting up Google Analytics with Google Apps Marketplace - google-analytics

I'm not sure if this is the best place to ask this question but if theres anyone who would know this is SO. If not, where is the best place to ask this question?
At the bottom of vendor profile when you log in at http://google.com/appsmarketplace, there is a text box for you to insert your GA code.
Question: what does this do? What kind of stats am I expected to see in Google Analytics? I don't have the luxury of trial and error at the moment.

That field gives you analytics on visits to your Apps Marketplace's product page. Basically, for security reasons, Google doesn't let you add JavaScript to the page, but they provide the ability to specifically insert Google Analytics tracking.
There's a similar field on code.google.com (Google Code -- for hosting code source), the Chrome Web Store (for web apps), and non-Google sites too... this is standard practice when a website wants to let a third party embed their Google Analytics but doesn't want to give them the ability to add arbitrary JavaScript to the page.

Related

Track count of views,likes and comments in a community site

Can anyone tell me how can I track number of views,likes,comments and shares in a collaboration and community site. This is not a Google site. This site was created using lumapps. It's a collaboration site, Which works similar to Google+, where you can write a blog, post and like/ share the same. I need a way of keep tracking the likes/shares/views on such posts or blogs, So that I can display the same in Google data studio.
I heard it's possible using Google tag manager. Can anyone confirm this OR let me know about anyways of achieving the same.
Thanks and Regards
Kumar
You would do this by sending an event to Google Analytics and using this source in Data Studios.
Please see reference on how to send events using Google Tag Manager and custom Variables.
https://support.google.com/tagmanager/answer/6106716?hl=en

Embed Google Analytics existing dashboard

In the Google Analytics console I can easily create charts and add them to dashboards. But how can I display those charts or dashboards on a 3rd party website?
I've seen the Embed API, but it looks like the definition of the reports is always in the Javascript. Is it not possible to say something like display the dashboard that I already created which name/id is XYZ?
Or is there a way, when creating a report in Google Analytics, to get its definition so that I can easily use it? I saw Query Explorer but it doesn't help.
No you can not take the Google Analytics dashboard and display it on another website.
The best option there is to date is the Embedded API which you mentioned. Although it has its limitations. The Embedded API is designed to display a specific users Google Analytics Dashboard who ever is logged in. If you are trying to share the information from your account with other users it wont work unless they also have access to your Google Analytics account.
The Query Explorer shows you what the google Analytics API is capable of. You can develop your own tool to show this information to your users.

How can Google Analytics be used to track the different websites within a homegrown CMS?

I own and operate my own Content Management System (CMS) web application targeted at a specific type of customer (schools). Each customer wants to track the traffic to their own website. Of course, I could ask them to each create their own Google Analytics account and then provide me with the tracking ID so that my CMS can embed the correct code onto their pages. But I was wondering if there was a better way ... something more automated, and something that involves less work on their part.
I was thinking that for each customer, I could use the Google Analytics APIs to automatically create a new Property with the appropriate filter and then give the customer "Read & Analyze" permissions for that property. The problem with that is that I'm limited to creating 50 properties under my account.
Any other ideas? I'm just wondering if I'm missing some feature of GA that is specifically designed for this scenario.
Thanks,
Rajeev
Asking each user to create their own analytics account is the correct solution. Then they should just give your cms the id, and then your cms should include the correct analytics javascript code. It's the way all other cms systems supports Google Analytics

Why should i use google tag manager?

I attended a recent analytics conference and it was beaten into everyone that anyone capturing analytics data should be using google tag manager.
I understood that it was of primary value to those wanting to make changes/maintenance, without access to the code.
Since I'm a developer, we already define our analytics tracking code in one spot, for the entire site.
What are the benefits of using it for developers?
I think you would get a better response and discussion by asking it in either the Google Plus - Google Tag Manager Community (lots of devs, even Google's main GTM devs) or on the Google Tag Manager forum.

Google Analytics on non-public pages

Is good to place google analytics in pages like admistration, article edit page, ... ?
The reason why I use Google Analytics is to give important information to my clients about how their websites are being used. Because of that I wouldnt include the admin area of the website because it doesnt affect their sales or conversions.
By adding code into the admin zone you are inflating the total pageviews. If you really want to track this information then its not a disaster, you would just need to be sure to setup a profile which filters out these urls when making business decisions with your Analytics info.
Technically I think to use Google Analytics it is supposed to be on a free, public website but I guess having some of the pages locked isnt going to get your account closed.
Yes, it keeps stats on how often you or others use admin features. I also suggest that you use Google webmaster tools on them too.

Resources