Connecting Klipfolio to Alexa

You can set up a connection between Klipfolio and your Alexa data to display your web trafic metrics on a dashboard.

This article includes:

What options do I have for visualizing my Alexa data?

Create data visualizations based on pre-built options or build your own. The choice is yours!

Pre-built by Klipfolio

In collaboration with industry experts and adhering to current best practices and trends, Klipfolio focuses on getting the most out of your data and presenting it in meaningful, actionable visualizations. Our pre-built content, including pre-built data sources and pre-built Klips can act as a complete solution or as a starting point toward custom building.

  • Alexa pre-built data sources: Data sources provide the foundation for Klip building, so we suggest you create a data source as a first step (before building Klips and adding them to your dashboard). Our pre-built data sources focus on the most sought-after Alexa data and are found on the Service Connectors page, available from this link or from your list of data sources. When you select a service connector from this page, the data source for that service is automatically added.
  • Alexa pre-built Klips: Pre-built Klips enable you to quickly set up a dashboard using predefined visualizations that display common key metrics. Pre-built Klips are found in the Klip Gallery or, for White Label customers, in the Integration Gallery.

Custom-built by you

Taking the time to learn how to create your own data sources and Klips unlocks your data and enables you to control, manipulate, and transform it, leading you to unprecedented insights into your business.

  • Custom data sources: When you create a custom data source, you can either use the pre-built data source as a starting point from which to write your own query or you can write your own queries from the ground up and build a data source from scratch. You create custom-built data sources from the Service Connectors page, accessible from this link or from your list of data sources.
  • Custom Klips: Using our Klip Editor, you can construct and manipulate your data, including integrating multiple data sources, to produce unique, custom-built data visualizations. You create custom Klips from either your list of Klips or your Dashboard.

Regardless of whether you choose pre-built, custom-built, or a combination of both, before you can start building Klips and dashboards you need to connect to Alexa data in Klipfolio.

How do I connect to Alexa data in Klipfolio?

To connect your Alexa data to Klipfolio, you will need your Access Key ID and Secret Access Key.

To get the right data from Alexa, you use your Access Key ID and Secret Access Key in the queries provided by Klipfolio or in your own query when building data sources.

How do I find my Access Key ID and Secret Access Key?

To find your Access Key ID and Secret Access Key:

  1. Open your AWS Management Console in a new tab.
  2. In the console, click the drop-down arrow beside your Company Name and select My Security Credentials.
  3. On the Security Credentials page, select Access Keys (access key ID and secret access key).
  4. Click Create New Access Key to generate a new Access Key ID and Secret Access Key and click Download Key File to save your access keys to your device.
    Note: While you can view your Access Key ID in your account at any time, your Secret Access Key is only displayed once. If you forget your Secret Access Key, you may need to create a new set of access keys and record your new Secret Access Key for future use.  You may need to create an IAM User to be able to retrieve a Secret Access Key.
  5. Copy your Access Key ID and Secret Access Key into Klipfolio.

How do I add an Alexa pre-built data source?

To add an Alexa pre-built data source:

  1. Navigate to the Service Connectors page in Klipfolio and choose Alexa from the list.
  2. Select a pre-built data source from the left section of the Choose a pre-built or custom connection page.
  3. On the Configure your data source page, enter your Access Key ID, Secret Access Key, and your URL in the appropriate fields.
  4. Click Get data or, if you want to modify the pre-built data request, click Switch to Custom settings.
    Note: If you switch back to the Basic settings page after making changes in the Custom settings page, your changes will not be saved.
  5. Ensure this is the data you’re looking for and, optionally, select the checkbox to Model your data. Learn more about modelling your data source here.
  6. Click Continue.
  7. Name, choose refresh settings, and, optionally, share your data source.
  8. Click Save.

