Three Essays on Digital Marketing