Poprawa obsługi Google Tag Manager w szablonie produktu
This commit is contained in:
BIN
templates_user/.DS_Store
vendored
Normal file
BIN
templates_user/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
templates_user/components/.DS_Store
vendored
Normal file
BIN
templates_user/components/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -241,6 +241,7 @@
|
||||
<script class="footer" type="text/javascript" src="/libraries/fancybox3/js/wheel.js"></script>
|
||||
<script class="footer" type="text/javascript" src="/plugins/OwlCarousel/owl.carousel.js"></script>
|
||||
<script type="text/javascript">
|
||||
$( function() {
|
||||
<? if ( $this -> settings['google_tag_manager_id'] ):?>
|
||||
dataLayer.push({
|
||||
event: "view_item",
|
||||
@@ -258,6 +259,7 @@
|
||||
}
|
||||
});
|
||||
<? endif;?>
|
||||
});
|
||||
</script>
|
||||
<script class="footer" type="text/javascript">
|
||||
$( function ()
|
||||
|
||||
Reference in New Issue
Block a user