How can I check how often my readthedocs page was hit? - read-the-docs

I'm hosting a project ob github and use Sphinx and RTD to automatically convert and display my docs at RTD.
How do I add a page hit counter to my RTD page?

You can use Google Analytics to monitor your RTD documentation.
Here's the page in the RTD documentation:
Enabling Google Analytics on your Project
Quote from the link:
Read the Docs has native support for Google Analytics. You can enable it by:
Going to Admin > Advanced Settings in your project.
Fill in the Analytics code heading with your Google Tracking ID (example UA-123456674-1)
Once your documentation rebuilds it will include your Analytics tracking code and start sending data. Google Analytics usually takes 60 minutes, and sometimes can take up to a day before it starts reporting data.

Related

Where to paste google analytics tracking id if firebase is used for hosting the website?

I am setting my website to be advertised by google using google ads. In doing so I came across a section Set up analytics on your website there it showed two options out of which one is Sign in to your website builder, web hosting service, or commerce platform and paste your tracking ID into the analytics section.
I am using firebase hosting service for my website. So as mentioned I went to the analytics section of firebase but I am unable to understand where I have to paste the tracking id.
Please guide me.
If you have Firebase hosting, then you don't need to paste the tracking ID.
Just make sure you add a web app and link it with your current hosted application.
This might change overtime, but on the Firebase console, go to project settings, and scroll down till you see Your apps section. Add (if doesn't exists) a web app, and you should see a Linked Firebase Hosting site
Once linked, Analytics will start tracking metrics for you.
there is no need of going to firebase, google analytics can do it for you just go to their website navigate to your website and copy the javascript code and paste it just below the head tag

Get Google Drive video view count from Apps Script API?

I have a series of videos uploaded to a specific Google Drive folder, and I'd like to get the view count for each video/file. Literally as simple as "file_id" "10 views".
From extensive research, it seems this is quite simply impossible within Google Apps Script today? Per this old answer, both the Drive API and the Drive Activity API only report edit or comment activity, while view activity is ignored. The Reports API does support this, but only for users with Admin access in an Enterprise account (not for us plebes who just want to know view counts on our own files).
And per this Apps Script documentation, it seems that onOpen() triggers don't run for views (which blocks a "view_count + 1 on open of this specific file" sort of analytics).
Before I give up, I figured I'd run it past this brilliant community: am I missing anything? Is there some way to get view count on videos stored and accessed through Google Drive?
Answer:
You are correct in your findings that you can not get video view count information through the Drive API. You must use the Admin SDK to obtain this information.
Feature Request:
You can however let Google know that this is a feature that is important for access to their APIs, and that you would like to request they implement it.
Google's Issue Tracker is a place for developers to report issues and make feature requests for their development services, I'd urge you to make a feature request there. The best component to file this under would be the Google Drive component, with the Feature Request template.

Chrome Web Store extension download count

I made an app as an extension on Chrome Web Store. I would like to know the download count for my extension.
From the developer's dashboard I can access to Statistics, but the graphic starts in 21/5/2015 (three months ago) and the CSV file too.
How can I see the complete download history?
Creating a Google Analytics account using it to track installs is probably a pretty close estimate of downloads.
Once you create your Analytics account, you create a new property with the default URL being your extension page. For example, https://chrome.google.com/webstore/detail/<extension-name>/<extension-id>
Once you get your tracking id, add that to the edit page for your extension in the webstore developer dashboard.
Once you have done that go to the Analytics admin panel and on the right click Goals. Add a new Custom goal of Destination type for the RegEx match of /track_install/.*.
You can now add a graph of this goal completion to track installs.
Here is a comparison of the data collected by Google Analytics and the Statistics in the webstore developer dashboard.

import google analytics report in html page

I am having a requirement of showing google analytics report in the HTML page.I mean without login into Google Analytics , I have to show the report directly into the webpage.Is it possible ,kindly let me know how to do it.
Option 1:
Do some serverside scripting with your favourite programming language to draw data from the Google Analytics reporting API (https://developers.google.com/analytics/devguides/reporting/)
Option2:
Use Google Apps Script to pull data from you GA account. Create a graph from the data. Embed graph in Google Sites webpage. Embed Google Sites page in your site via iframe
Option3
Use Google Apps Script to pull data from you GA account. Create Json/XML-Feed via Apps Script. Pull Feed from Apps Script and parse it into your site via Javascript.
So it's doable (but not via Javascript alone without your visitors logging in to the GA Account in the Browser) but requires more programming than conveniently can be explained in a stackoverflow answer - maybe you could explore one of the options and then come back for specifics.

Search engine - App Engine

I have a newly created web application hosted in AppEngine (only HTML)
The question is, how can I make this page appear on Google Search Engine? Is this like the regular method (robot.txt, etc.) ?
Thanks!
There are two easy steps to notify Google about your new website
Create a sitemap for your static pages. You can use some on-line sitemap creator e.g. http://www.xml-sitemaps.com/
Create new account for your website in Google Webmaster Tools and add your newly created sitemap over there (Optimization > Sitemap).
You can also use Google Webmaster Tools to check status of your website indexing (Health > Indexing Status).
I hope that will help.
As mentioned above, one thing you could do is to add your website to Google Webmaster Tools (https://www.google.com/webmasters/tools/home)
If you have news on your website, you can also submit your content on
http://support.google.com/news/publisher/bin/topic.py?hl=en&topic=2484652
You can also submit your website to Google Analytics: http://www.google.com/analytics/
To check after a few days/weeks whether your site is crawled by google after the submission, type
site:yourwebsitename.com into the google search bar.
If you are further interested to add your site to Bing Search, try this link: http://www.bing.com/toolbox/submit-site-url