updated analytics code
Added the resources tab