ARDUINO GSM CARD CONNECTION

Hello, please can you help me, I need to know if the arduino shield GSM card you may connect a sensor and get the data or must first connect the sensor to the Arduino UNO board and then connect to the GSM card arduino shield

Sensor(s) on top of gsm shield.
See documentation to find which pins are available..