If you are using the module "Google Tag Manager Enhanced Ecommerce" created by "Comptoir du code" then make sure to get the latest version of the module and enable the specific option for use with full page cache modules.
In any case you don't need to mark Google Tag Manager modules as dynamic.