What is Cliqued?
Cliqued is a simple (looking) web app for easily creating Bitly URLs that include parameters tracked in Google Analytics Custom Campaigns.
We're looking to add other shortening services too, like goo.gl.
Getting Started
Once you've downloaded the ZIP of this repo, navigate to the file in app/settings.php
to get started.
The first thing you'll want to descide on which URL shortening service you want to use. As of version 0.2, you can only choose "demo" or "bitly." Others will be coming, but you'll want to use Bitly.
Get the Keys
First off, you'll need to get your Bitly API Login and Key to use Bitly as your URL shortening service.
- Create a Bitly account (if you haven't already)
- Login to Bitly
- Click the Hamburger Menu
- Click Settings, then Advanced Settings, then API Support
- There, you can create or get your API Login and API Key
Edit the Settings
Next up, we'll want to make changes and updates to the web app settings file. You guessed it, these are made in the file, app/settings.php
.
- Open
settings.php
in your favorite editor. - Change
define("DEMO", true);
todefine("DEMO", false);
- Change
define("BITLY", false);
todefine("BITLY", true);
- Paste your Bitly API login into
define("API_USER", "your bitly user name");
(the bold part) - Paste your Bitly API key into
define("API_KEY", "your bitly api key");
(the bold part) - Leave the thing about
API_URL
alone.
Navigate to the web app and give it a go.
Other Settings
You can also change the name of the app, the version, and the GitHub repo/branch in settings.php
, if you're into that sort of thing.
Details on GitHub
For more information or to submit an issue/feature request, see the GitHub repo.