# How to configure Short.io with HubSpot analytics

Copy for LLM[View as Markdown](/articles/integrations-and-extensions/integrations-via-segment/how-to-configure-short.io-with-hubspot-analytics-segment.md)

HubSpot is a large-scale service that provides with Marketing, Service, Sales and CRM Hub. The Marketing Hub lets track the entire funnel in one place and conduct the success of the content.

Follow the instructions:

**1.** Go to your [Segment workspace.](https://app.segment.com/workspaces)

**2.** Add a source app.

![Segment overview page with Add Source button](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-1-a290c736-2496c6c8a6a30bef4e2f9225ab967a66.png)

**3.** Connect the Website — JavaScript mode.

![Segment catalog showing JavaScript source option](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-2-bcb08835-c7bf1ceb889a4aa00e40306defc8758c.png)

**4.** Add the Short.io website URL.

![Segment source setup form with Short.io URL](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-3-47983df1-8f0794f49d356388fc002d0f53a98ee9.png)

**5.** Choose Settings.

![Segment source overview highlighting Settings tab](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-4-4feb1eac-14c869e257d021bb7e66006f2f4e2f3a.png)

**6.** Click API Keys.

![Segment Settings page with API Keys link highlighted](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-5-75c44119-2d36ba8e5f007c836ff1d20e7488a739.png)

**7.** Copy an API Key.

![Segment API Keys page showing Write Key](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-6-ef6b8af4-008eb0c866f55dcfe0a0fda1ae140910.png)

**8.** Go to your [Short.io account.](https://short.io/)

**9.** Open the Tracking & Retargeting tab.

![Short.io dashboard with Tracking and Retargeting tab](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-screenshot2020-07-16at20317pm-2eb83e9a-51892e2a5211746562d7ef948f6684bd.png)

**10.** Paste the API Key to Segment field and save.

![Short.io Tracking page with Segment Write Key field](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-8-cdd2dab1-6e84ffa5b534c10e94db863871da9f8a.png)

**11.** Add a Destination app.

![Segment overview page with Add Destination button](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-9-dd7aa3a0-8319067ce38ed9b42b82c3b2d0c7b083.png)

**12.** Look for HubSpot and choose it.

![Segment catalog search results showing HubSpot](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-1-ce7f9f9f-f94f650077ebf44ec17d1d0a682d48ad.png)

**13.** Configure HubSpot.

![Segment HubSpot destination page with Configure button](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-2-7e7cc430-a2e329fb43a73b81b4b6ce7e3d91443e.png)

**14.** Choose the source and confirm.

![Segment HubSpot source selection with Confirm button](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-3-95da9bd6-f2fc77a122115b6a825278335d78c5a7.png)

**15.** You need to provide two required options: API key and Hub ID.

![Segment HubSpot settings showing API Key and Hub ID fields](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-screenshot2020-07-16at124103pm-2069585e-6d51c699cef8fecc7c8f0acc4afad2e4.png)

**16.** API key: You can request your API Key from HubSpot. Please follow the [help center article](https://knowledge.hubspot.com/articles/kcs_article/integrations/how-do-i-get-my-hubspot-api-key). It should look something like this: `dfdbfe6f-e7bf-4938-8e82-7d1938e48ab8`

Paste the API key and Save.

![Segment HubSpot settings with API Key entered](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-screenshot2020-07-16at124311pm-2b1c6e56-11b7098713c9ec6fd820520622c2ab8b.png)

**17.** Hub ID: You can find your Hub ID on the **Settings** page of your [HubSpot account](http://help.hubspot.com/articles/KCS_Article/Account/Where-can-I-find-my-HUB-ID). It should be a series of numbers, like `997086`.

Specify the Hub ID > Save.

![Segment HubSpot settings with Hub ID entered](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-screenshot2020-07-16at124423pm-3d2cb1f3-d22e286f1c295127101fbe20731bd5e2.png)

**18.** Turn on the integration.

![Segment HubSpot settings with integration toggle enabled](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-turn-on-86f39a8f-bb7c98e8c83c596d55ad5d8c407844fb.png)

**19.** Go to your [Marketing Hub on HubSpot.](https://www.hubspot.com/products/marketing)

**20.** Open Reports > Dashboard.

![HubSpot Reports menu with Dashboards option](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-7-bb3b9e8e-2e2b104b09fa314c7148ad981d8a66b9.png)

**21.** Add any dashboard. As for the example, let's choose the Marketing dashboard.

![HubSpot Create dashboard panel with Marketing template](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-screenshot2020-07-16at125401pm-f28c519e-e01e4aa8dc263beca912194cee57e3eb.png)

**22.** The example of tracked success is the number of sessions (redirects) to your short links.

![HubSpot report settings showing sessions data](/assets/images/integrations-via-segment-how-to-configure-short.io-with-hubspot-analytics-segment-screenshot2020-07-16at125530pm-905a53cf-4f2d821c29d6bd8e1e0c866a3323c26f.png)
