AnalyticsAI
Connect to your Google Analytics™ and get data with AI using simple prompts.
Connect to your Google Analytics™ and use simple prompts to fetch data with AI. Simply provide the project ID, list of requested metrics, start date, and end date. Compatible with metrics and dimensions. If no data is available, verify metric and dimension compatibility or try different metrics.
How to
Comments (0)
Try it
API docs
Learn how to use AnalyticsAI effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "Fetch data from Google Analytics for property ID ABCD1234, from 01-01-2022 to 31-01-2022, with metrics sessions, users, and bounce rate."
-
Prompt 2: "Get the list of Google Analytics properties with their property IDs."
-
Prompt 3: "Retrieve the metadata of available metrics and dimensions for property ID XYZ9876."
Features and commands
Feature/Command | Description |
---|---|
chat | This command is used to fetch data from the Google Analytics Data API. You need to provide a text message that includes the property ID number, start date, end date (in DD-MM-YYYY format), and the requested metrics. |
get_properties | This command retrieves the list of Google Analytics properties along with their property IDs. |
get_metadata | This command fetches the metadata of available metrics and dimensions for a specific Google Analytics property. You need to provide the property ID as a parameter. |
For AI
Nameanalyticsai
DescriptionThis plugin enables fetching data from the Google Analytics Data API v1 using simple text prompt (example: 'project id: XXXXXXXXX', 'list of requested metrics: bounce rate, sessions, users', 'start date: DD-MM-YYYY', 'end date: DD-MM-YYYY'). Using the 'get_property' function to fetch the property ID. Then, use the 'chat' function to fetch the data. Provide a message that includes the property ID number, start date and end date (in DD-MM-YYYY format), and the requested metrics. Note: Ensure compatibility between metrics and dimensions. If the plugin receives 'analyticsData#runReport' response, it indicates there is no data to show. This could be due to incompatible metrics and dimensions or absence of data for the requested metrics. In such cases, verify the compatibility of the metric and the dimension, or try to remove the dimension and try other metrics.
Updates
First added11 August 2023