Agent skill

linktree-core-workflow-b

Execute Linktree secondary workflow: Analytics & Insights. Trigger: "linktree analytics & insights", "secondary linktree workflow".

Stars 1,803
Forks 241

Install this agent skill to your Project

npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/main/plugins/saas-packs/linktree-pack/skills/linktree-core-workflow-b

SKILL.md

Linktree — Analytics & Insights

Overview

Secondary workflow complementing the primary workflow.

Instructions

Step 1: Get Link Analytics

typescript
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)}%`);

Step 2: Per-Link Performance

typescript
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)`)
);

Step 3: Audience Insights

typescript
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);

Resources

Next Steps

See linktree-common-errors.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results