# Google Shortlink

Google Shortlink component allows you to shorten your long links using the goo.gl service.

* [Got Response](#got-response)
* [Short to URL](#short-to-url)
* [URL to Short](#url-to-short)
* [API Key](#api-key)

### Events

#### Got Response

![](https://2210308116-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L8fYW7L3BwD6b6qtcZU%2F-L8fYWYUH7V44NtENovf%2F-L8fYj-9JP1zZrSClLAZ%2Fgot-response.png?generation=1522222965491951\&alt=media)

## When the shortlink comes from the Google Server.

## Methods

#### Short to URL

![](https://2210308116-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L8fYW7L3BwD6b6qtcZU%2F-L8fYWYUH7V44NtENovf%2F-L8fYj-M6dGOUwhb-B7R%2Fshort-to-url.png?generation=1522222963740312\&alt=media)

To get the long URL out from a short one.

#### URL to Short

![](https://2210308116-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L8fYW7L3BwD6b6qtcZU%2F-L8fYWYUH7V44NtENovf%2F-L8fYj-YaU54k2r7Yy5Q%2Furl-to-short.png?generation=1522222963564503\&alt=media)

To shorten a link using the goo.gl service.

### Properties

#### API Key

![](https://2210308116-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L8fYW7L3BwD6b6qtcZU%2F-L8fYWYUH7V44NtENovf%2F-L8fYj-mfG_R2l2iFgwR%2Fapi-key.png?generation=1522222964053871\&alt=media)

To set the Google Shortlink API Key.
