Track google calendar subscriptions - google-calendar-api

Is there a way to actively tell which email addresses or google/iCal accounts have added/subscribed to a google calendar? I would like to keep track of how many and which email addresses use it or if they have unsubscribed. Currently, users can add the calendar either to their google calendar or their iCal. I own this calendar and have full access to its features should this be required.

Related

Google Cal API - Sending invites that insert calendar event automatically on attendees calendars

I'm using:
POST https://www.googleapis.com/calendar/v3/calendars/calendarId/events
To create and post a google calendar event on attendees calendars.
It worked when I was using my personal gmail account. However, when I switched to a Google workspace business account it did not auto insert the calendar invite on the attendees calendar.
I've checked permissions for both accounts, but I cannot figure out why it worked for my gmail during testing but won't operate the same with a Google workspace email. Example:
michael#gmail.com = it worked.
michael#google.com = it did not work.
Anyone experienced with adding g cal invites onto attendees calendars? Do I need an additional parameter like visibility when using this API?
Thank you !
I was able to try this and it succeeded using my personal gmail address as the calendarId. But when I changed the calendarId to a business account it failed. And the calendar invites did not automatically appear on attendees calendars like they did with my personal gmail account as the calendarId.

Is there any way to set up google calendar such that invites come from an alias?

I use google calendar, but I send emails from an alias email there. When I send out calendar invites, it says it comes from my google email address. Is there any way to have this sent out "coming from" the alias email address?
Unfortunately, Google Calendar does not have a way to edit the email from where the invites are being sent. The invitation will only come from the primary email address.
It is a feature that has been requested for years as I was able to find a thread about the matter. Check How to use aliases in Google Calendar?
I always suggest to submit a feature idea through the Google Workspace if you have: Feature idea!
Make sure you have shared the calendar from the alias google account with your main google account so that both calendars show up on the main.
When creating a new event, there you should see a calendar icon. It should have a list of the "Shared Calendars". From here select the one you want the invite sent from and it will be sent on behalf of that alias account.
screenshot

Can I trigger google analytics events for a user from different environments?

We are trying to have a full view of user journeys through the web application we are developing. In the middle of the journey, there's no problem because it's more or less a traditional web application, but the beginnings and the end are not usual.
The journey begins with us sending email to the customers (don't worry, it's not spam). Is it possible to send events to Google Analytics about email being sent? I can include the UserID in those events. If I then implement user id in my web application, would I be able to correlate emails send to website visits?
At the other end of the journey, the conversions don't happen by the user that's being coverted but by a manager manually marking the user as converted in a sort-of admin-side to the web application. Can I then again inject the event that the user was converted with the appropriate UserID? Will Google Analytics then be able to map the whole journey? Do I need anything else?
The goal is for those events to end up mapped in the charts that look like this:
You'll need to do what you're asking in a CRM.
That said, I think what you CAN do is use campaign tracking and track the links in the email sent to the users. This way you'd know if they've acted on the emails or not.
Then you'd be able to track them on your site when they interact with the email. If there are CTAs on your site for the users to contact a manager to be converted, then you can track those as events, then set up goals around these events to see conversions.

how to google APIs for creating events on google calendar?

anybody know how to create and event on Google calendar using calendars api?
my users connect to my site using Google , I got a permission from them to write in their calendars then when user attend event on my site i need to crate an event on his/her calendar on gmail?
Checkout the full google calendar api
https://developers.google.com/google-apps/calendar/v1/developers_guide_javascript

Google Calendar API integration

My scenario is the following: We currently own an online rental marketplace that uses peer to peer bookings just like Airbnb. This means each user has a calendar for their property.We have a Vaway calendar for the bookings on our site however are wanting to integrate google calendar so we can be able to 2 way sync/asynchronous all the Ical calendars to each other from our partner sites who support it.
After much research I have tested my personal google calendar to see how the iCal works and it seems to work perfectly so we decided this architecture would need to be implemented on a much larger scale. This would be used in all new users signups to give our users an all in one calendar that syncs all our Partner sites into one completely synced google calendar for their listing. This basically allows a user who has their listing on 7 different platforms to sync to one calendar showing availability for them to keep track of inside Vaway account.
The google calendar would be completely separate from our Vaway calendar specifically to allow our users to sync all their property bookings from other sites into one integrated calendar.. The problem when reading about google calendar API is it requires OAuth 2.0 which is required user sign in from their existing google account (Calendar, Gmail...etc). Many of our users and new signups will not have google accounts and we do not want them to have to go through a google signup process to log into their calendar. Is there any way around OAuth 2.0? We really just need the functionality of the google calendar and its syncing capabilities inside our dashboard to give read write permission and sync back and forth 2 way with other calendars on other platforms.
With all of the features the google calendar has it seems to be perfect for what we are doing when testing. Each user that signs up with us will have google calendar in their Vaway dashboard provided by vaway however they will manage their own google calendar inside the Vaway platform for their property bookings. All calendars events/bookings would be public to allow the Ical syncing option to push through.
We do not want the users accessing this calendar outside of the platform because the pulls them away from the site. I'm not sure what solution would best suit this business model and am totally at my wits end here after researching. We are trying to keep our overhead low so google apps marketplace is not an option.
You really should reformulate your question, because it's really hard to read and understand right now.
But if I really get your question, you want to enable managing google calendar from a personal application without the end user having to log to any google personal account.
If this is clearly what you want to do, I suggest you to have a look to Service Account with OAuth2.0.
(See here : https://developers.google.com/accounts/docs/OAuth2#serviceaccount)
It will provide a service account for your application, from which you will be able to handle calendars for your app.
And here you will find a sample showing how to do it with Java. (https://code.google.com/p/google-api-java-client/wiki/OAuth2#Service_Accounts)

Resources