
L2S
Marketers juggle link shorteners, UTM builders, and analytics dashboards as separate tools. Your AI agent consolidates all of that through L2S. Ask it to shorten a URL with UTM tags, retrieve click analytics for a campaign link, or list all your shortened URLs, and it handles everything in one conversation.




Your AI agent creates, organizes, and analyzes shortened links using L2S, turning link management into a quick chat request instead of a separate workflow.
L2S
See how marketers use AI agents to create, tag, and analyze L2S links without switching tools, keeping every campaign URL organized and tracked from a single conversation.
A marketing manager prepares a product launch email and tells the AI agent: 'Shorten this URL with source=email, medium=newsletter, campaign=product-launch.' The agent creates the L2S short link with all UTM parameters embedded, applies a 'product-launch' tag, and returns the branded short URL. The manager pastes it into the email template. Every click is tracked by source, and the link is automatically organized for later reporting.
After a social media push, the growth lead messages the AI agent in Slack: 'Pull analytics for the Black Friday promo link.' The agent retrieves the L2S URL details, summarizes total clicks, top countries, device split between mobile and desktop, and which referrers drove the most traffic. The team gets actionable insights without logging into a separate analytics dashboard.
Your sales team needs unique short links for a trade show, each with a custom alias matching the rep's name. A sales ops coordinator tells the AI agent: 'Create links for l2s.is/tradeshow-sarah, l2s.is/tradeshow-mike, and l2s.is/tradeshow-alex all pointing to our event page.' The agent creates all three with custom keys and tags them as 'tradeshow-2025.' Each rep shares their personalized link, and attribution tracking shows who drove the most registrations.

L2S
FAQs
The agent calls L2S's Shorten URL endpoint with the long URL and optional parameters including custom alias (customKey), title, tags, and UTM parameters (utmSource, utmMedium, utmCampaign, utmContent, utmTerm). L2S returns the shortened URL immediately. The entire process takes under a second within the conversation.
Yes. The L2S Shorten URL endpoint accepts five UTM fields: utmSource, utmMedium, utmCampaign, utmContent, and utmTerm. You can tell the agent your UTM conventions once, and it applies consistent attribution to every link it creates. No more forgetting to add tracking parameters or using inconsistent naming.
L2S tracks click counts, geographic location (country and city), browser type, operating system, device type (mobile vs. desktop), and referrer source for every shortened URL. The agent retrieves these metrics through the Get URL Details endpoint and summarizes them conversationally.
Yes. The customKey parameter lets you specify a human-readable alias for the short URL, like l2s.is/summer-sale instead of l2s.is/ab3x7. If the alias is already taken, L2S returns an error and the agent asks you to choose a different one. Custom domains are also supported if configured in your L2S account.
Yes. The List URLs endpoint returns all shortened URLs in your L2S account, including links created before you connected Tars. The agent can also retrieve details for any specific link by ID. Your entire link history is accessible from day one of the integration.
Tars stores your L2S API key securely in encrypted form to authenticate requests. Link metadata and analytics are fetched in real time from L2S during conversations and are not cached on Tars servers. Conversation transcripts may include shortened URLs and their details, governed by your Tars data retention policy.
No. L2S shortened URLs remain active indefinitely with no expiration date. Links created through the AI agent persist in your L2S account just like links created through the web interface. You can still manage, edit, or delete them from the L2S dashboard if needed.
The L2S website requires switching context from your current workflow. With Tars, your team creates and analyzes links from Slack, Microsoft Teams, WhatsApp, or your website chat without opening another browser tab. UTM parameters, tags, and custom aliases are applied in a single conversational request, making link management a natural part of campaign workflows.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.