Skip to main content

How to cloak a link to a PDF file on Google Drive

PDF files are not designed to be tracked. However, shortening PDF links allows you to monitor file clicks, views and downloads, which is invaluable in marketing and sales.

And with link cloaking you can mask the URL in order to protect the PDF file's original address.

How to upload a PDF file on Google Drive

  1. Access Google Drive from your personal Google account or from your business Google Workspace account.

  2. In the left panel click on My Drive:

    Google Drive left panel with My Drive option highlighted

  3. Click on + New to display the menu:

    Google Drive New menu with File upload option highlighted

  4. Click on File upload and select a PDF file from your device.

  5. After the successful upload click on to display the additional options:

    Google Drive context menu with Share option highlighted for a PDF file

  6. Click on Share->Share.

  7. In the Share dialog click on the arrow under General access and select Anyone with the link:

    Google Drive Share dialog with Anyone with the link option highlighted

  8. In the next screen click on Copy link and then on Done:

    Google Drive Share dialog with Copy link button highlighted

    The link is now copied and can be shortened and cloaked with Short.io.

For more information on the different types of Google Drive file sharing options please visit the following help page.

  1. Sign in to your Short.io account.

  2. Click on Branded links and select the domain which you want to use for link shortening/cloaking:

    Short.io Branded links page with domain selector and Paste URL field highlighted

  3. Add the copied Google Drive link of your PDF file in the Paste URL here field.

  4. In the next screen enter a name for your short link and click on Save:

    Link created dialog with slug name field and Save button highlighted

  5. Click on Close.

  6. Click on the pencil icon next to your shortened link:

    Branded links list with pencil edit icon highlighted next to a link

  7. In the Basic link editing panel replace the last part of the Original URL:

    view?usp=drive_link

    Basic link editing panel with Original URL ending in view?usp=drive_link highlighted

    with preview:

    Basic link editing panel with Original URL changed to end with preview and Save button

  8. Click on Save.

  9. Click on Link cloaking and set Cloaking enabled:

    Link Cloaking settings with Cloaking enabled toggle on and Save button

  10. Click on Save.

  11. Copy the cloaked link and paste it in your browser:

    Edit short link details panel with copy icon highlighted

    Result:

    Cloaked PDF link displayed in browser showing an invoice document

Enjoy PDF link cloaking with Short.io.