2350 |
robert |
1 |
<br/>
|
1274 |
robert |
2 |
|
2350 |
robert |
3 |
<div class="wpsg_admin_box" id="wpsg_tab">
|
|
|
4 |
<div class="head">
|
|
|
5 |
<div class="title">
|
|
|
6 |
<div class="tab" id="tab1"><?php echo __('Auswertung Bestellstatus', 'wpsg'); ?></div>
|
3233 |
robert |
7 |
<div class="tab" id="tab2"><?php echo __('Piwik', 'wpsg'); ?></div>
|
|
|
8 |
<div class="tab" id="tab3"><?php echo __('Google', 'wpsg'); ?></div>
|
|
|
9 |
<div class="tab" id="tab4"><?php echo __('Sonstiges', 'wpsg'); ?></div>
|
2350 |
robert |
10 |
<div class="wpsg_clear"></div>
|
|
|
11 |
</div>
|
|
|
12 |
</div>
|
|
|
13 |
<div class="content" id="wpsg_statistics_list">
|
|
|
14 |
|
|
|
15 |
<div id="tabcontent1" class="tabcontent">
|
2352 |
robert |
16 |
|
|
|
17 |
<br/>
|
|
|
18 |
|
2350 |
robert |
19 |
<?php
|
|
|
20 |
|
|
|
21 |
$arSelectedStatus = explode(',', $this->get_option('wpsg_mod_statistics_status'));
|
|
|
22 |
|
|
|
23 |
echo __('Bitte wählen Sie die Zustände aus unter welchen die Bestellung eines Produktes als abgeschlossen Gültigkeit besitzt.', 'wpsg');
|
|
|
24 |
?>
|
|
|
25 |
<br/><br/>
|
|
|
26 |
<?php
|
|
|
27 |
foreach ($this->arStatus as $statusCode => $statusName)
|
|
|
28 |
{
|
|
|
29 |
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));
|
|
|
30 |
}
|
|
|
31 |
?>
|
|
|
32 |
<div class="wpsg_clearer"></div>
|
|
|
33 |
</div>
|
|
|
34 |
|
|
|
35 |
<div id="tabcontent2" class="tabcontent">
|
2352 |
robert |
36 |
|
|
|
37 |
<br/>
|
|
|
38 |
|
|
|
39 |
<?php echo __('Ermöglicht die Integration des Trackintools "Piwik".', 'wpsg'); ?>
|
|
|
40 |
|
|
|
41 |
<br/><br/>
|
|
|
42 |
|
2351 |
robert |
43 |
<?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'))); ?>
|
|
|
44 |
<br />
|
|
|
45 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_generel', __('Allgemeine Protokollierung', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_generel')); ?>
|
3428 |
daniel |
46 |
<?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 |
47 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_ecommerce', __('Käufe (eCommerce) tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_ecommerce')); ?>
|
3486 |
daniel |
48 |
<br /><br />
|
2351 |
robert |
49 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_basket', __('Warenkorb tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_basket')); ?>
|
|
|
50 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_basket_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_basket_target')); ?>
|
|
|
51 |
<br />
|
|
|
52 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_checkout', __('Checkout tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_checkout')); ?>
|
|
|
53 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_checkout_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_checkout_target')); ?>
|
|
|
54 |
<br />
|
|
|
55 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_checkout2', __('Checkout2 tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_checkout2')); ?>
|
|
|
56 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_checkout2_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_checkout2_target')); ?>
|
|
|
57 |
<br />
|
|
|
58 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_overview', __('Overview tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_overview')); ?>
|
|
|
59 |
<?php echo wpsg_drawForm_Input('wpsg_mod_statistics_piwik_overview_target', __('Ziel ID', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_overview_target')); ?>
|
|
|
60 |
<br />
|
|
|
61 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_piwik_done', __('Done tracken', 'wpsg'), $this->get_option('wpsg_mod_statistics_piwik_done')); ?>
|
|
|
62 |
<?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 |
63 |
<div class="wpsg_clearer"></div>
|
|
|
64 |
</div>
|
|
|
65 |
|
|
|
66 |
<div id="tabcontent3" class="tabcontent">
|
3233 |
robert |
67 |
<?php
|
|
|
68 |
|
5255 |
thomas |
69 |
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 |
70 |
|
5255 |
thomas |
71 |
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 |
72 |
|
5255 |
thomas |
73 |
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 |
74 |
|
5255 |
thomas |
75 |
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 |
76 |
|
|
|
77 |
//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'));
|
|
|
78 |
|
5255 |
thomas |
79 |
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'));
|
3233 |
robert |
80 |
?>
|
|
|
81 |
<h3><?php echo __('Zieleinrichtung in Google Analytics', 'wpsg'); ?></h3>
|
|
|
82 |
|
|
|
83 |
<?php echo __('Ziel', 'wpsg'); ?> :
|
|
|
84 |
<ul>
|
|
|
85 |
<li>
|
2350 |
robert |
86 |
<?php
|
3233 |
robert |
87 |
|
|
|
88 |
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));
|
|
|
89 |
|
|
|
90 |
?>
|
|
|
91 |
</li>
|
|
|
92 |
</ul>
|
|
|
93 |
<?php echo __('Trichter (optional)', 'wpsg'); ?>:
|
|
|
94 |
<ul>
|
|
|
95 |
|
|
|
96 |
<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>
|
|
|
97 |
<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>
|
|
|
98 |
<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>
|
|
|
99 |
<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>
|
|
|
100 |
|
|
|
101 |
</ul>
|
|
|
102 |
|
|
|
103 |
<div class="wpsg_clearer"></div>
|
|
|
104 |
</div>
|
|
|
105 |
|
|
|
106 |
<div id="tabcontent4" class="tabcontent">
|
|
|
107 |
<?php
|
4932 |
thomas |
108 |
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'));
|
|
|
109 |
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 |
110 |
|
4932 |
thomas |
111 |
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'));
|
|
|
112 |
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 |
113 |
|
4932 |
thomas |
114 |
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'));
|
|
|
115 |
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 |
116 |
|
4932 |
thomas |
117 |
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'));
|
2350 |
robert |
118 |
?>
|
|
|
119 |
<div class="wpsg_clearer"></div>
|
|
|
120 |
</div>
|
1274 |
robert |
121 |
|
2350 |
robert |
122 |
</div>
|
|
|
123 |
</div>
|
|
|
124 |
|
|
|
125 |
<script type="text/javascript">
|
|
|
126 |
|
|
|
127 |
jQuery(document).ready(function() {
|
|
|
128 |
jQuery('#wpsg_tab').wpsg_tab( {
|
|
|
129 |
'cookiename': 'wpsg_statistics_tab'
|
|
|
130 |
} );
|
|
|
131 |
} );
|
|
|
132 |
|
|
|
133 |
</script>
|