My Google calendar is syncing in Moodle now. The mistake I did earlier was to input the 'Public URL to this calendar' of the Google calendar in the 'Calendar URL' of Moodle. I read somewhere that one should use the 'Secret address in iCal format' shown below 'Integrate calendar'. It worked for me.
That worked, thanks Sanjay.
Adding the steps to obtain the "secret address in iCal format" as 09/2021.
Adding the steps to obtain the "secret address in iCal format" as 09/2021.
Create a new Google Calendar secret address
- Go to Google Calendar on your computer.
- Click the gear icon in the top right and select Settings.
- Click the name of the calendar for which you want to create the secret address from the left panel, under Settings for my calendars.
- Scroll to the Integrate calendar section and copy the link under Secret address in iCal format.