added Google Shopping support
This commit is contained in:
parent
4b68552261
commit
ea39bbfad1
@ -6,12 +6,12 @@
|
||||
gts.push(["id", "[{$oD3GASettings->getValue('sD3GATSId')}]"]);
|
||||
gts.push(["badge_position", "BOTTOM_RIGHT"]);
|
||||
gts.push(["locale", "[{$sD3CurrentGTSLang}]"]);
|
||||
[{*
|
||||
gts.push(["google_base_offer_id", "foo"]);
|
||||
gts.push(["google_base_subaccount_id", "foo"]);
|
||||
gts.push(["google_base_country", "foo"]);
|
||||
gts.push(["google_base_language", "foo"]);
|
||||
*}]
|
||||
[{if $oD3GASettings->getValue('sD3GATSShoppingActive')}]
|
||||
[{*gts.push(["google_base_offer_id", ""]);*}]
|
||||
gts.push(["google_base_subaccount_id", "[{$oD3GASettings->getValue('sD3GATSShoppingAccountId')}]"]);
|
||||
gts.push(["google_base_country", "[{$oD3GASettings->getValue('sD3GATSShoppingCountry')|upper}]"]);
|
||||
gts.push(["google_base_language", "[{$oD3GASettings->getValue('sD3GATSShoppingLanguage')|lower}]"]);
|
||||
[{/if}]
|
||||
|
||||
(function() {
|
||||
var gts = document.createElement("script");
|
||||
@ -30,7 +30,7 @@
|
||||
[{assign var="oOrder" value=$oView->getOrder()}]
|
||||
[{assign var="oOrderCurrency" value=$oOrder->getOrderCurrency()}]
|
||||
[{assign var="oUser" value=$oOrder->getOrderUser()}]
|
||||
[{assign var="oUserCountry" value=$oD3GACountry}]
|
||||
[{assign var="oUserCountry" value=$oView->d3GAGetUserCountry()}]
|
||||
[{if $oD3GASettings->getValue('blD3GAUseNetto')}]
|
||||
[{assign var="sTotal" value=$oOrder->getOrderNetSum()}] [{* // total - required - has to be gross sum *}]
|
||||
[{else}]
|
||||
@ -49,10 +49,10 @@
|
||||
<span id="gts-o-discounts">-[{$oOrder->getFieldData('oxdiscount')}]</span>
|
||||
<span id="gts-o-shipping-total">[{$oOrder->getFieldData('oxdelcost')}]</span>
|
||||
<span id="gts-o-tax-total">[{math equation="fi + se + th + fo" fi=$oOrder->getFieldData('oxartvatprice1') se=$oOrder->getFieldData('oxartvatprice2') th=$oOrder->getFieldData('oxpayvat') fo=$oOrder->getFieldData('oxdelvat') format="%.2f"}]</span>
|
||||
<span id="gts-o-est-ship-date">has_completed</span>
|
||||
<span id="gts-o-est-delivery-date">has_completed</span>
|
||||
<span id="gts-o-est-has-preorder">has_completed</span>
|
||||
<span id="gts-o-est-has-digital">has_completed</span>
|
||||
<span id="gts-o-est-delivery-date">[{$oView->d3GAgetEstimatedDeliveryDate()}]</span>
|
||||
<span id="gts-o-est-ship-date">[{$oView->d3GAgetEstimatedShippingDate()}]</span>
|
||||
<span id="gts-o-est-has-preorder">[{$oView->d3GAhasBackorderPreorder()}]</span>
|
||||
<span id="gts-o-est-has-digital">[{$oView->d3GAhasDigitalGoods()}]</span>
|
||||
<!-- end order and merchant information -->
|
||||
|
||||
<!-- start repeated item specific information -->
|
||||
@ -68,12 +68,10 @@
|
||||
<span class="gts-i-name">[{$oOrderArticle->oxorderarticles__oxtitle->value|escape:"quotes"}]</span>
|
||||
<span class="gts-i-price">[{$sPrice|string_format:"%.2f"}]</span>
|
||||
<span class="gts-i-quantity">[{$oOrderArticle->getFieldData('oxamount')}]</span>
|
||||
[{*
|
||||
<span class="gts-i-prodsearch-id">ITEM_NAME</span>
|
||||
<span class="gts-i-prodsearch-store-id">ITEM_NAME</span>
|
||||
<span class="gts-i-prodsearch-country">ITEM_NAME</span>
|
||||
<span class="gts-i-prodsearch-language">ITEM_NAME</span>
|
||||
*}]
|
||||
<span class="gts-i-prodsearch-id">[{$oView->d3GAgetProductId($oOrderArticle)}]</span>
|
||||
<span class="gts-i-prodsearch-store-id">[{$oD3GASettings->getValue('sD3GATSShoppingAccountId')}]</span>
|
||||
<span class="gts-i-prodsearch-country">[{$oD3GASettings->getValue('sD3GATSShoppingCountry')|upper}]</span>
|
||||
<span class="gts-i-prodsearch-language">[{$oD3GASettings->getValue('sD3GATSShoppingLanguage')|lower}]</span>
|
||||
</span>
|
||||
[{/foreach}]
|
||||
<!-- end repeated item specific informations -->
|
||||
|
@ -56,7 +56,6 @@ class d3_oxcmp_utils_googleanalytics extends d3_oxcmp_utils_googleanalytics_pare
|
||||
$oParentView->addTplParam('sD3GASendPageViewParameter', $this->d3getSendPageViewParameters());
|
||||
$oParentView->addTplParam('sD3CurrentShopUrl', $this->d3GetCreateCurrentShopUrl());
|
||||
$oParentView->addTplParam('sD3CurrentGTSLang', $this->d3GetGTSLang());
|
||||
$oParentView->addTplParam('oD3GACountry', $this->d3GAGetUserCountry());
|
||||
|
||||
if ($oSet->getValue('blD3GASetRemarketing')) {
|
||||
$aInfos = $this->d3GetGAProdInfos();
|
||||
@ -621,22 +620,4 @@ class d3_oxcmp_utils_googleanalytics extends d3_oxcmp_utils_googleanalytics_pare
|
||||
|
||||
return $aParameter;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return oxcountry
|
||||
*/
|
||||
public function d3GAGetUserCountry()
|
||||
{
|
||||
/** @var thankyou $oCurrentView */
|
||||
$oCurrentView = oxRegistry::getConfig()->getActiveView();
|
||||
/** @var oxcountry $oCountry */
|
||||
$oCountry = oxNew('oxcountry');
|
||||
|
||||
if (method_exists($oCurrentView, 'getOrder')) {
|
||||
$sCountryId = $oCurrentView->getOrder()->getFieldData('oxbillcountryid');
|
||||
$oCountry->load($sCountryId);
|
||||
}
|
||||
|
||||
return $oCountry;
|
||||
}
|
||||
}
|
||||
|
@ -48,4 +48,115 @@ class d3_thankyou_googleanalytics extends d3_thankyou_googleanalytics_parent
|
||||
$sGACode
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return oxcountry
|
||||
*/
|
||||
public function d3GAGetUserCountry()
|
||||
{
|
||||
$sCountryId = $this->getOrder()->getFieldData('oxbillcountryid');
|
||||
/** @var oxcountry $oCountry */
|
||||
$oCountry = oxNew('oxcountry');
|
||||
$oCountry->load($sCountryId);
|
||||
|
||||
return $oCountry;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function d3GAgetEstimatedShippingDate()
|
||||
{
|
||||
return $this->d3GAgetEstimatedDate('iEstShippingTimeValue');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function d3GAgetEstimatedDeliveryDate()
|
||||
{
|
||||
return $this->d3GAgetEstimatedDate('iEstDeliveryTimeValue');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $sModCfgVarName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function d3GAgetEstimatedDate($sModCfgVarName)
|
||||
{
|
||||
$iTimeValue = d3_cfg_mod::get($this->_sModCfgId)->getValue($sModCfgVarName);
|
||||
|
||||
return date(
|
||||
'Y-m-d',
|
||||
strtotime('+ '.$iTimeValue.' day')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function d3GAhasBackorderPreorder()
|
||||
{
|
||||
if (oxRegistry::getConfig()->getConfigParam('blUseStock')) {
|
||||
/** @var oxorderarticle $oOrderArticle */
|
||||
foreach ($this->getOrder()->getOrderArticles() as $oOrderArticle) {
|
||||
/** @var oxarticle $oArticle */
|
||||
$oArticle = $oOrderArticle->getArticle();
|
||||
|
||||
if ($oArticle->getFieldData('oxstockflag') != 4 // Fremdlager
|
||||
&& $oOrderArticle->getFieldData('oxamount') > $oOrderArticle->getFieldData('oxstock')
|
||||
) {
|
||||
return 'Y';
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return 'N';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function d3GAhasDigitalGoods()
|
||||
{
|
||||
if (oxRegistry::getConfig()->getConfigParam('blUseStock')) {
|
||||
/** @var oxorderarticle $oOrderArticle */
|
||||
foreach ($this->getOrder()->getOrderArticles() as $oOrderArticle) {
|
||||
/** @var oxarticle $oArticle */
|
||||
$oArticle = $oOrderArticle->getArticle();
|
||||
$aArticleFiles = $oArticle->getArticleFiles();
|
||||
|
||||
if ($oArticle->getFieldData('oxisdownloadable')
|
||||
&& count($aArticleFiles)
|
||||
) {
|
||||
/** @var oxfile $oArticleFile */
|
||||
foreach ($aArticleFiles as $oArticleFile) {
|
||||
if ($oArticleFile->getFieldData('oxpurchasedonly')) {
|
||||
return 'Y';
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return 'N';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param oxorderarticle $oOrderArticle
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function d3GAgetProductId($oOrderArticle)
|
||||
{
|
||||
switch (d3_cfg_mod::get($this->_sModCfgId)->getValue('sD3GATSShoppingArtId')) {
|
||||
case 'oxartnum':
|
||||
return $oOrderArticle->getFieldData('oxartnum');
|
||||
case 'oxid':
|
||||
return $oOrderArticle->getFieldData('oxartid');
|
||||
};
|
||||
|
||||
return $oOrderArticle->getFieldData(d3_cfg_mod::get($this->_sModCfgId)->getValue('sD3GATSShoppingArtId'));
|
||||
}
|
||||
}
|
||||
|
@ -278,6 +278,25 @@ $aLang = array(
|
||||
|
||||
'D3_GOOGLEANALYTICS_TS_ACTIVE' => 'Trusted Store aktivieren',
|
||||
'D3_GOOGLEANALYTICS_TS_ID' => 'Trusted Store-ID',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER' => 'durchschnittliches Versanddatum ab Lager nach Bestelleingang',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER_DAYS' => 'Tag(e)',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER_DESC' => 'Google erwartet die Aussage, nach welchem Zeitraum ausgehend vom Bestelleingang die bestellten Artikel versendet werden. Geben Sie hier größten Zeitraum in Tagen an (z.B. 3 bei "1 bis 3 Tage"). Der genannte Termin wird dem Kunden per Mail mitgeteilt. Nach dem voraussichtlichen Versanddatum erhält der Kunde eine Umfrage zum abgeschlossenen Kauf.',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER' => 'durchschnittliches Lieferdatum beim Kunden nach Bestelleingang',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER_DAYS' => 'Tag(e)',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER_DESC' => 'Google erwartet die Aussage, nach welchem Zeitraum ausgehend vom Bestelleingang die bestellten Artikel in der Regel beim Kunden eintreffen. Geben Sie hier größten Zeitraum in Tagen an (z.B. 7 bei "5 bis 7 Tage"). Der genannte Termin wird dem Kunden per Mail mitgeteilt.',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPING' => 'Verbindung zu Google Shopping',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGACTIVE' => 'zusätzliche Daten aus Google Shopping übertragen',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGACTIVE_DESC' => 'Verwenden Sie Google Shopping und möchten zusätzliche Daten zur Identifizierung übertragen, setzen Sie diesen Haken. Die folgenden Angaben sind dann ebenfalls erforderlich.',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGACCOUNTID' => 'Google Shopping Kontonummer',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGACCOUNTID_DESC' => 'Tragen Sie hier die Kontonummer (Account ID) aus Google Shopping ein.',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGCOUNTRY' => 'Kürzel des Landes Ihres Google Shopping-Kontos',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGCOUNTRY_DESC' => 'Geben Sie hier das Land Ihres Google Shopping Kontos an. Erwartet wird der ISO-3166-Ländercode (z.B.: DE, CH, AT, FR).',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGLANGUAGE' => 'Kürzel der Sprache Ihres Google Shopping-Kontos',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGLANGUAGE_DESC' => 'Geben Sie hier die Sprache Ihres Google Shopping Kontos an. Erwartet wird der ISO-639-1-Sprachcode (z.B.: de, en, fr).',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGARTID' => 'Identifikation Ihrer Artikel bei Google Shopping',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_ARTNUM' => 'Artikelnummer (oxartnum)',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_OXID' => 'interne Ident-Nummer (oxid)',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_DESC' => 'Über welches Feld kann Google Shopping die dort hinterlegten Artikel identfizieren?',
|
||||
|
||||
'D3_GOOGLEANALYTICS_METADATA_TITLE' => 'Google Analytics Schnittstelle',
|
||||
'D3_GOOGLEANALYTICS_METADATA_DESC' => 'Dieses Modul stellt Ihnen die schnelle und '.
|
||||
|
@ -277,6 +277,25 @@ $aLang = array(
|
||||
|
||||
'D3_GOOGLEANALYTICS_TS_ACTIVE' => 'activate Trusted Store',
|
||||
'D3_GOOGLEANALYTICS_TS_ID' => 'Trusted Store-ID',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER' => 'durchschnittliches Versanddatum ab Lager nach Bestelleingang',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER_DAYS' => 'Tag(e)',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER_DESC' => 'Google erwartet die Aussage, nach welchem Zeitraum ausgehend vom Bestelleingang die bestellten Artikel versendet werden. Geben Sie hier größten Zeitraum in Tagen an (z.B. 3 bei "1 bis 3 Tage"). Der genannte Termin wird dem Kunden per Mail mitgeteilt. Nach dem voraussichtlichen Versanddatum erhält der Kunde eine Umfrage zum abgeschlossenen Kauf.',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER' => 'durchschnittliches Lieferdatum beim Kunden nach Bestelleingang',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER_DAYS' => 'Tag(e)',
|
||||
'D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER_DESC' => 'Google erwartet die Aussage, nach welchem Zeitraum ausgehend vom Bestelleingang die bestellten Artikel in der Regel beim Kunden eintreffen. Geben Sie hier größten Zeitraum in Tagen an (z.B. 7 bei "5 bis 7 Tage"). Der genannte Termin wird dem Kunden per Mail mitgeteilt.',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPING' => 'Verbindung zu Google Shopping',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGACTIVE' => 'zusätzliche Daten aus Google Shopping übertragen',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGACTIVE_DESC' => 'Verwenden Sie Google Shopping und möchten zusätzliche Daten zur Identifizierung übertragen, setzen Sie diesen Haken. Die folgenden Angaben sind dann ebenfalls erforderlich.',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGACCOUNTID' => 'Google Shopping Kontonummer',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGACCOUNTID_DESC' => 'Tragen Sie hier die Kontonummer (Account ID) aus Google Shopping ein.',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGCOUNTRY' => 'Kürzel des Landes Ihres Google Shopping-Kontos',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGCOUNTRY_DESC' => 'Geben Sie hier das Land Ihres Google Shopping Kontos an. Erwartet wird der ISO-3166-Ländercode (z.B.: DE, CH, AT, FR).',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGLANGUAGE' => 'Kürzel der Sprache Ihres Google Shopping-Kontos',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGLANGUAGE_DESC' => 'Geben Sie hier die Sprache Ihres Google Shopping Kontos an. Erwartet wird der ISO-639-1-Sprachcode (z.B.: de, en, fr).',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGARTID' => 'Identifikation Ihrer Artikel bei Google Shopping',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_ARTNUM' => 'Artikelnummer (oxartnum)',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_OXID' => 'interne Ident-Nummer (oxid)',
|
||||
'D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_DESC' => 'Über welches Feld kann Google Shopping die dort hinterlegten Artikel identfizieren?',
|
||||
|
||||
'D3_GOOGLEANALYTICS_METADATA_TITLE' => 'Google Analytics Schnittstelle',
|
||||
'D3_GOOGLEANALYTICS_METADATA_DESC' => 'Dieses Modul stellt Ihnen die schnelle und '.
|
||||
|
@ -114,69 +114,85 @@
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_TS_ID_DESC"}]
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="iEstShippingTimeValue">[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input id="iEstShippingTimeValue" type="text" name="value[iEstShippingTimeValue]" class="edittext ext_edittext" size="3" maxlength="5" value="[{if $edit->getValue('iEstShippingTimeValue')}][{$edit->getValue('iEstShippingTimeValue')}][{else}]1[{/if}]" [{$readonly}]>
|
||||
[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER_DAYS"}]
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_TS_ESTSHIPDATEAFTER_DESC"}]
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="iEstDeliveryTimeValue">[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input id="iEstDeliveryTimeValue" type="text" name="value[iEstDeliveryTimeValue]" class="edittext ext_edittext" size="3" maxlength="5" value="[{if $edit->getValue('iEstDeliveryTimeValue')}][{$edit->getValue('iEstDeliveryTimeValue')}][{else}]1[{/if}]" [{$readonly}]>
|
||||
[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER_DAYS"}]
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_TS_ESTDELDATEAFTER_DESC"}]
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{*
|
||||
<div class="groupExp">
|
||||
<div class="">
|
||||
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||||
<span style="font-weight: bold;">
|
||||
[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_SHOPPING"}]
|
||||
</span>
|
||||
</a>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="blD3GAAnonymizeIP">[{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_ANONYMIZEIP"}]</label>
|
||||
<label for="sD3GATSShoppingActive">[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_SHOPPINGACTIVE"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blD3GAAnonymizeIP]" value="0">
|
||||
<input id="blD3GAAnonymizeIP" class="edittext ext_edittext" type="checkbox" value="1" [{if $edit->getValue('blD3GAAnonymizeIP')}]checked[{/if}] name="value[blD3GAAnonymizeIP]">
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_ANONYMIZEIP_DESC"}]
|
||||
<input type="hidden" name="" value="0">
|
||||
<input id="sD3GATSShoppingActive" class="edittext ext_edittext" type="checkbox" value="1" [{if $edit->getValue('sD3GATSShoppingActive')}]checked[{/if}] name="value[sD3GATSShoppingActive]">
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_TS_SHOPPINGACTIVE_DESC"}]
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="blD3GASampleRate">[{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_SAMPLERATE"}]</label>
|
||||
<label for="sD3GATSShoppingAccountId">[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_SHOPPINGACCOUNTID"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[iD3GASampleRate]" value="0">
|
||||
<input type="text" id="iD3GASampleRate" class="edittext ext_edittext" value="[{if $edit->getValue('iD3GASampleRate')}][{$edit->getValue('iD3GASampleRate')}][{else}]100[{/if}]" size="5" maxlength="3" name="value[iD3GASampleRate]"> [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_SAMPLERATE_1"}]
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_SAMPLERATE_DESC"}]
|
||||
<input type="text" id="sD3GATSShoppingAccountId" class="edittext ext_edittext" value="[{if $edit->getValue('sD3GATSShoppingAccountId')}][{$edit->getValue('sD3GATSShoppingAccountId')}][{/if}]" size="20" maxlength="20" name="value[sD3GATSShoppingAccountId]">
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_TS_SHOPPINGACCOUNTID_DESC"}]
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="blD3GATrackPageLoadTime">[{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_TRACKPAGELOADTIME"}]</label>
|
||||
<label for="sD3GATSShoppingCountry">[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_SHOPPINGCOUNTRY"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blD3GATrackPageLoadTime]" value="0">
|
||||
<input id="blD3GATrackPageLoadTime" class="edittext ext_edittext" type="checkbox" value="1" [{if $edit->getValue('blD3GATrackPageLoadTime')}]checked[{/if}] name="value[blD3GATrackPageLoadTime]">
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_TRACKPAGELOADTIME_DESC"}]
|
||||
<input type="text" id="sD3GATSShoppingCountry" class="edittext ext_edittext" value="[{if $edit->getValue('sD3GATSShoppingCountry')}][{$edit->getValue('sD3GATSShoppingCountry')}][{else}]DE[{/if}]" size="5" maxlength="2" name="value[sD3GATSShoppingCountry]">
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_TS_SHOPPINGCOUNTRY_DESC"}]
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="blD3GASiteSpeedSampleRate">[{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_SITESPEEDSAMPLERATE"}]</label>
|
||||
<label for="sD3GATSShoppingLanguage">[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_SHOPPINGLANGUAGE"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[iD3GASiteSpeedSampleRate]" value="0">
|
||||
<input type="text" id="iD3GASiteSpeedSampleRate" class="edittext ext_edittext" value="[{if $edit->getValue('iD3GASiteSpeedSampleRate')}][{$edit->getValue('iD3GASiteSpeedSampleRate')}][{else}]1[{/if}]" size="5" maxlength="3" name="value[iD3GASiteSpeedSampleRate]"> [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_SITESPEEDSAMPLERATE_1"}]
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_SITESPEEDSAMPLERATE_DESC"}]
|
||||
<input type="text" id="sD3GATSShoppingLanguage" class="edittext ext_edittext" value="[{if $edit->getValue('sD3GATSShoppingLanguage')}][{$edit->getValue('sD3GATSShoppingLanguage')}][{else}]de[{/if}]" size="5" maxlength="2" name="value[sD3GATSShoppingLanguage]">
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_TS_SHOPPINGLANGUAGE_DESC"}]
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>
|
||||
<label for="blD3GAUseRemarketing">[{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_USEREMARKETING"}]</label>
|
||||
<label for="sD3GATSShoppingArtId">[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_SHOPPINGARTID"}]</label>
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="hidden" name="value[blD3GAUseRemarketing]" value="0">
|
||||
<input id="blD3GAUseRemarketing" class="edittext ext_edittext" type="checkbox" value="1" [{if $edit->getValue('blD3GAUseRemarketing')}]checked[{/if}] name="value[blD3GAUseRemarketing]">
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_USEREMARKETING_DESC"}]
|
||||
<select id="sD3GATSShoppingArtId" name="value[sD3GATSShoppingArtId]" size="1" class="edittext ext_edittext">
|
||||
<option value="oxartnum" [{if $edit->getValue('sD3GATSShoppingArtId') == 'oxartnum'}]selected[{/if}]>[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_ARTNUM"}]</option>
|
||||
<option value="oxid" [{if $edit->getValue('sD3GATSShoppingArtId') == 'oxid'}]selected[{/if}]>[{oxmultilang ident="D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_OXID"}]</option>
|
||||
</select>
|
||||
[{oxinputhelp ident="D3_GOOGLEANALYTICS_TS_SHOPPINGARTID_DESC"}]
|
||||
</dd>
|
||||
</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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user