我们的程序集成
将 Short.io 与您已在使用的工具连接
使用我们的强大 API 几分钟内完成集成
通过我们全面的 REST API 以编程方式创建、管理和跟踪短链接。支持客户端和服务器端应用程序。
import { createClient } from '@short.io/client-browser';
const client = createClient({ publicKey: 'pk_xxxxxxxxxxxxxxxx' });
const link = await client.createLink({
originalURL: 'https://example.com/very-long-url',
domain: 'your-domain.com',
path: 'custom-path', // Optional
title: 'My Link', // Optional
tags: ['campaign', 'marketing'] // Optional
});
console.log(link.shortURL); // https://your-domain.com/custom-path
const expanded = await client.expandLink({
domain: 'your-domain.com',
path: 'abc123'
});
console.log(expanded.originalURL);
import { createClient } from '@short.io/client-browser';
const client = createClient({ publicKey: 'pk_xxxxxxxxxxxxxxxx' });
const link = await client.createLink({
originalURL: 'https://example.com/very-long-url',
domain: 'your-domain.com',
path: 'custom-path', // Optional
title: 'My Link', // Optional
tags: ['campaign', 'marketing'] // Optional
});
console.log(link.shortURL); // https://your-domain.com/custom-path
const expanded = await client.expandLink({
domain: 'your-domain.com',
path: 'abc123'
});
console.log(expanded.originalURL);
import {
setApiKey, createLink, getApiLinks, getLinksExpand
} from '@short.io/client-node';
setApiKey('sk_xxxxxxxxxxxxxxxx');
const link = await createLink({
body: {
originalURL: 'https://example.com/very-long-url',
domain: 'your-domain.com',
path: 'product-2024', // Optional
title: 'Product Page' // Optional
}
});
console.log(link.data.shortURL); // https://your-domain.com/product-2024
const links = await getApiLinks({
query: {
domain_id: 'your-domain-id',
limit: 50,
offset: 0
}
});
const expanded = await getLinksExpand({
query: {
domain: 'your-domain.com',
path: 'product-2024'
}
});
console.log(expanded.data.originalURL);
console.log(expanded.data.clicksCount);
import {
setApiKey, createLink, getApiLinks, getLinksExpand
} from '@short.io/client-node';
setApiKey('sk_xxxxxxxxxxxxxxxx');
const link = await createLink({
body: {
originalURL: 'https://example.com/very-long-url',
domain: 'your-domain.com',
path: 'product-2024', // Optional
title: 'Product Page' // Optional
}
});
console.log(link.data.shortURL); // https://your-domain.com/product-2024
const links = await getApiLinks({
query: {
domain_id: 'your-domain-id',
limit: 50,
offset: 0
}
});
const expanded = await getLinksExpand({
query: {
domain: 'your-domain.com',
path: 'product-2024'
}
});
console.log(expanded.data.originalURL);
console.log(expanded.data.clicksCount);
每小时 180,000 次请求
为生产使用提供充足的速率限制
实时 webhook
链接被点击时获取通知
提供 SDK
支持 PHP、Python、Ruby、Go 等
业界最低的单链接成本
为您的预算提供最佳性价比
应用型参考示例
了解团队如何使用 Short.io 集成来优化他们的工作流程
当在您的WordPress网站新发表一篇文章时,该文章的链接会自动缩短。
如您在一个很长的网址(URL)前加上**'/shorten',并将其发送给Slack频道,将会得到一个短链接。
当有人点击短链接时,Google Analytics会在实时图表中显示这一操作记录。Google Analytics还能提供极有价值的数据资料,以便进一步进行深入分析。
当用户点击了一个短的品牌化链接之后,Facebook 会向该用户显示广告内容。
当一个链接通过Short.io被成功缩短之后,可与自定义 open graph 元数据一同自动发送给 Twitter。
如将Short.io与AdRoll集成,则可向曾点击过短链接的用户展示广告。
与Eventribe集成后,在添加新事件时,该事件的链接将会自动缩短。
在您的Shopify店铺添加新产品时,该产品的链接将会自动缩短。
Google Ads 认证 透明点击跟踪器
Short.io 已获得 Google Ads 官方认证为透明点击跟踪器。我们在 transparentlink.co 域名上生成符合 Google Ads 标准的特殊短链接,以确保完全符合 Google 的广告政策。
官方认证
由 Google Ads 团队验证和批准
Transparentlink.co 域名
专为 Google Ads 兼容性设计的特殊域名
合规就绪
满足所有 Google Ads 政策要求
营销活动效果
提升广告质量得分和指标
这对您的营销活动意味着什么
- 获取 transparentlink.co 域名上符合 Google Ads 标准的短链接
- 保持高质量得分以获得更好的广告效果
- 通过完整的归因数据跟踪营销活动效果
- 确保符合 Google 的广告政策