Skip to content

Commit 088db58

Browse files
authored
Made block cacheable again
The original solution for caching doesn't work correctly, so since we aren't affected by the cookie issue, we rolled back the original version
1 parent e084c8c commit 088db58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: view/frontend/layout/default.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<body>
1212
<referenceContainer name="after.body.start">
1313
<block class="Google\TagManager\Block\DataLayer" name="gtm_data_layer" as="gtm_data_layer" template="data_layer.phtml"/>
14-
<block class="Google\TagManager\Block\Gtm" name="gtm_snippet" as="gtm_snippet" template="gtm.phtml" cacheable="false" />
14+
<block class="Google\TagManager\Block\Gtm" name="gtm_snippet" as="gtm_snippet" template="gtm.phtml"/>
1515
</referenceContainer>
1616
</body>
1717
</page>

0 commit comments

Comments
 (0)