When you implement for instance this feature:
https://github.com/yireo/Yireo_GoogleTagManager2/blob/master/etc/data_layer.xml#L6
The result is cached and not scoped within storeviews.
That is because data_layer is parsed as layout xml that there is storeconfig missing.
When you disable cache, except the layout cache, you can reproduce this like so:
- set the currency code of store a to USD
- set the currency code of store b to EUR
- implement this currency code tag
- visit store a: currency_code = USD
- visit store b: currency_code = USD
Expected results:
- visit store a: currency_code = USD
- visit store b: currency_code = EUR