Short.io provides link cloaking for replacing a long URL with the short one in the browser address bar. For example, the link like "https://calendar.google.com/calendar/u/0/r/settings/calendar/YWRkcmVzc2Jvb2sjY29udGFjdHNAZ3JvdXAudi5jYWxlb" is replaced with "https://yourdomain.com/business-cal". The feature's purpose is to hide possibly important parts of links like UTM parameters, affiliate code.
The most frequently cloaked websites among Short.io users are:
- Typeform.
- Cognitoforms.
- Formsite.
- Google Services.
- Zoom.
- Amazon S3.
- Youtube.
If you are trying to cloak links with these services, the error "Cloaking is forbidden by destination URL with X-Frame-Options header" may occur. The main reason for its inception was to provide clickjacking protection. This includes a page rendering in a frame, iframe, or object. Iframes are used to embed and isolate third-party content into a website.
Google Calendar forbids link cloaking. Sometimes you inevitably need to hide Calendar's links because of the important information behind it. For this you need:
1. Go to Google Calendar.
2. Click Settings.
3. Choose the necessary calendar.
4. Extract the link from the embed code from the src value.
Example:
iframe src="https://calendar.google.com/calendar/htmlembed?src=addressbook%23contacts%40group.v.calendar.google.com&ctz=America%2FNew_York" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe
5. Shorten a link > Cloak it.
This way, the link will be shortened, and you will successfully hide important values.
What did you learn?
- shorten links for Google Calendar
- x-frame error
- how to hide links
- link cloaking
- google calendar embed link
Read also: