The website is also given a widget to embed on their website which displays the tips submitted by others.
Credits are earned when you display others' tips and the tip is clicked and consumed when your tips are clicked.
## Deliverables
Can be in php or ruby on rails
Must work on all major browsers
Embed must be async javascript (so as not to slow page load)
**Functional requirements
**
**User Signup
**
* **User must enter**
* **First Name**
* **Last Name**
* **Display name (for use in widget)**
* **Website name**
* **Website url**
* **Email (will be username)**
* **Password**
**User Admin**
* Edit user details
* Add tips form for website owner to submit beauty tips that will go in the widgets of others
* *Fields to entered for adding a tip*
* Tip
* Link
* Add, pause, delete, tips
* *View stats on impressions and clicks of tips*
* In aggregate
* Individually
* *Get widget embed code to use on their website*
**Master Admin
**
* *Tip moderation*
* Before a visitors tips are put into rotation of widgets they must be approved
* *Reporting*
* Credit owed versus owned - does the admin account owe credit or own credits
* *Every time a tip is clicked credits are*
* removed from the website who received the visitor
* given to the site who hosts the widget holding the clicked link
* balance of ratio is given to admin (eg. perhaps getting a click cost 1 credit but sending a click nets 0.8 credits, then the admin nets 0.2 credits)
* *Set trade ratio*
* Set the ratio of how many credit a user will each for each time the widget on their site is clicked
* [login to view URL] start with a ratio of 1:1 (clicks they send they each one credit). However it must be possible to change this to them earning 0.8 credits for each visitor they send (each visitor they receive will always cost them 1 credit)
* *Edit embed code*
* Method of editing styles of the embed code as well as the wrapper around it
* Set powered by html footer - this is code that is added to the bottom of whatever embed code is given to the user
* It will be used for a "Powered by X" link
* This must not be part of actual embed code, I just want it append to the bottom of code given to users
**Logs and Auditing**
Data available by account and overall
* Track click / credit acquisition and spend transaction
* Track IP of clicks
**Example of widget display
**
Beauty Tip:
"Don't overdo the Katy polish...."
- by Someone from [login to view URL] (link)
Beauty tips powered by [login to view URL] (link)