Electrogastrography (EGG) is a non-invasive diagnostic method used to measure the electrical activity of the stomach. It is particularly useful in diagnosing various gastrointestinal motility disorders in children. The procedure involves placing electrodes on the abdomen to record the stomach's electrical signals.