add target optimizations (#3028)

This commit is contained in:
Daniel Seifert 2014-10-14 08:25:55 +00:00
bovenliggende 16918787fd
commit 568de84f80
4 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen

Binair bestand niet weergegeven.

Bestand weergeven

@ -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}]

Bestand weergeven

@ -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')}]