Git Product home page Git Product logo

utmlinkbuilder's Introduction

UtmLinkBuilder

a UTM link builder and shortener for your marketing needs

  1. Create links like this easily: http://mywebsite.com/?utm_campaign=sunday-offer&utm_source=facebook&utm_medium=cpc
  2. Shorten that long ugly UTM link for sharing http://yoururlshortenerdomain/r/fwefubo443 (buy a short domain to host this app)
  3. Track performance of each link with total clicks and unique clicks

Stack: node.js, sails.js, redis, mongoDB

Default Configuration:

Session store: redis
Database: mongoDB

To deploy (heroku)

  1. Sign up for MongoHQ and note your DB_URL with the right username and password
  2. Sign up for Redis (RedisToGo, RedisCloud, etc+) and note your redis endpoint and password and port
  3. Create a new heroku app heroku create
  4. Push git push heroku master
  5. Set environment variables: DB_URL, REDIS_ENDPOINT, REDIS_PORT, REDIS_PASSWORD, ROOT_URL (your domain along with http:// or https:// for eg. http://utm.io)
  6. Enjoy! heroku open

Details

Your MongoDB URL should look like this: mongodb://<username>:<password>@troup.mongohq.com:10081/<db_name>

To do

  1. Protect from mass assignment (userId field for Link, admin field for User)! (mashalling request parameters http://irlnathan.github.io/sailscasts/blog/2013/09/24/building-a-sails-application-ep17a-marshalling-request-parameters/)
  2. Multi-user account. A user has many accounts. An account has many users. Follow Mailchimp's model. Links belong to accounts instead of users.
  3. API - user, links, clicks
  4. Write some test!
  5. Improve on flash error message display
  6. more...

Feature ideas

  1. CPA information for each campaign (Pull data through API from google adwords and facebook ads)(action here is click through, but can add sophisticated JS SDK that can be embedded on the destination site for specific goal tracking such as making a purchase, download an ebook, sign up etc+)
  2. multi domain

Help Needed! Fork!

  1. If you're a developer, please fork away, help me out with the todos and submit pull request! Or do a code review, raise issues and leave comments. Thanks!
  2. If you're a marketer, you may leave ideas by raising issues.
  3. If you growth hack, this might be thoroughly useful, would really appreciate input, feedback and contribution!

utmlinkbuilder's People

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.