Minzo Link Shortener

By minzodotlink

0+ active installationsVersion 1.0.1

Connect your Minzo Link account and shorten links, and view their click statistics, without leaving your WordPress dashboard.

Description

Minzo Link Shortener connects WordPress to your Minzo Link account via an API key, so you can:

  • Create short links (with a custom alias, title, description or password) without leaving wp-admin.
  • Browse and search all your existing short links, sorted by date or by number of clicks.
  • View per-link statistics: total clicks, unique clicks, top countries, top browsers, top operating systems and top referrers.
  • Delete links you no longer need.
  • Shorten a link straight from a WordPress Dashboard widget.
  • Generate a QR code for any of your short links in one click.
  • Automatically (or manually) create a short link for a post’s permalink, shown in a “Short Link” column and a meta box in the post editor.

External services

This plugin connects to the Minzo Link API, provided by Minzo Link, to create and delete short links, list them and read their click statistics. It needs a Minzo Link account and an API key to work.

Requests go to the Platform URL set on the Settings page, https://minzo.link by default, under the /usethisapi/ path. Your API key is sent with every request in the Authorization header. Nothing is sent until you save an API key, and after that only in these cases:

  • When you click “Test Connection” or open the plugin’s screens and Dashboard widget: a request for your account details and your list of links.
  • When you create a short link from the plugin’s screens or the Dashboard widget: the destination URL and any alias, title, description or password you enter.
  • When automatic shortening is enabled for a post type and a post is published, or when you click the button in the “Short Link” meta box: the post’s permalink and title.
  • When automatic content link shortening is enabled or you run the bulk scan: the links in your posts’ content that point to other websites.
  • When you open a link’s statistics or delete a link: that link’s ID.
  • When you export your links to CSV: a request for your list of links.

When you show a QR code, your browser loads the image from the short link’s own address (for example https://minzo.link/abc/qr).

Minzo Link Terms of Service: https://minzo.link/page/terms-of-service
Minzo Link Privacy Policy: https://minzo.link/page/privacy-policy

Installation

  1. Upload the minzo-link-shortener folder to /wp-content/plugins/, or install the zip through Plugins > Add New > Upload Plugin.
  2. Activate the plugin through the “Plugins” screen.
  3. Go to “Link Shortener > Settings”, enter your Minzo Link account’s Platform URL and API Key, then click “Test Connection”.
  4. Once connected, use “Create Short Link” to shorten URLs, and “My Links” to browse and review statistics.

Your API key can be found on your Minzo Link dashboard under Account > Developer API.

FAQ

Where do I find my API key?

Log in to your Minzo Link account, open the account menu, and choose “Developer API” (or “API Keys”, depending on your plan). Generate a key there and paste it into the plugin’s Settings page.

Does this plugin store any data in WordPress?

Only what it needs to work. Your list of links and their statistics are always fetched live from your Minzo Link account through its API. The plugin stores:

  • Your Platform URL, API key and settings, in the WordPress options table.
  • Your account details, cached for 5 minutes.
  • For posts that get a short link: the short URL, its link ID and the last error, if any, as post meta.
  • For automatic content link shortening and the bulk scan: the short links created for the links in your posts, kept as post meta and as a cache option, so the same URL is not shortened twice.

When content link shortening is enabled, the links to other websites in a post’s content are replaced with their short links and the post is saved.

All of this data is deleted when you delete the plugin from the “Plugins” screen. Short links already written into your posts’ content stay there.

Changelog

1.0.1

  • The QR button now shows the QR code of the short link itself instead of creating a new QR code on the platform on every click.

1.0.0

  • Initial release: settings/connection screen, short link creation, links list with search and pagination, per-link statistics modal, and a Dashboard widget.