Make sure that the correct Google Tag manager container ID is in the store's settings, which can be found under Online Store>Themes>Customize>Advanced.