merge dev_#2702 branch to rel_3.x branch
This commit is contained in:
commit
859a93b947
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -155,6 +155,7 @@ Sources/doku/12_gaTrackingOverview-Dateien/star_off.gif -text
|
|||||||
Sources/doku/12_gaTrackingOverview.html -text
|
Sources/doku/12_gaTrackingOverview.html -text
|
||||||
changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_googleadwordscode.tpl -text
|
changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_googleadwordscode.tpl -text
|
||||||
changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_googleanalytics.tpl -text
|
changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_googleanalytics.tpl -text
|
||||||
|
changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_optout.tpl -text
|
||||||
changed_full/470-/modules/d3/d3_googleanalytics/views/tpl/widget/d3_googleanalytics.tpl -text
|
changed_full/470-/modules/d3/d3_googleanalytics/views/tpl/widget/d3_googleanalytics.tpl -text
|
||||||
changed_full/470-/modules/d3/d3_googleanalytics/views/tpl/widget/d3ga_universal.tpl -text
|
changed_full/470-/modules/d3/d3_googleanalytics/views/tpl/widget/d3ga_universal.tpl -text
|
||||||
changed_full/470-/modules/d3/d3_googleanalytics/views/tpl/widget/inc/d3ga_universal_adwords.tpl -text
|
changed_full/470-/modules/d3/d3_googleanalytics/views/tpl/widget/inc/d3ga_universal_adwords.tpl -text
|
||||||
@ -183,8 +184,11 @@ copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalyt
|
|||||||
copy_this/modules/d3/d3_googleanalytics/modules/models/d3_oxbasket_googleanalytics.php -text
|
copy_this/modules/d3/d3_googleanalytics/modules/models/d3_oxbasket_googleanalytics.php -text
|
||||||
copy_this/modules/d3/d3_googleanalytics/modules/models/d3_oxbasketitem_googleanalytics.php -text
|
copy_this/modules/d3/d3_googleanalytics/modules/models/d3_oxbasketitem_googleanalytics.php -text
|
||||||
copy_this/modules/d3/d3_googleanalytics/modules/models/d3_oxorder_googleanalytics.php -text
|
copy_this/modules/d3/d3_googleanalytics/modules/models/d3_oxorder_googleanalytics.php -text
|
||||||
|
copy_this/modules/d3/d3_googleanalytics/out/src/d3_googleanalytics.css -text
|
||||||
copy_this/modules/d3/d3_googleanalytics/picture.png -text
|
copy_this/modules/d3/d3_googleanalytics/picture.png -text
|
||||||
copy_this/modules/d3/d3_googleanalytics/setup/d3_googleanalytics_update.php -text
|
copy_this/modules/d3/d3_googleanalytics/setup/d3_googleanalytics_update.php -text
|
||||||
|
copy_this/modules/d3/d3_googleanalytics/translations/de/d3_googleanalytics_lang.php -text
|
||||||
|
copy_this/modules/d3/d3_googleanalytics/translations/en/d3_googleanalytics_lang.php -text
|
||||||
copy_this/modules/d3/d3_googleanalytics/views/admin/de/d3_googleanalytics_lang.php -text
|
copy_this/modules/d3/d3_googleanalytics/views/admin/de/d3_googleanalytics_lang.php -text
|
||||||
copy_this/modules/d3/d3_googleanalytics/views/admin/en/d3_googleanalytics_lang.php -text
|
copy_this/modules/d3/d3_googleanalytics/views/admin/en/d3_googleanalytics_lang.php -text
|
||||||
copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_adwords.tpl -text
|
copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_adwords.tpl -text
|
||||||
|
@ -7,4 +7,5 @@
|
|||||||
[{* Content shouldn't rendered in disabled module!
|
[{* Content shouldn't rendered in disabled module!
|
||||||
Because of this reason, it can't included in d3modcfgcheck block. *}]
|
Because of this reason, it can't included in d3modcfgcheck block. *}]
|
||||||
[{include file=$sD3GATTpl}]
|
[{include file=$sD3GATTpl}]
|
||||||
|
[{oxstyle include=$oViewConf->getModuleUrl('d3_googleanalytics', 'out/src/d3_googleanalytics.css')}]
|
||||||
[{/if}]
|
[{/if}]
|
@ -0,0 +1,24 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
[{if $oD3GASettings->getValue('blD3GAUseOptOut')}]
|
||||||
|
<div id="d3GAOptOut">
|
||||||
|
<a href="javascript:gaOptout();">[{oxmultilang ident="D3_GOOGLEANALYTICS_OPTOUT"}]</a>
|
||||||
|
[{assign var='sGaId' value=$oD3GASettings->getValue('sD3GAId')}]
|
||||||
|
[{oxscript add="
|
||||||
|
var gaProperty = '`$sGaId`';
|
||||||
|
|
||||||
|
var disableStr = 'ga-disable-' + gaProperty;
|
||||||
|
if (document.cookie.indexOf(disableStr + '=true') > -1) {
|
||||||
|
window[disableStr] = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
function gaOptout() {
|
||||||
|
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
|
||||||
|
window[disableStr] = true;
|
||||||
|
$('#d3GAOptOut').remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (window[disableStr]) {
|
||||||
|
$('#d3GAOptOut').remove();
|
||||||
|
}"}]
|
||||||
|
</div>
|
||||||
|
[{/if}]
|
@ -1,6 +1,21 @@
|
|||||||
[{if $blD3GoogleAnalyticsActive && $oD3GASettings->getValue('sD3GAId')}]
|
[{if $blD3GoogleAnalyticsActive && $oD3GASettings->getValue('sD3GAId')}]
|
||||||
[{capture name="d3GATrackCode"}]
|
[{capture name="d3GATrackCode"}]
|
||||||
[{strip}]
|
[{strip}]
|
||||||
|
[{if $oD3GASettings->getValue('blD3GAUseOptOut')}]
|
||||||
|
<script type="text/javascript">
|
||||||
|
var gaProperty = '[{$oD3GASettings->getValue('sD3GAId')}]';
|
||||||
|
var disableStr = 'ga-disable-' + gaProperty;
|
||||||
|
if (document.cookie.indexOf(disableStr + '=true') > -1) {
|
||||||
|
window[disableStr] = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
function gaOptout() {
|
||||||
|
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
|
||||||
|
window[disableStr] = true;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
[{/if}]
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function(i,s,o,g,r,a,m){
|
(function(i,s,o,g,r,a,m){
|
||||||
i['GoogleAnalyticsObject']=r;
|
i['GoogleAnalyticsObject']=r;
|
||||||
|
@ -103,5 +103,10 @@ $aModule = array(
|
|||||||
'block'=>'base_js',
|
'block'=>'base_js',
|
||||||
'file'=>'/views/blocks/layout/d3_base_googleadwordscode.tpl'
|
'file'=>'/views/blocks/layout/d3_base_googleadwordscode.tpl'
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
'template' => 'layout/footer.tpl',
|
||||||
|
'block' => 'footer_main',
|
||||||
|
'file' => '/views/blocks/layout/d3_base_optout.tpl',
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
#d3GAOptOut {
|
||||||
|
position : fixed;
|
||||||
|
bottom : -3px;
|
||||||
|
left : -5px;
|
||||||
|
font-size : 11px;
|
||||||
|
padding : 4px 20px 6px 17px;
|
||||||
|
background : none repeat scroll 0 0 #fff;
|
||||||
|
opacity : 0.6;
|
||||||
|
z-index : 9999;
|
||||||
|
border : 1px solid #d3d3d3;
|
||||||
|
border-radius : 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#d3GAOptOut a {
|
||||||
|
display : block;
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$sLangName = "Deutsch";
|
||||||
|
|
||||||
|
// -------------------------------
|
||||||
|
// RESOURCE IDENTITFIER = STRING
|
||||||
|
// -------------------------------
|
||||||
|
$aLang = array(
|
||||||
|
|
||||||
|
//Navigation
|
||||||
|
'charset' => 'ISO-8859-15',
|
||||||
|
'D3_GOOGLEANALYTICS_OPTOUT' => 'Klicken Sie hier, um Google Analytics zu deaktivieren.',
|
||||||
|
);
|
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$sLangName = "English";
|
||||||
|
|
||||||
|
// -------------------------------
|
||||||
|
// RESOURCE IDENTITFIER = STRING
|
||||||
|
// -------------------------------
|
||||||
|
$aLang = array(
|
||||||
|
|
||||||
|
//Navigation
|
||||||
|
'charset' => 'ISO-8859-15',
|
||||||
|
'D3_GOOGLEANALYTICS_OPTOUT' => 'Click here to opt-out of Google Analytics.',
|
||||||
|
);
|
@ -256,6 +256,12 @@ $aLang = array(
|
|||||||
'über standardisierte Schnittstellen die Besucherdaten und eCommerce-Daten zu Google übertragen. '.
|
'über standardisierte Schnittstellen die Besucherdaten und eCommerce-Daten zu Google übertragen. '.
|
||||||
'Ebenfalls übermittelt werden Daten der Website-Suche. Dem Modul liegen angepaßte Templates bei, '.
|
'Ebenfalls übermittelt werden Daten der Website-Suche. Dem Modul liegen angepaßte Templates bei, '.
|
||||||
'mit denen auch die Trichter ordentlich protokolliert werden.',
|
'mit denen auch die Trichter ordentlich protokolliert werden.',
|
||||||
|
'D3_GOOGLEANALYTICS_MAIN_USEOPTOUT' => 'Opt Out anbieten',
|
||||||
|
'D3_GOOGLEANALYTICS_MAIN_USEOPTOUT_DESC' => 'Wird dieser Haken gesetzt, wird im Frontend '.
|
||||||
|
'ein Opt-Out-Bereich im Header angezeigt. In dem Bereich kann der Benutzer einen Link anklicken, '.
|
||||||
|
'mit dem das Tracking für diese Seite deaktiviert wird. Weitere Informationen finden Sie '.
|
||||||
|
'<a href="https://developers.google.com/analytics/devguides/collection/gajs/?hl=de#disable" target="gahelp">'.
|
||||||
|
'hier</a>.',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -256,6 +256,12 @@ $aLang = array(
|
|||||||
'über standardisierte Schnittstellen die Besucherdaten und eCommerce-Daten zu Google übertragen. '.
|
'über standardisierte Schnittstellen die Besucherdaten und eCommerce-Daten zu Google übertragen. '.
|
||||||
'Ebenfalls übermittelt werden Daten der Website-Suche. Dem Modul liegen angepaßte Templates bei, '.
|
'Ebenfalls übermittelt werden Daten der Website-Suche. Dem Modul liegen angepaßte Templates bei, '.
|
||||||
'mit denen auch die Trichter ordentlich protokolliert werden.',
|
'mit denen auch die Trichter ordentlich protokolliert werden.',
|
||||||
|
'D3_GOOGLEANALYTICS_MAIN_USEOPTOUT' => 'Opt Out anbieten',
|
||||||
|
'D3_GOOGLEANALYTICS_MAIN_USEOPTOUT_DESC' => 'Wird dieser Haken gesetzt, wird im Frontend '.
|
||||||
|
'ein Opt-Out-Bereich im Header angezeigt. In dem Bereich kann der Benutzer einen Link anklicken, '.
|
||||||
|
'mit dem das Tracking für diese Seite deaktiviert wird. Weitere Informationen finden Sie '.
|
||||||
|
'<a href="https://developers.google.com/analytics/devguides/collection/gajs/?hl=de#disable" target="gahelp">'.
|
||||||
|
'hier</a>.',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -101,8 +101,6 @@
|
|||||||
<input type="submit" value="[{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_BTN"}]">
|
<input type="submit" value="[{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_BTN"}]">
|
||||||
<span></span>
|
<span></span>
|
||||||
</span>
|
</span>
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
[{else}]
|
[{else}]
|
||||||
|
|
||||||
[{if $oView->getGaType() == 'universal'}]
|
[{if $oView->getGaType() == 'universal'}]
|
||||||
@ -197,6 +195,16 @@
|
|||||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_USEREMARKETING_DESC"}]
|
[{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_USEREMARKETING_DESC"}]
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<label for="blD3GAUseOptOut">[{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_USEOPTOUT"}]</label>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<input type="hidden" name="value[blD3GAUseOptOut]" value="0">
|
||||||
|
<input id="blD3GAUseOptOut" class="edittext ext_edittext" type="checkbox" value="1" [{if $edit->getValue('blD3GAUseOptOut')}]checked[{/if}] name="value[blD3GAUseOptOut]">
|
||||||
|
[{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_USEOPTOUT_DESC"}]
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -362,6 +370,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</form>
|
||||||
|
|
||||||
[{assign var="incpath" value=$oViewConf->getModulePath('d3modcfg_lib')|cat:"views/admin/tpl/d3_cfg_mod_inc.tpl"}]
|
[{assign var="incpath" value=$oViewConf->getModulePath('d3modcfg_lib')|cat:"views/admin/tpl/d3_cfg_mod_inc.tpl"}]
|
||||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
=> 3.2.0.1
|
||||||
|
- neue Option "Opt Out anzeigen lassen"
|
||||||
|
|
||||||
=> 3.2.0.0
|
=> 3.2.0.0
|
||||||
- Tracking für gekaufte Artikel enthält Daten zur Kategorie / Seite, aus der die Artikel zuerst in den Warenkorb gelegt wurden
|
- Tracking für gekaufte Artikel enthält Daten zur Kategorie / Seite, aus der die Artikel zuerst in den Warenkorb gelegt wurden
|
||||||
- Bugfix: Artikeltitel werden escaped, sofern Quotes enthalten sind
|
- Bugfix: Artikeltitel werden escaped, sofern Quotes enthalten sind
|
||||||
|
Loading…
Reference in New Issue
Block a user