From linktree-pack
Fetches and logs Linktree analytics: views, clicks, CTR, per-link performance, audience locations/referrers/devices using TypeScript API client.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin linktree-packThis skill is limited to using the following tools:
Secondary workflow complementing the primary workflow.
Implements expiry-based caching in TypeScript to tune Linktree performance. Links to official docs and cost-tuning skill.
Export Microsoft Clarity user behavior analytics including heatmaps, session metrics, and engagement data segmented by browser, device, country, source via Composio integration.
Pulls GA4 reports on traffic, users, engagement, conversions, and audience segments via Google Analytics Data API. Use for website analytics analysis.
Share bugs, ideas, or general feedback.
Secondary workflow complementing the primary workflow.
const analytics = await client.analytics.get({
profile_id: profile.id,
period: 'last_30_days'
});
console.log(`Total views: ${analytics.views}`);
console.log(`Total clicks: ${analytics.clicks}`);
console.log(`CTR: ${(analytics.clicks / analytics.views * 100).toFixed(1)}%`);
const linkStats = await client.analytics.byLink({
profile_id: profile.id,
period: 'last_7_days'
});
linkStats.forEach(s =>
console.log(`${s.title}: ${s.clicks} clicks (${s.unique_visitors} unique)`)
);
const audience = await client.analytics.audience({ profile_id: profile.id });
console.log('Top locations:', audience.locations.slice(0, 5));
console.log('Top referrers:', audience.referrers.slice(0, 5));
console.log('Device split:', audience.devices);
See linktree-common-errors.