2350 |
robert |
1 |
<br/>
|
1274 |
robert |
2 |
|
5832 |
hartmut |
3 |
<div id="wpsg_tab">
|
|
|
4 |
<ul class="nav nav-tabs" role="tablist">
|
|
|
5 |
<li role="presentation" class="active"><a href="#tab1" aria-controls="home" role="tab" data-toggle="tab"><?php echo __('Auswertung Bestellstatus', 'wpsg'); ?></a></li>
|
|
|
6 |
<li role="presentation"><a href="#tab2" aria-controls="profile" role="tab" data-toggle="tab"><?php echo __('Piwik', 'wpsg'); ?></a></li>
|
|
|
7 |
<li role="presentation"><a href="#tab3" aria-controls="profile" role="tab" data-toggle="tab"><?php echo __('Google', 'wpsg'); ?></a></li>
|
7398 |
florian |
8 |
<li role="presentation"><a href="#tab4" aria-controls="profile" role="tab" data-toggle="tab"><?php echo __('Social Media', 'wpsg'); ?></a></li>
|
|
|
9 |
<li role="presentation"><a href="#tab5" aria-controls="messages" role="tab" data-toggle="tab"><?php echo __('Sonstiges', 'wpsg'); ?></a></li>
|
5832 |
hartmut |
10 |
</ul>
|
|
|
11 |
|
|
|
12 |
<div class="tab-content" >
|
2350 |
robert |
13 |
|
5832 |
hartmut |
14 |
<div role="tabpanel" class="tab-pane active" id="tab1" >
|
2352 |
robert |
15 |
|
|
|
16 |
<br/>
|
|
|
17 |
|
2350 |
robert |
18 |
<?php
|
|
|
19 |
|
|
|
20 |
$arSelectedStatus = explode(',', $this->get_option('wpsg_mod_statistics_status'));
|
|
|
21 |
|
|
|
22 |
echo __('Bitte wählen Sie die Zustände aus unter welchen die Bestellung eines Produktes als abgeschlossen Gültigkeit besitzt.', 'wpsg');
|
|
|
23 |
?>
|
|
|
24 |
<br/><br/>
|
|
|
25 |
<?php
|
|
|
26 |
foreach ($this->arStatus as $statusCode => $statusName)
|
|
|
27 |
{
|
|
|
28 |
echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_status['.$statusCode.']', $statusName, (is_array($arSelectedStatus) && is_string($arSelectedStatus[0]) && strlen($arSelectedStatus[0]) && in_array($statusCode, $arSelectedStatus)?true:false));
|
|
|
29 |
}
|
|
|
30 |
?>
|
5830 |
thomas |
31 |
|
|
|
32 |
<?php /* Kartendarstelung START */ ?>
|
|
|
33 |
|
|
|
34 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_googlekey', __('Google API-Key', 'wpsg'), $this->get_option('wpsg_mod_statistics_googlekey'), array('help' => 'wpsg_mod_statistics_googlekey')); ?>
|
|
|
35 |
|
|
|
36 |
<a class="button-primary" id="button-google" target="popup" href="https://console.developers.google.com/flows/enableapi?apiid=maps_backend&keyType=CLIENT_SIDE&reusekey=true" onclick="window.open('', 'popup', 'width=500;height=200,resizable=yes,menubar=yes')">
|
5857 |
thomas |
37 |
<?php echo __('Schlüssel über Ihr Googlekonto anfordern', 'wpsg'); ?>
|
5830 |
thomas |
38 |
</a>
|
|
|
39 |
|
|
|
40 |
<?php /* Kartendarstellung ENDE */?>
|
|
|
41 |
|
2350 |
robert |
42 |
<div class="wpsg_clearer"></div>
|
|
|
43 |
</div>
|
|
|
44 |
|
5832 |
hartmut |
45 |
<div role="tabpanel" class="tab-pane" id="tab2">
|
2352 |
robert |
46 |
|
|
|
47 |
<br/>
|
|
|
48 |
|
|
|
49 |
<?php echo __('Ermöglicht die Integration des Trackintools "Piwik".', 'wpsg'); ?>
|
|
|
50 |
|
|
|
51 |
<br/><br/>
|
|
|
52 |
|
2351 |
robert |
53 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_url', __('URL zur Piwik Installation', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_url'), array('hint' => __('Ohne Protokoll, Beispiel: piwik.domain.de', 'wpsg'))); ?>
|
|
|
54 |
<br />
|
|
|
55 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_generel', __('Allgemeine Protokollierung', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_generel')); ?>
|
3428 |
daniel |
56 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_SiteId', __('Piwik Seiten ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_SiteId'), array('help' => 'wpsg_mod_statistics_piwik_SiteId')); ?>
|
2351 |
robert |
57 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_ecommerce', __('Käufe (eCommerce) tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_ecommerce')); ?>
|
8307 |
karl |
58 |
<br />
|
|
|
59 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_productView', __('Produkte tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_productView')); ?>
|
|
|
60 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_categoryView', __('Kategorien tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_categoryView')); ?>
|
|
|
61 |
<br />
|
2351 |
robert |
62 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_basket', __('Warenkorb tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_basket')); ?>
|
|
|
63 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_basket_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_basket_target')); ?>
|
|
|
64 |
<br />
|
|
|
65 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_checkout', __('Checkout tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_checkout')); ?>
|
|
|
66 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_checkout_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_checkout_target')); ?>
|
|
|
67 |
<br />
|
|
|
68 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_checkout2', __('Checkout2 tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_checkout2')); ?>
|
|
|
69 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_checkout2_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_checkout2_target')); ?>
|
|
|
70 |
<br />
|
|
|
71 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_overview', __('Overview tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_overview')); ?>
|
|
|
72 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_overview_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_overview_target')); ?>
|
|
|
73 |
<br />
|
|
|
74 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_done', __('Done tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_done')); ?>
|
|
|
75 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_done_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_done_target')); ?>
|
2350 |
robert |
76 |
<div class="wpsg_clearer"></div>
|
|
|
77 |
</div>
|
|
|
78 |
|
5832 |
hartmut |
79 |
<div role="tabpanel" class="tab-pane" id="tab3">
|
3233 |
robert |
80 |
<?php
|
|
|
81 |
|
5255 |
thomas |
82 |
echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_active', __('Google Analytics aktivieren', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_active'), array('help' => 'wpsg_mod_statistics_google_active'));
|
3233 |
robert |
83 |
|
5255 |
thomas |
84 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_google_tracking_code', __('Tracking-Code', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_tracking_code'), array('help' => 'wpsg_mod_statistics_google_tracking_code'));
|
3233 |
robert |
85 |
|
5255 |
thomas |
86 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_google_domainname', __('Domainname', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_domainname'), array('help' => 'wpsg_mod_statistics_google_domainname'));
|
3233 |
robert |
87 |
|
5255 |
thomas |
88 |
echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_anonymise_ip_address', __('IP Adresse anonymisieren', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_anonymise_ip_address'), array('help' => 'wpsg_mod_statistics_google_anonymise_ip_address'));
|
3233 |
robert |
89 |
|
|
|
90 |
//echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_enable_first_touch_tracking', __('Enable First Touch Tracking', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_enable_first_touch_tracking'));
|
|
|
91 |
|
5255 |
thomas |
92 |
echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_track_page_load_time', __('Ladegeschwindigkeit der Website erfassen', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_track_page_load_time'), array('help' => 'wpsg_mod_statistics_google_track_page_load_time'));
|
7398 |
florian |
93 |
|
|
|
94 |
echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_opt_out', __('Google Opt Out', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_opt_out'), array('help' => 'wpsg_mod_statistics_google_opt_out'));
|
|
|
95 |
|
|
|
96 |
echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_enhanced_tracking_code', __('Enhanced Tacking Code', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_enhanced_tracking_code'), array('help' => 'wpsg_mod_statistics_google_enhanced_tracking_code'));
|
|
|
97 |
?>
|
3233 |
robert |
98 |
<h3><?php echo __('Zieleinrichtung in Google Analytics', 'wpsg'); ?></h3>
|
|
|
99 |
|
6005 |
hartmut |
100 |
<?php
|
|
|
101 |
echo wpsg_drawForm_Textstart();
|
|
|
102 |
echo wpsg_drawForm_TextEnd(__('Ziel', 'wpsg'), array('noP' => true));
|
|
|
103 |
?>
|
|
|
104 |
|
3233 |
robert |
105 |
<ul>
|
|
|
106 |
<li>
|
2350 |
robert |
107 |
<?php
|
3233 |
robert |
108 |
|
|
|
109 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_google_done', __('Bestellabschluss', 'wpsg'), trim(str_replace(get_site_url(), '', $this->getURL(wpsg_ShopController::URL_BASKET).'?wpsg_done')).'=', array('text' => true));
|
|
|
110 |
|
|
|
111 |
?>
|
|
|
112 |
</li>
|
|
|
113 |
</ul>
|
6005 |
hartmut |
114 |
<?php
|
|
|
115 |
echo wpsg_drawForm_Textstart();
|
|
|
116 |
echo wpsg_drawForm_TextEnd(__('Trichter (optional)', 'wpsg'), array('noP' => true));
|
|
|
117 |
?>
|
|
|
118 |
|
3233 |
robert |
119 |
<ul>
|
|
|
120 |
|
|
|
121 |
<li><?php echo wpsg_drawForm_Input('wpsg_mod_statistics_google_basket', __('Warenkorb', 'wpsg'), trim(str_replace(get_site_url(), '', $this->getURL(wpsg_ShopController::URL_BASKET))), array('text' => true)); ?></li>
|
|
|
122 |
<li><?php echo wpsg_drawForm_Input('wpsg_mod_statistics_google_checkout', __('Adresse', 'wpsg'), trim(str_replace(get_site_url(), '', $this->getURL(wpsg_ShopController::URL_CHECKOUT))).'=', array('text' => true)); ?></li>
|
|
|
123 |
<li><?php echo wpsg_drawForm_Input('wpsg_mod_statistics_google_checkout2', __('Versand', 'wpsg'), trim(str_replace(get_site_url(), '', $this->getURL(wpsg_ShopController::URL_CHECKOUT2))).'=', array('text' => true)); ?></li>
|
|
|
124 |
<li><?php echo wpsg_drawForm_Input('wpsg_mod_statistics_google_overview', __('Warenkorbübersicht', 'wpsg'), trim(str_replace(get_site_url(), '', $this->getURL(wpsg_ShopController::URL_OVERVIEW))).'=', array('text' => true)); ?></li>
|
|
|
125 |
|
|
|
126 |
</ul>
|
|
|
127 |
|
|
|
128 |
<div class="wpsg_clearer"></div>
|
|
|
129 |
</div>
|
7398 |
florian |
130 |
|
|
|
131 |
<div role="tabpanel" id="tab4" class="tab-pane">
|
|
|
132 |
<?php
|
|
|
133 |
echo wpsg_drawForm_input('wpsg_mod_statistics_socialmedia_fb_px', __('Facebook Pixel', 'wpsg'), $this->get_option('wpsg_mod_statistics_socialmedia_fb_px'), array('help' => 'wpsg_mod_statistics_socialmedia_fb_px'));
|
|
|
134 |
?>
|
|
|
135 |
<div class="wpsg_clearer"></div>
|
|
|
136 |
</div>
|
|
|
137 |
|
|
|
138 |
<div role="tabpanel" class="tab-pane" id="tab5">
|
3233 |
robert |
139 |
<?php
|
4932 |
thomas |
140 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_line_chart_width', __('Liniendiagramm (Breite in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_line_chart_width'), array('help' => 'wpsg_mod_statistics_line_chart_width'));
|
|
|
141 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_line_chart_height', __('Liniendiagramm (Hoehe in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_line_chart_height'), array('help' => 'wpsg_mod_statistics_line_chart_height'));
|
2350 |
robert |
142 |
|
4932 |
thomas |
143 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_pie_chart_width', __('Kuchendiagramm (Breite in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_pie_chart_width'), array('help' => 'wpsg_mod_statistics_pie_chart_width'));
|
|
|
144 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_pie_chart_height', __('Kuchendiagramm (Höhe in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_pie_chart_height'), array('help' => 'wpsg_mod_statistics_pie_chart_height'));
|
2350 |
robert |
145 |
|
4932 |
thomas |
146 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_bar_chart_width', __('Balkendiagramm (Breite in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_bar_chart_width'), array('help' => 'wpsg_mod_statistics_bar_chart_width'));
|
|
|
147 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_bar_chart_height', __('Balkendiagramm (Höhe in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_bar_chart_height'), array('help' => 'wpsg_mod_statistics_bar_chart_height'));
|
2350 |
robert |
148 |
|
4932 |
thomas |
149 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_topproductcount', __('Anzeige Top-Produkte', 'wpsg'), $this->get_option('wpsg_mod_statistics_topproductcount'), array('help' => 'wpsg_mod_statistics_topproductcount'));
|
6030 |
hartmut |
150 |
|
|
|
151 |
echo wpsg_drawForm_Input('wpsg_mod_statistics_productinterval', __('Intervall-Zeitraum für Produktstatistik', 'wpsg'), $this->get_option('wpsg_mod_statistics_productinterval'), array('help' => 'wpsg_mod_statistics_productinterval'));
|
2350 |
robert |
152 |
?>
|
|
|
153 |
<div class="wpsg_clearer"></div>
|
|
|
154 |
</div>
|
1274 |
robert |
155 |
|
2350 |
robert |
156 |
</div>
|
|
|
157 |
</div>
|
|
|
158 |
|
|
|
159 |
<script type="text/javascript">
|
|
|
160 |
|
|
|
161 |
jQuery(document).ready(function() {
|
|
|
162 |
jQuery('#wpsg_tab').wpsg_tab( {
|
|
|
163 |
'cookiename': 'wpsg_statistics_tab'
|
|
|
164 |
} );
|
|
|
165 |
} );
|
|
|
166 |
|
|
|
167 |
</script>
|