add target optimizations (#3028)
This commit is contained in:
parent
16918787fd
commit
568de84f80
Binary file not shown.
@ -70,6 +70,8 @@
|
||||
|
||||
ga('send', 'pageview' [{$sD3GASendPageViewParameter}]);
|
||||
|
||||
[{include file="d3ga_universal_ecommerce.tpl"}]
|
||||
|
||||
[{if $oD3GASettings->getValue('blD3GATrackPageLoadTime')}]
|
||||
var perfData = window.performance.timing;
|
||||
var pageLoadTime = perfData.domComplete - perfData.navigationStart;
|
||||
@ -87,8 +89,6 @@
|
||||
ga('set', 'metric1', loadTime);
|
||||
[{*ga('send', 'event', 'Page Load Time', loadTime, {'nonInteraction': true});*}]
|
||||
[{/if}]
|
||||
|
||||
[{include file="d3ga_universal_ecommerce.tpl"}]
|
||||
</script>
|
||||
|
||||
[{/strip}]
|
||||
|
@ -1,7 +1,7 @@
|
||||
[{if $oD3GASettings->getValue('blD3GASendECommerce') && $oViewConf->getActiveClassName() == 'thankyou'}][{strip}]
|
||||
[{assign var="order" value=$oView->getOrder()}]
|
||||
|
||||
ga('require', 'ecommerce', 'ecommerce.js');
|
||||
ga('require', 'ecommerce');
|
||||
|
||||
[{assign var="currate" value=$order->oxorder__oxcurrate->value}]
|
||||
[{if $oD3GASettings->getValue('blD3GAUseNetto')}]
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user