• VALID URL
  • CLEAN DATA
  • READY TO USE
  • HUMAN REVIEW

How to append UTM parameters to existing URLs with your AI

Connect the UTM Campaign Builder to your AI client. Once connected, you can pass any URL to your agent and have it return a perfectly formatted tracking link.

Ask AI about this page

Short answer

How do I add UTM parameters to a URL that already has query strings?

Your AI uses the build_utm_url tool to merge new parameters into your existing link. It handles the logic of ampersands and question marks so the link stays valid. You'll get a clean, ready-to-use URL.

The results of your request.

What you get from your agent.

This is what happens after you give your agent a URL and some tracking details.

VALID URL

Correct syntax

The AI uses build_utm_url to merge parameters. You get a link that preserves all original data while adding your new tracking tags.

CLEAN DATA

No broken links

The agent handles the logic of ampersands and question marks. You won't have to worry about double question marks or malformed strings.

READY TO USE

Copy and paste

The final URL is delivered as a plain string. You can grab it and drop it straight into your ads, emails, or social posts.

HUMAN REVIEW

Final check

The AI provides the link, but you should still click it to ensure the destination is exactly what you intended.

The workflow

What your AI does when the request arrives.

The AI takes your raw instructions and converts them into a functional tracking link.

  1. Parse the source

    Your agent looks at the URL you provided to see if it already contains query parameters.

    build_utm_url
  2. Merge parameters

    The tool injects your new source, medium, or campaign names into the existing string.

    build_utm_url
  3. Validate syntax

    The AI checks that the ampersands and question marks are in the right spots to prevent 404 errors.

    build_utm_url
  4. Deliver link

    The agent presents the finished URL in the chat for you to use.

    build_utm_url

Try it

Copy these to start.

Use these prompts to trigger the UTM builder immediately.

Starting points

Swap out the bracketed info for your actual URL and campaign details.

Node URL Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_a46swue75dLTvItgRHUYOHc38XKO6hdtiPwdmbgr/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Node URL capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "utm-campaign-builder-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_a46swue75dLTvItgRHUYOHc38XKO6hdtiPwdmbgr/mcp"
    }
  }
}
Copy into chat04
  • Add utm_source=newsletter and utm_medium=email to this URL: [URL]

  • Append these parameters to my link: [URL]. Source is 'linkedin' and medium is 'social'.

  • I need a UTM link for [URL]. Set the campaign name to 'summer_sale' and source to 'google'.

  • Take this existing link [URL] and add a utm_term for 'running_shoes'.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect UTM Campaign Builder once, then ask.

Just click the link to connect. Your credentials stay encrypted, and you can start using the tool in your preferred AI client right away.

Connect UTM Campaign Builder to your AI

FAQ

How the tool behaves

  • 01

    Will the AI change the original destination of my URL?

    No. The tool only appends parameters to the end of the string. It does not touch the domain or the path.

  • 02

    Can the AI create a short link like bit.ly?

    No. This tool only builds the long URL with the appended parameters. You'll need to use a separate service to shorten it.

  • 03

    What happens if my URL already has a question mark in it?

    The tool detects the existing query string and uses an ampersand to add the new parameters instead of a second question mark.

  • 04

    Does the AI save a history of all the links I generate?

    No. The AI only processes the specific request you give it. It does not maintain a database of your generated links.

  • 05

    Can I ask the AI to validate if the UTM parameters are standard?

    Yes, your agent can check the syntax, but the actual construction is handled by the build_utm_url tool.

  • More questions about UTM Campaign Builder? The Connector page answers them. See everything the UTM Campaign Builder Connector can do

Connect Node URL to Claude, Cursor, ChatGPT & more