bounce optimization switch added (#3465)
This commit is contained in:
parent
f509aa7110
commit
d0a7d9a853
@ -173,7 +173,11 @@
|
|||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
||||||
[{* bounce optimization*}]
|
[{* bounce optimization*}]
|
||||||
|
[{block name="d3ga_bounceoptimzation"}]
|
||||||
|
[{if $oD3GASettings->getValue('blUseBounceRateOptimization')}]
|
||||||
|
[{if $oD3GASettings->getValue('iSendNoBounceEventTime')}]
|
||||||
setTimeout('_gaq.push([\'_trackEvent\', \'NoBounce\', \'Over defined seconds\'])',[{$oD3GASettings->getValue('iSendNoBounceEventTime')}]);
|
setTimeout('_gaq.push([\'_trackEvent\', \'NoBounce\', \'Over defined seconds\'])',[{$oD3GASettings->getValue('iSendNoBounceEventTime')}]);
|
||||||
|
[{/if}]
|
||||||
|
|
||||||
[{if $oD3GASettings->getValue('blSendNoBounceEventScroll')}]
|
[{if $oD3GASettings->getValue('blSendNoBounceEventScroll')}]
|
||||||
window.addEventListener ?
|
window.addEventListener ?
|
||||||
@ -188,6 +192,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
[{/if}]
|
||||||
|
[{/block}]
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||||
|
@ -52,7 +52,11 @@
|
|||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
||||||
[{* bounce optimization*}]
|
[{* bounce optimization*}]
|
||||||
|
[{block name="d3ga_bounceoptimzation"}]
|
||||||
|
[{if $oD3GASettings->getValue('blUseBounceRateOptimization')}]
|
||||||
|
[{if $oD3GASettings->getValue('iSendNoBounceEventTime')}]
|
||||||
setTimeout('ga(\'send\', \'event\', \'NoBounce\', \'Over defined seconds\')',[{$oD3GASettings->getValue('iSendNoBounceEventTime')}]);
|
setTimeout('ga(\'send\', \'event\', \'NoBounce\', \'Over defined seconds\')',[{$oD3GASettings->getValue('iSendNoBounceEventTime')}]);
|
||||||
|
[{/if}]
|
||||||
|
|
||||||
[{if $oD3GASettings->getValue('blSendNoBounceEventScroll')}]
|
[{if $oD3GASettings->getValue('blSendNoBounceEventScroll')}]
|
||||||
window.addEventListener ?
|
window.addEventListener ?
|
||||||
@ -67,6 +71,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
[{/if}]
|
||||||
|
[{/block}]
|
||||||
|
|
||||||
ga('send', 'pageview' [{$sD3GASendPageViewParameter}]);
|
ga('send', 'pageview' [{$sD3GASendPageViewParameter}]);
|
||||||
|
|
||||||
|
@ -112,6 +112,9 @@ $aLang = array(
|
|||||||
'</p>',
|
'</p>',
|
||||||
|
|
||||||
'D3_GOOGLEANALYTICS_BOUNCEOPT' => 'Absprungdaten optimieren',
|
'D3_GOOGLEANALYTICS_BOUNCEOPT' => 'Absprungdaten optimieren',
|
||||||
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SWITCH' => 'Absprungdaten-Optimierung aktivieren',
|
||||||
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SWITCH_DESC' => 'Analytics wertet jeden Benutzer, der nicht '.
|
||||||
|
'innerhalb der Seite einen Link anklickt, als Abbrecher. Mit dieser Option kann der Wert optimiert werden.',
|
||||||
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT1' => 'Seitenbesucher nicht als Abbrecher werten nach',
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT1' => 'Seitenbesucher nicht als Abbrecher werten nach',
|
||||||
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT2' => 'Millisekunden (1000 = 1 Sekunde)',
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT2' => 'Millisekunden (1000 = 1 Sekunde)',
|
||||||
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT_DESC' => '<p>Analytics wertet alle Seitenbucher, die '.
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT_DESC' => '<p>Analytics wertet alle Seitenbucher, die '.
|
||||||
|
@ -112,6 +112,9 @@ $aLang = array(
|
|||||||
'</p>',
|
'</p>',
|
||||||
|
|
||||||
'D3_GOOGLEANALYTICS_BOUNCEOPT' => 'Bounce rate optimzation',
|
'D3_GOOGLEANALYTICS_BOUNCEOPT' => 'Bounce rate optimzation',
|
||||||
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SWITCH' => 'Absprungdaten-Optimierung aktivieren',
|
||||||
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SWITCH_DESC' => 'Analytics wertet jeden Benutzer, der nicht '.
|
||||||
|
'innerhalb der Seite einen Link anklickt, als Abbrecher. Mit dieser Option kann der Wert optimiert werden.',
|
||||||
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT1' => 'Seitenbesucher nicht als Abbrecher werten nach',
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT1' => 'Seitenbesucher nicht als Abbrecher werten nach',
|
||||||
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT2' => 'Millisekunden (1000 = 1 Sekunde)',
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT2' => 'Millisekunden (1000 = 1 Sekunde)',
|
||||||
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT_DESC' => '<p>Analytics wertet alle Seitenbucher, die '.
|
'D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT_DESC' => '<p>Analytics wertet alle Seitenbucher, die '.
|
||||||
|
@ -231,6 +231,16 @@
|
|||||||
[{oxmultilang ident="D3_GOOGLEANALYTICS_BOUNCEOPT"}]
|
[{oxmultilang ident="D3_GOOGLEANALYTICS_BOUNCEOPT"}]
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<label for="blUseBounceRateOptimization">[{oxmultilang ident="D3_GOOGLEANALYTICS_BOUNCEOPT_SWITCH"}]</label>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<input type="hidden" name="value[blUseBounceRateOptimization]" value="0">
|
||||||
|
<input id="blUseBounceRateOptimization" class="edittext ext_edittext" type="checkbox" value="1" [{if $edit->getValue('blUseBounceRateOptimization')}]checked[{/if}] name="value[blUseBounceRateOptimization]">
|
||||||
|
[{oxinputhelp ident="D3_GOOGLEANALYTICS_BOUNCEOPT_SWITCH_DESC"}]
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="iSendNoBounceEventTime">[{oxmultilang ident="D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT1"}]</label>
|
<label for="iSendNoBounceEventTime">[{oxmultilang ident="D3_GOOGLEANALYTICS_BOUNCEOPT_SENDTIMEEVENT1"}]</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user