Search

PythonReactSEOPDF
OpenClaw

supermetrics

Official Supermetrics skill. Query marketing data from 100+ platforms including Google Analytics, Meta Ads, Google Ads, and LinkedIn. Requires API key.

bartschneider0 source installs☆ 0 Repository starsv1.0.1

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install bartschneider/supermetrics-openclawd

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Supermetrics Marketing Data

Query marketing data from 100+ platforms including Google Analytics, Meta Ads, Google Ads, and LinkedIn.

Usage

Import the helper module:

from supermetrics import (
    discover_sources,
    discover_accounts,
    discover_fields,
    query_data,
    get_results,
    get_today,
    search,
    health,
)

Functions

discover_sources()

List all available marketing platforms.

result = discover_sources()
for src in result['data']['sources']:
    print(f"{src['id']}: {src['name']}")
discover_accounts(ds_id)

Get connected accounts for a data source.

Common data source IDs:

ID Platform
FA Meta Ads (Facebook)
AW Google Ads
GAWA Google Analytics
GA4 Google Analytics 4
LI LinkedIn Ads
AC Microsoft Advertising (Bing)
result = discover_accounts("GAWA")
for acc in result['data']['accounts']:
    print(f"{acc['account_id']}: {acc['account_name']}")
discover_fields(ds_id, field_type=None)

Get available metrics and dimensions.

# Get all fields
result = discover_fields("GAWA")

# Get only metrics
result = discover_fields("GAWA", "metric")

# Get only dimensions
result = discover_fields("GAWA", "dimension")
query_data(...)

Execute a marketing data query. Returns schedule_id for async retrieval.

result = query_data(
    ds_id="GAWA",
    ds_accounts="123456789",
    fields=["date", "sessions", "pageviews", "users"],
    date_range_type="last_7_days"
)
schedule_id = result['data']['schedule_id']

Parameters:

  • ds_id (required): Data source ID
  • ds_accounts (required): Account ID(s) from discover_accounts()
  • fields (required): Field ID(s) from discover_fields()
  • date_range_type: last_7_days, last_30_days, last_3_months, custom
  • start_date, end_date: For custom date range (YYYY-MM-DD)
  • filters: Filter expression (e.g., "country == United States")
  • timezone...

Source information

Source
github
Repository
openclaw/skills
Path
skills/bartschneider/supermetrics-openclawd
Version
1.0.1
Commit
5a61149b0a8ceb6f1297678ede47c5b5b772b104
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Supermetrics Marketing Data

Query marketing data from 100+ platforms including Google Analytics, Meta Ads, Google Ads, and LinkedIn.

## Usage

Import the helper module:

```python
from supermetrics import (
    discover_sources,
    discover_accounts,
    discover_fields,
    query_data,
    get_results,
    get_today,
    search,
    health,
)
```

## Functions

### discover_sources()

List all available marketing platforms.

```python
result = discover_sources()
for src in result['data']['sources']:
    print(f"{src['id']}: {src['name']}")
```

### discover_accounts(ds_id)

Get connected accounts for a data source.

**Common data source IDs:**
| ID | Platform |
|----|----------|
| FA | Meta Ads (Facebook) |
| AW | Google Ads |
| GAWA | Google Analytics |
| GA4 | Google Analytics 4 |
| LI | LinkedIn Ads |
| AC | Microsoft Advertising (Bing) |

```python
result = discover_accounts("GAWA")
for acc in result['data']['accounts']:
    print(f"{acc['account_id']}: {acc['account_name']}")
```

### discover_fields(ds_id, field_type=None)

Get available metrics and dimensions.

```python
# Get all fields
result = discover_fields("GAWA")

# Get only metrics
result = discover_fields("GAWA", "metric")

# Get only dimensions
result = discover_fields("GAWA", "dimension")
```

### query_data(...)

Execute a marketing data query. Returns schedule_id for async retrieval.

```python
result = query_data(
    ds_id="GAWA",
    ds_accounts="123456789",
    fields=["date", "sessions", "pageviews", "users"],
    date_range_type="last_7_days"
)
schedule_id = result['data']['schedule_id']
```

**Parameters:**
- `ds_id` (required): Data source ID
- `ds_accounts` (required): Account ID(s) from discover_accounts()
- `fields` (required): Field ID(s) from discover_fields()
- `date_range_type`: `last_7_days`, `last_30_days`, `last_3_months`, `custom`
- `start_date`, `end_date`: For custom date range (YYYY-MM-DD)
- `filters`: Filter expression (e.g., `"country == United States"`)
- `timezone`...

Related skills

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.