SmartLynx logo

SmartLynx

Docs

How SmartLynx links work

Everything is a link on one shared address with your base name first. The link records the click, reads any utm_ tags, then sends the visitor on to your web page.

https://apps.smartlinks.mobi/mybrand?utm_source=newsletter&utm_medium=email&utm_campaign=spring

Your base name (up to 15 characters) is chosen when you sign up. A link set is one base name with its own destination, links and stats; your plan sets how many you can have.

Web page destinations

In Setup, tick Web Page and enter the address visitors should land on. Anything after your base name is passed through to that page:

apps.smartlinks.mobi/mybrand/offers/42?utm_source=x   →   yoursite.com/shop/offers/42?utm_source=x
  • Changing the destination

    Edit the Web Page address in Setup. Every link you have already shared follows it straight away.

Attribution links

Any query parameter that starts with utm_ is tracked. Turn on Attribution Links in Setup and add them to your links — there is nothing else to set up.

  • utm_source

    Where the link is shared: newsletter, instagram, partner-blog.

  • utm_medium

    The kind of link: email, social, cpc, qr.

  • utm_campaign

    The promotion: spring_sale, product_launch. You can also invent your own, as long as the name starts with utm_.

Not sure how to write one? Use the campaign link builder. Your dashboard lists every source with its clicks.

Short links

A short link stands in for a long one, e.g. apps.smartlinks.mobi/mybrand/Hg5d. Create them from Generate Short Links on your dashboard, or from your own systems with the API below. Every click on a short link is counted and attributed, exactly like the full link, and the long link with its tags never has to be seen or typed by anyone.

Short link API

Call it from your server. It authenticates with your short links API key, which you can get with the button below. Keep it private: it must never go into a web page or app.

This is a different key from the mobile API key shown in Setup. The mobile key only exists for link sets that have an iOS or Android app and is used by the app’s SDK; it will not work with the short link API. If you have no mobile app, the short links API key is the only key you need.

curl -X POST https://apps.smartlinks.mobi/create_short_link \
  -H "Content-Type: application/json" \
  -d '{"api_key": "YOUR_SHORT_LINKS_API_KEY",
       "url": "https://apps.smartlinks.mobi/mybrand?utm_source=email&utm_campaign=spring",
       "redirect_type": 0}'

Leave redirect_type at 0 (or omit it): for a web page link set every short link expands and redirects to your page. The URL must start with your own base name and include a query string or extra path.

{ "success": true, "short_code": "Hg5d", "short_url": "https://apps.smartlinks.mobi/mybrand/Hg5d" }

Troubleshooting

  • A click didn’t show up

    Check that the link starts with your exact base name. Counts update on your dashboard shortly after a click. Opening your page from browser history isn’t a click, because the history holds your page’s address, not the short link.

  • No attribution table

    Turn on Attribution Links in Setup, and make sure at least one tag starts with utm_.

  • Over your click limit

    Links keep working. Your dashboard will say so, and you can change plans at any time.

Building a mobile app too?

The same account can open your iOS or Android app and hand it the link after install. See the Mobile Docs.