Google Analytics - Display event statistic publicly - api

I'm tracking downloads with Google Analytics trackEvent.
<a onclick="_gaq.push(['_trackEvent', 'Link', 'Download', 'Button']);" href="awesome.zip">Download now</a>
I would like to show the total downloads number publicly on my website. Is there a way to do that?

The short answer is yes, there is a way to show that on your website but it will require you to use the Google Analytics Core Reporting API: https://developers.google.com/analytics/devguides/reporting/core/v3/
I would provide a guide on how to do so but there are many ways and coding languages that you could use to do so and I am not sure what you are using!
You can find details of the Event Tracking Metrics/Dimensions here: https://developers.google.com/analytics/devguides/reporting/core/dimsmets/eventtracking

Related

Can I track if someone clicked a link on my Twitter post

I have a private business Twitter account and I would like to know when someone clicks any link inside one of my posts. This solution cannot assume that we know the form of the link being posted.
For example a twitter post like this:
Have you guys heard of this amazing site called google?
I would like to see how many people clicked on this google.com link. I don't need to know any specific information about who they are, just if it was clicked or not.
Ideally I would want this from the API but crawlers and plugins are also possible. I would like to avoid using a paid tool but those would be acceptable.
I think you have multiple choices:
Use google firebase or google analytics
Create your own short link services by python or any other programming languages.
Just search in the google and look for short link generators which gives appropriate service.
Hi using the twitter api you should be able to understand how many clicks a link has.
https://developer.twitter.com/en/docs/twitter-api/metrics
But to have all this info automated you might need to use a third-party tool.
This should be the most straight forward solution.

Google Analytics Tag - Non Standard Implementation

Google tag assistant shows non standard implementation for my google analytics tag. I have added the tag - (Google Analytics: Universal Analytics) in Google Tag Manager - with my correct Analytics tracking ID. I have placed my GTM installation tags properly and they are not showing any error on Google Tag Assistant.
I am using shopify and I have added my analytics ID in the store preferences as well (screenshot attached).
I want to know what's wrong with Analytics Tag, please refer to the screenshots and suggest any wayout. Thanks!
P.S I can post pictures here until I have 10 reputations points. Still Please help me by any means.

accessing google analytics data through an api

Does anyone know if it is possible to access any of google analytics data from the API?
I am using eCommerce and wanted to be able to pull out the best selling products into a most wanted list.
Does anyone know if this is possible and how it would be done?
Yes, the API is documented here:
https://developers.google.com/analytics/
HelloWorld example here:
https://developers.google.com/analytics/solutions/articles/hello-analytics-api

Hosting Google Plus Communities on My Website

Is it possible to embed a google community into a website page?
This way our clients can benefit from content and all other features in our website, yet be able to collaborate using Google Communities.
Ideally I would like to grab a Javascript code just like +1 button and paste it into my website page, add an iframe or something of this nature!
UPDATE:
Sounds like if I try to be convincing, I may be able to influence some decisions!
More details: Our website services offers login with Google using Google OAuth, This way the user is either logged in or is forced to login with Google to get access to private areas of our customer portal, where you can review the status of Support Tickets, submit new support tickets, have access to knowledge base, documents, blogs, etc.
We have incorporated all sort of social plugins into the blogs, product catalogs and so forth.
It would be fantastic is the users can have access to a community (Forum or Discussion Board) within the same place. Google Community seem to be the tool but in the wrong place.
No such widget exists at this time, but it's an interesting idea. If you want to share more details on precisely what you're looking for, you can file the issue here: https://code.google.com/p/google-plus-platform/. The more details you can provide, the more likely that, if we decide to implement this feature, we'll end up with something that you want.

Google API: show online contacts for Google Talk/Chat and Google Hangout

I might have overlooked this, but I'd like to implement Google Talk and Google Hangout on my site and I'm looking for some kind of (official, preferably PHP) API call that retrieves the online/offline contacts of a Google+ user. (similar to the list of online contacts next to Gmail)
Is this API functionality available and is it possible to provide the user with the option to select contact(s) to start a Google Hangout with?
To start, you're likely going to need to leverage a few different APIs. Since I cannot add a comment to ask questions, here's a recommended reading list based on my recent work with the Plus & Hangouts APIs:
Google Plus - https://developers.google.com/+/api/latest/people/list - Collect a list of people in your circles. This will not tell you who's online or offline. May be optional (see #2). Unfortunately, this call is not available yet in the PHP Client Library, so I created one for my personal project and am waiting on some vetting to submit it back to the Google project. If you're interested, I'd be happy to share.
Google Talk - https://developers.google.com/talk/ - Use that query the Talk service to see who's online and/or offline.
Starting a Hangout - Seems this discussion # the developer group is similar to your question and can best point you in a good starting direction. https://groups.google.com/forum/#!topic/google-plus-developers/r_f7iweZ7c8
Hope that helps & curious to hear how it goes!