• READY
  • VALID
  • REVIEW
  • ERROR

How to add UTM parameters to URLs with your AI

Connect the Deterministic URL Engine once. After that, your agent handles all the link modification for you.

Ask AI about this page

Short answer

How can I add UTM parameters to my links using AI?

Your agent uses the inject_query tool to append tracking parameters to any URL you provide. It handles the syntax and ensures the original link stays valid. You get clean, trackable URLs without manual editing.

Where every change lands.

The outcomes of your request.

Depending on how you prompt your agent, the results fall into these categories.

READY

Trackable URLs

The agent uses inject_query to append your specific UTM tags. You get a functional link ready for your marketing campaigns.

VALID

Clean syntax

The agent ensures that question marks and ampersands are placed correctly. Your links won't break when you click them.

REVIEW

Human verification

If a URL is malformed or missing data, the agent flags it for you. You decide if the final link is correct before using it.

ERROR

Invalid inputs

The agent identifies links that cannot be modified. It tells you why the injection failed so you can fix the source.

The workflow

What your AI does when a link arrives.

The agent follows a strict logic to ensure your tracking data is applied accurately.

  1. Analyze the source

    The agent reads the existing URL to identify if it already contains query parameters.

    inject_query
  2. Apply parameters

    The agent appends your UTM source, medium, or campaign tags to the string.

    inject_query
  3. Validate structure

    The agent checks that the new string follows standard URL formatting rules.

    inject_query
  4. Deliver link

    The agent provides the final, modified URL back to your chat interface.

    inject_query

Try it

Copy these to start.

Use these prompts to trigger the URL modification immediately.

Starting points

Replace the bracketed text with your actual URL and the specific UTM values you want to add.

Deterministic URL Engine Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_icm4wWTdS8cJDs1MvvxdiaRMVKJ9m5v46tLcXCG6/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 — Deterministic URL Engine capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "deterministic-url-engine-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_icm4wWTdS8cJDs1MvvxdiaRMVKJ9m5v46tLcXCG6/mcp"
    }
  }
}
Copy into chat04
  • Add utm_source=newsletter and utm_medium=email to https://example.com/product

  • Inject these parameters into this link: https://mysite.com/page?id=123, using utm_campaign=summer_sale

  • Take this URL from my Google Sheet and add utm_content=sidebar_ad to it: https://example.com/landing

  • Update the following link with utm_term=search_ads: https://example.com/blog/post-1

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

Start here

Connect Deterministic URL Engine once, then ask.

Just click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start modifying links right away.

Connect Deterministic URL Engine to your AI

FAQ

How the task behaves.

  • 01

    Will the AI change the actual destination of the link?

    No. The agent only modifies the query parameters. The base URL and path remain exactly as you provided them.

  • 02

    Can the AI remove existing parameters?

    No. The inject_query tool is designed to add or update parameters, not to strip existing ones from a URL.

  • 03

    Does the AI handle URLs that already have question marks?

    Yes. The agent detects existing query strings and uses ampersands to append new parameters instead of adding extra question marks.

  • 04

    Can the AI create a new landing page for me?

    No. This tool only modifies the text of a URL. It cannot create web pages or host content.

  • 05

    What happens if I give it a broken URL?

    The agent will identify that the input is not a valid URL and will ask you for a correct link before attempting to inject parameters.

  • More questions about Deterministic URL Engine? The Connector page answers them. See everything the Deterministic URL Engine Connector can do

Connect Deterministic URL Engine to Claude, Cursor, ChatGPT & more