If you clicked Switch to Custom settings:

  1. On the Configure your data source page, modify the Query URL to get the data you want. You can use the existing information in the Query URL text box as a base. It was auto-filled based on the pre-built data source you selected on the Choose a pre-built or custom connection page.
    Note: If you modified the information in the Query URL field (above), ensure the information in the Value field aligns with those changes. Click here for an example.
  2. Click Get data.
  3. Ensure this is the data you’re looking for and, optionally, select the checkbox to Model your data. Learn more about modelling your data source here.
  4. Click Continue.
  5. Name, choose refresh settings, and, optionally, share your data source.
  6. Click Save.

How do I add Alexa pre-built Klips?

In the Klip Gallery or, for White Label customers, in the Integration Gallery you can browse individual Alexa pre-built Klips and add them to your dashboard. You replace the sample data that is included in pre-built Klips with your own Alexa data by clicking the menu in the Klip and selecting Connect your data.

How do I create an Alexa custom-built data source?

To create an Alexa custom-built data source:

  1. Navigate to the Service Connectors page in Klipfolio and choose Alexa from the list.
  2. On the Choose a pre-built or custom connection page, click Create a custom Alexa data source.
  3. Adjust the Query URL information, as noted on the Configure your data source page, to replace any generic placeholder query information with your own.
    For example, replace <yourURL> with your URL. Refer to the Alexa API documentation for details.
  4. Under Query Parameters, at Value replace any generic placeholder query information with your own.
    For example, replace <yourAccessKeyID> with your Access Key ID.
    Note: If you modified the information in the Query URL field (above), ensure the information in the Value field aligns with those changes.
    For example, if your Query URL is:
    https://awis.amazonaws.com/api?Action=UrlInfo&ResponseGroup=Rank&Url=<yourUrl>
    Ensure your encoded header also contains
    Action=UrlInfo&ResponseGroup=Rank&Url=<yourUrl>

    Note that the details are given in alphabetical order (for example, Action= comes before ResponseGroup=).
  5. Click Get data.
  6. Ensure this is the data you’re looking for and, optionally, select the checkbox to Model your data. Learn more about modelling your data source here.
  7. Click Continue.
  8. Name, choose refresh settings, and, optionally, share your data source.
  9. Click Save.

How do I create an Alexa custom Klip?

You create custom Klips from either your list of Klips or your Dashboard. You choose a data visualization format, for example, a pie chart, gauge, or table, and decide whether you want to use an existing data source or create a new one. In the Klip Editor, there are limitless opportunities to modify, relate, and display your data. See the following related articles for more information and get building!

More about Alexa's API and queries

Klipfolio connects to hundreds of services in the cloud that have a REST API. If you take the time to learn your service’s API to create queries for the data you want, your possibilities are endless. Here’s a quick overview video on APIs and Klipfolio:

Klipfolio API's 101

If you need assistance using APIs, enlist a data analyst or developer.

Refer to the Alexa API documentation to discover more data requests.

See the reference table below for API related information and sample queries.

API Documentation Alexa API documentation

Authentication Method

API Key Authentication
Response Format XML

Date Format

Example date format:

"yyyyMMdd"

Sample Queries

Average Rank:

GET https://awis.amazonaws.com/api?Action=UrlInfo&ResponseGroup=Rank&Url=<yourURL> Authorization:AWS4-HMAC-SHA256 Credential=<yourAccessKeyID>/{date.tz("utc").today.format("yyyyMMdd")}/<AlexaRegion>/awis/aws4_request, SignedHeaders=host;x-amz-date, Signature={hash.signAWSv4Request("<yourSecretAccessKey>","Action=UrlInfo&ResponseGroup=Rank&Url=<yourURL>",date.tz("utc").today.format("yyyyMMdd'T'HHmmss'Z'"),"awis.<AlexaRegion>.amazonaws.com", "/api", "", "<AlexaRegion>")} Content-Type:application/xml Accept:application/xml X-Amz-Date:{date.tz("utc").today.format("yyyyMMdd'T'HHmmss'Z'")}

Related articles

Have more questions? Submit a request