Google Calendar Ical URL for public calendar - google-calendar-api

If I can see a known public google calendar, am i able to figure out the ical feed for it? Or must they specifically provide a link to it that google generates?

the src address in an embed link - either email or calendar group account (randomhash#group.calendar.google.com) - is part of the ical url
https://calendar.google.com/calendar/embed?src=info#example.com
to
https://calendar.google.com/calendar/ical/info#example.com/public/basic.ics
This is not mentioned in googles official help article for sharing public calendars support/calendar#37083 as of writing, though I sent feedback.

Related

Track Newsletter Link Click with Google Analytics

I am partnering with an email newsletter to include some url links I'd like to advertise.
Can someone advise on how I might get "click" stats on these url links? The links neither redirect to my website/app, and are just links to, for example, a youtube video.
I've gone down the rabbit hole of Google's Campaign URL builder and Google tags, but am admittedly lost as a complete beginner regarding Google Analytics, tracking, etc, so any guidance would be greatly appreciated.
With Google Analytics, the only way you can track clicks within is if you leverage UTMs and drive traffic to a site or property that you own. I believe the UTMs might translate to YouTube account but, again, you have to own the video.
There are ways of leveraging Universal Analytics tags, in the form of pixels, that only measure when an email is opened (and the picture is essentially downloaded). But this doesn’t relate to clicks.
More than likely you will need to either use a dedicated email platform with built in analytics, or subscribe to an email analytics service. Google Analytics won’t really be of any value to you.

Google Analytics: install on static html

My question is same as the link :
How to use Google Analytics to track views of static HTML pages on file server?
It requires me to input the website with the http and https, but my static file is using local path,
how can I input the website URL?
Also, I cant find the tracking info under the property, so please help and thanks for answering the questions!
This URL is required but it is not decisive for the functioning and data collection in Google Analytics, so you can enter whatever you want to proceed with the setup.
You can find measurement ID by selecting the stream in Data stream.

How to find ownership of a Google Calendar

Some time ago, I created a Google Calendar at calendar.google.com using Chrome Browser, and made it public. This was a calendar in addition to the default calendar provided with every Google identity - let's call it calendarX. I then sync'd calendarX with my Thunderbird (Lightning) client, and am still using it today with Thunderbird, to create & view events.
I now need to know the address of calendarX, so that I can share the link with others. So I logged into calendar.google.com with (what I thought were) the credentials of the calendar owner - but calendarX is missing, no reference to it at all.
So maybe I used some other Google identity to create the calendar?
The only clue I have is the calendar properties in Thunderbird (Lightning). It shows:
googleapi://MYEMAIL#MYDOMAIN/?calendar=MYDOMAIN_dq0l2urbXXXXlj9gcn5o2en1bc%40group.calendar.google.com
Doesn't MYEMAIL#MYDOMAIN imply the ownership of calendarX? That's the Google identity I have checked, and calendarX does NOT appear when I log into calendar.google.com with that identity. The default calendar is there, but not calendarX.
So maybe it's owned by some other identity? How can I find out?
Or how can I find the address of calendarX?
Google Calendars can be found by simply logging in your CORRECT email address which was used to create it. There's no tricky process in that. Just make sure it's your email address and not a service account that was used.
As an Admin of the GSuite system, you can add any calendar to your own account. If you can find the calendar ID from a user who has access to the calendar by going into the calendar settings is the way I did it, you can just add the calendar to your account using the calendar ID URL, once it is in your account as a super admin you can see who created the calendar and you can change who has access and the rights. Very simple but not documented anywhere I could find.

How to read a public Google calendar from a mobile app without authenticating?

I need to read many Google public calendars from an iOS app. I don't want to require users to authenticate.
The docs and samples from Google all seem to assume an app is reading a user's private calendar, which naturally would require authentication.
I see something called a Service Account mentioned, but it's not obvious that it should be used in mobile apps.
I don't need to use one of the SDKs if I can just retrieve JSON from some URL.
This question has been asked on StackOverflow in the past, but I haven't found an answer which still works. Google changed their API in 2014.
How can I read a public calendar from a mobile app without authenticating?
The answer was given in the comments by #Mr.Rebot and #Vipin Sharma. Just use this URL:
GET https://www.googleapis.com/calendar/v3/calendars/{YOUR_CALENDARID}/events?key={Y‌​OUR_API_KEY}
One can get an API_KEY from the Google developer console. It's an option I overlooked at first.

Google CalDAV: access to shared calendars

Suppose I have been granted access to some other user's calendar. I can successfully view that calendar in the Google Calendar web UI under "Other Calendars".
Can that calendar be accessed via CalDAV? If so, how?
My CalDAV client starts looking at https://apidata.googleusercontent.com/caldav/v2 and authenticates via OAuth2. It follows the current-user-principal URL and from there to the calendar-home-set. In the calendar-home-set resource collection are the main calendar of the user and some virtual calendars (birthday/anniversaries of contacts, public holidays) but not the shared calendar.
You need to go to the syncselect page and choose the calendars you want synced through CalDAV: https://www.google.com/calendar/syncselect
It sounds like you have only read access to the calendar, and you should be able to access it directly via a GET with the URL found under "Other Calendars-> CALNAME -> Calendar Settings" click on the ICAL button (it contains the URL).
The URL will probably be something like: https://www.google.com/calendar/ical/foo.bar.com.calendar.google.com/public/basic.ics
If you are actually asking whether those calendars show up in the CalDAV "collection" of calendars, then I believe (without 100% certainty) that the answer is: No, they do not.

Resources