You need to add your own Google Tag Manager ID to your store for managing your Ads and custom tags. You can define different GTM codes for different substores. To add the GTM ID for different substores, you need to enable the multi-store functionality. Click here to know more about multistore functionality.
Once you have enabled the multistore functionality, you need to add a field in the substore settings. To do so, follow the steps mentioned below:
Once you have enabled the Google Tag Manager Id setting at the substore level, you can proceed to define different GTM codes for the different substores. To do so, follow the steps mentioned below:
Now, the entered GTM ID will be assigned for the selected substore. Similarly, you can define the GTM code for the other substores as well.