Git Product home page Git Product logo

cliqued's Introduction

Cliqued

A simple web app for easily creating Bitly shortened URLs that include parameters tracked in Google Analytics Custom Campaigns. Live demo at: https://jdmdig.it/cliqued

Cliqued screenshot

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.

Demo

There is a demo avaliable for you to check out. See: https://jdmdig.it/cliqued.

NOTE: The demo is in "demo mode" so the short URL it generates is always the same and redirects right back to the demo itself. See the section below for how to disable demo mode.

Getting Started

Once you've downloaded the ZIP of this repo, navigate to the file in app/settings.php to get started.

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. In "demo mode" the app always returns the same shortened URL which directs you back to the web app demo.

Get the Keys

First off, you'll need to get your Bitly API Login and Key to use Bitly as your URL shortening service.

  1. Create a Bitly account (if you haven't already)
  2. Login to Bitly
  3. Click the Hamburger Menu
  4. Click Settings, then Advanced Settings, then API Support
  5. 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.

  1. Open settings.php in your favorite editor.
  2. Change define("DEMO", **true**); to define("DEMO", **false**);
  3. Change define("BITLY", **false**); to define("BITLY", **true**);
  4. Paste your Bitly API login into define("API_USER", "**your bitly user name**"); (the bold part)
  5. Paste your Bitly API key into define("API_KEY", "**your bitly api key**"); (the bold part)
  6. 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.

cliqued's People

Contributors

jdmdigital avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

oplarshad

cliqued's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.