> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Bitly Connector

## Intro

Bitly is a URL-shortening, bookmarking service, and link-sharing platform.  To learn more about the Bitly API, visit their website ([https://dev.bitly.com/v4\_documentation.html](https://dev.bitly.com/v4_documentation.html "https://dev.bitly.com/v4_documentation.html") ).

The Bitly connector is a "Cloud App" connector, meaning it retrieves data stored in the cloud. In the Data Center, you can access the connector page for this and other Cloud App connectors by clicking **Cloud App** in the toolbar at the top of the window.

You connect to your Bitly account in the Data Center. This topic discusses the fields and menus specific to the Bitly connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in [Adding a DataSet Using a Connector](/s/article/360042926274 "Adding a DataSet Using a Connector").

<table class="mt-responsive-table" data-aura-rendered-by="33:206;a"><tbody><tr><td class="mt-noheading" colspan="1" rowspan="1"><p><b> Primary Use Cases </b></p></td><td class="mt-noheading" colspan="1" rowspan="1"><p> Retrieving data about link statistics (such as number of clicks, countries providing click traffic, etc.) </p></td></tr><tr><td class="mt-noheading" colspan="1" rowspan="1"><p><b> Primary Metrics </b></p></td><td class="mt-noheading" colspan="1" rowspan="1"><ul><li><p> Number of clicks </p></li><li><p> Number of encoders </p></li><li><p> Countries providing the most traffic </p></li></ul></td></tr><tr><td class="mt-noheading" colspan="1" rowspan="1"><p><b> Primary Company Roles </b></p></td><td class="mt-noheading" colspan="1" rowspan="1"><p> Marketing analysts </p></td></tr><tr><td class="mt-noheading" colspan="1" rowspan="1"><p><b> Average Implementation Time </b></p></td><td class="mt-noheading" colspan="1" rowspan="1"><p> Less than 1 hour </p></td></tr><tr><td class="mt-noheading" colspan="1" rowspan="1"><p><b> Ease of Use (on a 1-to-10 scale with 1 being easiest) </b></p></td><td class="mt-noheading" colspan="1" rowspan="1"><p> 2 </p></td></tr></tbody></table>

## Prerequisites

To connect to your Bitly account and create a DataSet, you must provide credentials for Bitly, Facebook, or Twitter.

## Connecting to Your Bitly Account

This section enumerates the options in the **Credentials** and **Details** panes in the Bitly Connector page. The components of the other panes in this page, **Scheduling** and **Name & Describe Your DataSet**, are universal across most connector types and are discussed in greater length in [Adding a DataSet Using a Connector](/s/article/360042926274 "Adding a DataSet Using a Connector").

## Credentials Pane

The Domo Bitly connector uses OAuth to connect, so there is no need to enter credentials within Domo. Click **Connect** (or select **Add Account** if you have existing Bitly accounts in Domo) to open the Bitly OAuth screen where you can sign in to Bitly using Bitly, Facebook, or Twitter credentials.

Once you have entered valid Bitly credentials, you can use the same account any time you go to create a new Bitly DataSet. You can manage connector accounts in the **Accounts** tab in the Data Center. For more information about this tab, see [Manage Connector Accounts](/s/article/360042926054 "Manage Connector Accounts").

## Details Pane

This pane contains a primary **Report** menu, along with various other menus and fields which may or may not appear depending on the report type you select.

<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:206;a"><thead><tr><th colspan="1" rowspan="1"><p> Menu </p></th><th colspan="1" rowspan="1"><p> Description </p></th></tr></thead><tbody><tr><td colspan="1" rowspan="1"><p> Report </p></td><td colspan="1" rowspan="1"><p> Select the Bitly report you want to run. The following reports are available: </p><table border="1" cellpadding="1" cellspacing="1"><tbody><tr><td colspan="1" rowspan="1"><p><b> Report Name </b></p></td><td colspan="1" rowspan="1"><b> Description </b></td></tr><tr><td colspan="1" rowspan="1"><p> Bitlink By Group </p></td><td colspan="1" rowspan="1"> Returns the paginated collection of Bitlinks for a Group. </td></tr><tr><td colspan="1" rowspan="1"><p> Campaigns </p></td><td colspan="1" rowspan="1"> Returns the campaigns for the current user. </td></tr><tr><td colspan="1" rowspan="1"><p> Channels </p></td><td colspan="1" rowspan="1"> Returns the channels available to a user. </td></tr><tr><td colspan="1" rowspan="1"><p> Click Count </p></td><td colspan="1" rowspan="1"> Returns the click counts for the specified Bitlinks. This returns an array with clicks based on a date. </td></tr><tr><td colspan="1" rowspan="1"><p> Custom Bitlinks </p></td><td colspan="1" rowspan="1"> Returns the details and history of the specified custom Bitlinks. </td></tr><tr><td colspan="1" rowspan="1"><p> Groups </p></td><td colspan="1" rowspan="1"> Returns a list of groups. </td></tr><tr><td colspan="1" rowspan="1"><p> Link Clicks </p></td><td colspan="1" rowspan="1"> Returns the number of clicks for a given Bitlink. Returns the click counts for the specified Bitlink. This rolls up all the data into a single field of clicks. </td></tr><tr><td colspan="1" rowspan="1"><p> Link Countries </p></td><td colspan="1" rowspan="1"> Returns metrics about the countries referring click traffic rolled up to a Group. </td></tr><tr><td colspan="1" rowspan="1"><p> Link Referres By Domain </p></td><td colspan="1" rowspan="1"> Returns metrics about the pages referring click traffic to a given Bitlink, grouped by referring domain. </td></tr><tr><td colspan="1" rowspan="1"><p> Organizations </p></td><td colspan="1" rowspan="1"> Returns a list of organizations. </td></tr><tr><td colspan="1" rowspan="1"><p> Organization Shorten Counts </p></td><td colspan="1" rowspan="1"> Returns all the shorten counts for a specific organization. </td></tr><tr><td colspan="1" rowspan="1"><p> Referring Domains </p></td><td colspan="1" rowspan="1"> Returns the click counts to a referrer about a single Bitlink. </td></tr><tr><td colspan="1" rowspan="1"><p> Referring Network </p></td><td colspan="1" rowspan="1"> Return metrics about the referring network click traffic rolled up to a Group. </td></tr><tr><td colspan="1" rowspan="1"><p> Shorten Counts </p></td><td colspan="1" rowspan="1"> Return all the shorten counts for a specific group. </td></tr><tr><td colspan="1" rowspan="1"><p> User Countries </p></td><td colspan="1" rowspan="1"> Returns metrics about the countries referring click traffic rolled up to a Group. </td></tr></tbody></table><p /></td></tr><tr><td colspan="1" rowspan="1"><p> Group GUID </p></td><td colspan="1" rowspan="1"><p> Select the group GUID. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Bitly Links </p></td><td colspan="1" rowspan="1"> Enter the Bitly links for which you want to retrieve the information. One link per line. For example, <a href="http://bit.ly" rel="noopener" target="_blank"> bit.ly </a> /\*\*\*\*\*. </td></tr><tr><td colspan="1" rowspan="1"><p> Granularity </p></td><td colspan="1" rowspan="1"> Select the time unit. When the unit is minute, then the data for the last 60 minutes will be returned. </td></tr><tr><td colspan="1" rowspan="1"><p> Report Dates </p></td><td colspan="1" rowspan="1"> Specify whether the data in this report is for a single date or a range of dates. </td></tr><tr><td colspan="1" rowspan="1"><p> Include Archived BitLink </p></td><td colspan="1" rowspan="1"> Select this checkbox if you want to Include Archived BitLink. </td></tr><tr><td colspan="1" rowspan="1"><p> Include Deep BitLink </p></td><td colspan="1" rowspan="1"> Select this checkbox if you want to Include Deep BitLink. </td></tr><tr><td colspan="1" rowspan="1"><p> Include Custom BitLink </p></td><td colspan="1" rowspan="1"> Select this checkbox if you want to Include Custom BitLink. </td></tr><tr><td colspan="1" rowspan="1"><p> Custom Bitlinks </p></td><td colspan="1" rowspan="1"> Enter the custom bitlink of the domain and keyword. </td></tr><tr><td colspan="1" rowspan="1"><p> Single date - Relative - <b> Days Back </b></p></td><td colspan="1" rowspan="1"><p> Select which day you want to receive the data, by entering a number relative to today. </p><p> For example, enter 0 for today, 1 for yesterday, or 7 for 7 days ago. </p><p> This field appears when you select the Report Dates as <b> Single date </b>. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Date range - Start Date - <b> Days Back </b></p></td><td colspan="1" rowspan="1"><p> Select from which day you want to start receiving the data for by entering a number relative to today. </p><p> For example, enter 1 for a start date of yesterday, 7 for a start date of 1 week ago, and 30 for a start date of 1 month ago. </p><p> This field appears when you select the Report Dates as <b> Date range </b> and the Start Date as <b> Relative </b>. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Date range - End Date - <b> Days Back </b></p></td><td colspan="1" rowspan="1"><p> Choose which day you want to stop receiving the data for by entering a number relative to today. For example, enter 0 for an end date of today, or 1 for an end date of yesterday. </p><p> This field appears when you select the Report Dates as <b> Date range </b> and the End Date as <b> Relative </b>. </p></td></tr><tr><td colspan="1" rowspan="1"><p> Time Period </p></td><td colspan="1" rowspan="1"> Select the time period for which you want to receive the data. </td></tr><tr><td colspan="1" rowspan="1"><p> Unit </p></td><td colspan="1" rowspan="1"> Select whether data should be broken down by day, by hour, by week, etc. </td></tr><tr><td colspan="1" rowspan="1"> Number of Units </td><td colspan="1" rowspan="1"> Enter the number of units of the selected time unit that should be returned. For example, if you selected <b> Month </b> as the <b> Unit </b> and entered <span class="mt-font-courier-new"> 3 </span> for <b> Number of Units </b>, data would be returned for the last 3 months. If you enter <span class="mt-font-courier-new"> -1, </span> all units of time are returned. </td></tr><tr><td colspan="1" rowspan="1"><p> Time Zone </p></td><td colspan="1" rowspan="1"> Enter the desired time zone. You can enter this as an integer hour offset from UTC (from <span class="mt-font-courier-new"> -14 </span> to <span class="mt-font-courier-new"> 14 </span> ) or as an actual time zone name. This defaults to Eastern Standard Time. </td></tr><tr><td colspan="1" rowspan="1"><p> Roll Up </p></td><td colspan="1" rowspan="1"> Choose whether to return data for multiple units rolled up to a single result instead of a separate value for each period of time. </td></tr></tbody></table>

## Other Panes

For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see [Adding a DataSet Using a Connector](/s/article/360042926274 "Adding a DataSet Using a Connector").
