How to get LinkedIn Pages data into Google Sheets

LinkedIn is used by marketers to connect with others, to discuss and share news about their industries, as well as advertise their services. In order to track the success of these social media posts, social media managers use Google Sheets to access these posts in raw form.

Installing Two Minute Reports (TMR) is an easy and efficient way to immediately access these insights. With TMR, you get a full overview of your company page insights without writing a single line of code. All you have to do is choose the metrics data you like to view and the raw data will be exported to your sheet.

Step 1: Install and Launch Two Minute Reports

Install Two Minute Reports, if you have not done already.

Sign in to any Google Sheet and go to Add-ons -> Get add-ons.

Search for Two Minute Reports and select Install.

Review and accept the permissions necessary to run Two Minute Reports. Two Minute Reports will be installed for you with the e-mail you are sign in to Google Sheets.

Open Google Sheets and go to Extensions -> Two Minute Reports -> Launch.

Step 2: Connect LinkedIn Pages to Google Sheets


The example below is for LinkedIn Pages. Two Minute Reports also allows you to connect with other data sources.

You can add your data source by going to the Data Sources section. Click on Add +.

Select LinkedIn Pages data source from the Social Media section. Or type it in the search bar.

You will be prompted to sign in with a LinkedIn account. Click the blue Login with LinkedIn button.

If you get an error message do check if you have signed in with the correct LinkedIn account. After adding Data Source you can add as many queries as you need, to get data using the same.

Step 3: Getting LinkedIn Pages data in Google Sheets

Once you have added a Data Source you can access it from any Google Sheets spreadsheet, you just need to open Two Minute Reports and create a new query.


Query configuration is a setting in Two Minute Reports. It’s where you need to choose which account to get data from and other configurations from that data source.

To pull analytics data you can add a query by going into the Data Queries section. Upon clicking Add in the Data Queries section you will be prompted to name your query and select a Data Source.

Name your query and select the LinkedIn Pages Data Source from the previous section. Select the Sheet where you want to save the data.

Once the required Data Source is selected you will get dropdowns with Metrics and Dimensions. At this point you may select the metrics you need. You can also select additional Sort and Filters based on the metrics and other data points you added.

You can also select Data Options whether you want to Include missing time values or Replace blank metrics with zeros. This means metrics are still being reported as zero values. No header row is selection whether you want to have a header for the report or not. Selecting Append new data means that the old data will not be replaced.

Select the required fields and press Run query. Data will be pulled from LinkedIn and populated in the Sheet that you selected as shown below.

You may also select Two Minute Reports template if you prefer to use ready-made reports with your data. If you want to learn more about Two Minute Report’s templates, you can read How to use templates for Google Sheets.

Once a query is added, you can make it refresh the latest data automatically by going to the Schedule Refresh section and adding a schedule.

Step 4: (Optional) Schedule Automatic data Refresh and email

Once you have fetched data once, you might want to get new data from your database at periodic intervals. You can do this creating a new schedule under the “Schedule Reports” section. You can schedule updates hourly, daily, weekly or monthly based on your needs.

You could also create a report and ask Two Minute Reports to email that report with updated data automatically. Under the email section enter the email Id of the recipients and save your new schedule.

When the time comes, Two Minute Reports will automatically fetch new data from your queries, and email your report to the said recipients. You have freed a lot of your time from mundane reporting tasks.

There are other features with Two Minute Report’s schedule refresh or data refresh feature. You may read our guide How to Refresh Data Automatically in Google Sheets.

Was this helpful?