Added the new analytics code
Added the api post