1. A method for targeting geofence messages based on a transportation mode of a user comprising the steps of:creating, by a processor of a computer system, a geofence, wherein the geofence comprises a location, a size, a message, and a mode of transportation parameter;
receiving, by the processor, location data of a client device operated by the user;
further receiving, by the processor, measurements from a measuring device or a sensor quantifying movement of the client device, wherein the measuring device or sensor comprises an accelerometer, a gyroscope sensor, and a geomagnetic field sensor;
detecting, by said processor based on said measurements, a velocity and acceleration rate of said user;
detecting, by said processor via said gyroscope sensor, an angular velocity, a rotational motion, and a change of orientation of said user, wherein said detecting said angular velocity comprises measuring an amount of angular velocity being produced by a motion of said user and sensing an angular velocity produced by movement of the gyroscope sensor, and wherein associated angles are detected by said processor as said angles move and by sensing vibrations produced by external environments surrounding said gyroscope sensor to correct an orientation of an object embedded with said gyroscope sensor;
analyzing, by the processor, said angular velocity, said rotational motion, and said change of orientation of said user, said velocity and acceleration rate, a rate of change in the location data and the measurements from the measuring device or sensor thereby identifying the transportation mode as a function of the location data and measurements, wherein said identifying said transportation mode comprises comparing said angular velocity produced by movement of the gyroscope sensor to known angular velocities associated with walking, biking, driving in an automobile, riding a train, and riding on an airplane;
concluding, by the processor, that a location of the client device is within the location of the geofence and that the transportation mode of the user operating the client device is the same as the mode of transportation parameter defined by the geofence as a function of the measurements and location data; and
displaying, by the processor, the message on the client device.