Build with LinkDevi
View Markdown ↗Offline UTM Linter
Check local CSV URLs and naming consistency without a credential or network request to a destination.
English · Updated 2026-11-28
Use the published 0.2.0 package
Use Node.js 22 or newer. Version 0.2.0 is published on npm and was independently installed and tested from the registry. Matching public source is tagged v0.2.0. Package checks and packed-consumer installation passed on Node 22 and 24 in GitHub Actions.
npm install @kgma/linkdevi-tools@0.2.0
npx --no-install linkdevi utm lint links.csv --format json
npx --no-install linkdevi utm lint links.csv --format github --stricturl
https://example.com/launch?utm_source=facebook&utm_medium=social&utm_campaign=launch
https://example.com/launch?utm_source=line&utm_medium=messaging&utm_campaign=launchWhat it checks
- Required utm_source, utm_medium and utm_campaign; blank values and repeated parameter names including case variants.
- Invalid HTTP(S) URLs, embedded credentials and decoded control characters.
- UTM key capitalization, unknown UTM names, whitespace and inconsistent source naming across rows.
- Repeated destination/tracking combinations when query parameter order is ignored. Different fragments or parameter values remain distinct; review warnings before changing anything.
Inputs are limited to 100 URLs and a 256 KiB CSV. JSON reports contain row numbers and fixed issue messages, omitting destination URLs and parameter values. The linter does not fetch destinations, call LinkDevi, use a model, create resources or require an API key. It does not establish reachability, safety, analytics attribution or conversion accuracy.
Errors exit with status 1. Warnings fail only with --strict. Use json, text or github output. The installed package includes examples/github-actions/utm-lint.yml; an unchanged copy passed a hosted GitHub Actions run on the v0.2.0 source commit. Adapt the CSV path and enable it deliberately in your own repository.