Woopra_Analytics_Event_And_Visitor_Tracking - Version 1.0.2

Version Notes

Updated reserved properties customer_name, customer_email, customer_company to name, email, company.
Moved page view track to before custom event track.

Download this release

Release Info

Developer Woopra
Extension Woopra_Analytics_Event_And_Visitor_Tracking
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/community/Woopra/Analytics/etc/config.xml CHANGED
@@ -84,9 +84,9 @@
84
  <outgoing_tracking_pause></outgoing_tracking_pause>
85
  </woopra_advanced>
86
  <woopra_outputs>
87
- <customer_name>customer_name</customer_name>
88
- <customer_email>customer_email</customer_email>
89
- <customer_company>customer_company</customer_company>
90
  <customer_location>customer_location</customer_location>
91
  <customer_phone>customer_phone</customer_phone>
92
  <customer_group>customer_group</customer_group>
84
  <outgoing_tracking_pause></outgoing_tracking_pause>
85
  </woopra_advanced>
86
  <woopra_outputs>
87
+ <customer_name>name</customer_name>
88
+ <customer_email>email</customer_email>
89
+ <customer_company>company</customer_company>
90
  <customer_location>customer_location</customer_location>
91
  <customer_phone>customer_phone</customer_phone>
92
  <customer_group>customer_group</customer_group>
app/code/community/Woopra/Analytics/etc/system.xml CHANGED
@@ -223,7 +223,7 @@
223
  <fields>
224
  <customer_name translate="label">
225
  <label>Customer Name</label>
226
- <comment>Customer name output name (empty to disable).</comment>
227
  <frontend_type>text</frontend_type>
228
  <sort_order>10</sort_order>
229
  <show_in_default>1</show_in_default>
@@ -232,7 +232,7 @@
232
  </customer_name>
233
  <customer_email translate="label">
234
  <label>Customer Email</label>
235
- <comment>Customer email output name (empty to disable).</comment>
236
  <frontend_type>text</frontend_type>
237
  <sort_order>20</sort_order>
238
  <show_in_default>1</show_in_default>
@@ -241,7 +241,7 @@
241
  </customer_email>
242
  <customer_company translate="label">
243
  <label>Customer Company</label>
244
- <comment>Customer company output name (empty to disable).</comment>
245
  <frontend_type>text</frontend_type>
246
  <sort_order>30</sort_order>
247
  <show_in_default>1</show_in_default>
223
  <fields>
224
  <customer_name translate="label">
225
  <label>Customer Name</label>
226
+ <comment>Customer name output name (empty to disable). Note: This is a reserved property and should not be changed!</comment>
227
  <frontend_type>text</frontend_type>
228
  <sort_order>10</sort_order>
229
  <show_in_default>1</show_in_default>
232
  </customer_name>
233
  <customer_email translate="label">
234
  <label>Customer Email</label>
235
+ <comment>Customer email output name (empty to disable). Note: This is a reserved property and should not be changed!</comment>
236
  <frontend_type>text</frontend_type>
237
  <sort_order>20</sort_order>
238
  <show_in_default>1</show_in_default>
241
  </customer_email>
242
  <customer_company translate="label">
243
  <label>Customer Company</label>
244
+ <comment>Customer company output name (empty to disable). Note: This is a reserved property and should not be changed!</comment>
245
  <frontend_type>text</frontend_type>
246
  <sort_order>30</sort_order>
247
  <show_in_default>1</show_in_default>
app/design/frontend/base/default/template/woopra/script.phtml CHANGED
@@ -57,9 +57,9 @@ function woopraReady(tracker) {
57
  <?php if ($this->getSetting('visitor_timeout') != NULL) { ?> tracker.setIdleTimeout(<?php echo $this->getSetting('visitor_timeout') * 60 * 1000; ?>);<?php echo "\n"; ?>
58
  <?php } else { ?> tracker.setIdleTimeout(1800000);<?php echo "\n"; } ?>
59
  <?php if ($this->getSetting('subdomain') != NULL) { ?> tracker.option(<?php echo $this->getSetting('subdomain'); ?>);<?php echo "\n"; } ?>
60
- <?php if ($this->getSetting('name') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerName(); ?>', '<?php echo $this->getSetting('customer_name'); ?>');<?php echo "\n"; } ?>
61
- <?php if ($this->getSetting('email') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerEmail(); ?>', '<?php echo $this->getSetting('customer_email'); ?>');<?php echo "\n"; } ?>
62
- <?php if ($this->getSetting('company') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerCompany(); ?>', '<?php echo $this->getSetting('customer_company'); ?>');<?php echo "\n"; } ?>
63
  <?php if ($this->getSetting('customer_location') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerLocation(); ?>', '<?php echo $this->getSetting('customer_location'); ?>');<?php echo "\n"; } ?>
64
  <?php if ($this->getSetting('customer_phone') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerPhone(); ?>', '<?php echo $this->getSetting('customer_phone'); ?>');<?php echo "\n"; } ?>
65
  <?php if ($this->getSetting('customer_group') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerGroup(); ?>', '<?php echo $this->getSetting('customer_group'); ?>');<?php echo "\n"; } ?>
57
  <?php if ($this->getSetting('visitor_timeout') != NULL) { ?> tracker.setIdleTimeout(<?php echo $this->getSetting('visitor_timeout') * 60 * 1000; ?>);<?php echo "\n"; ?>
58
  <?php } else { ?> tracker.setIdleTimeout(1800000);<?php echo "\n"; } ?>
59
  <?php if ($this->getSetting('subdomain') != NULL) { ?> tracker.option(<?php echo $this->getSetting('subdomain'); ?>);<?php echo "\n"; } ?>
60
+ <?php if ($this->getSetting('customer_name') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerName(); ?>', '<?php echo $this->getSetting('customer_name'); ?>');<?php echo "\n"; } ?>
61
+ <?php if ($this->getSetting('customer_email') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerEmail(); ?>', '<?php echo $this->getSetting('customer_email'); ?>');<?php echo "\n"; } ?>
62
+ <?php if ($this->getSetting('customer_company') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerCompany(); ?>', '<?php echo $this->getSetting('customer_company'); ?>');<?php echo "\n"; } ?>
63
  <?php if ($this->getSetting('customer_location') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerLocation(); ?>', '<?php echo $this->getSetting('customer_location'); ?>');<?php echo "\n"; } ?>
64
  <?php if ($this->getSetting('customer_phone') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerPhone(); ?>', '<?php echo $this->getSetting('customer_phone'); ?>');<?php echo "\n"; } ?>
65
  <?php if ($this->getSetting('customer_group') != NULL) { ?> tracker.addVisitorProperty('<?php echo Mage::helper('woopra')->getCustomerGroup(); ?>', '<?php echo $this->getSetting('customer_group'); ?>');<?php echo "\n"; } ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Woopra_Analytics_Event_And_Visitor_Tracking</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -22,8 +22,8 @@ Note: This module will not work without a subscription to the &lt;a href="http:/
22
  Moved page view track to before custom event track.</notes>
23
  <authors><author><name>Woopra</name><user>Woopra</user><email>support@k3live.com</email></author><author><name>K3Live</name><user>K3Live</user><email>support@k3live.com</email></author></authors>
24
  <date>2013-07-09</date>
25
- <time>13:58:51</time>
26
- <contents><target name="magecommunity"><dir><dir name="Woopra"><dir name="Analytics"><dir name="Block"><file name="Script.php" hash="a63b357f5c16bbed150b6bc3042b685a"/></dir><dir name="Helper"><file name="Data.php" hash="be8537fcc78c89b27604ac914f071e7b"/></dir><dir name="Model"><file name="Observer.php" hash="d0fa66a3110f759206bf39572fa10276"/></dir><dir name="etc"><file name="config.xml" hash="fe6ba38e23d9e35e4a1843fe9273acb6"/><file name="system.xml" hash="526dceb67dcbeda11aad1d4648ff105e"/></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="woopra.xml" hash="2e2a05eaee9dc48e9aba6f24b66fd9e3"/></dir><dir name="template"><dir name="woopra"><file name="script.phtml" hash="98050f39056a4ddc3926f8c3be06e662"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Woopra_Analytics.xml" hash="a4715864833c0024017692871431cb91"/></dir></dir></target></contents>
27
  <compatible/>
28
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
29
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Woopra_Analytics_Event_And_Visitor_Tracking</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
7
  <channel>community</channel>
22
  Moved page view track to before custom event track.</notes>
23
  <authors><author><name>Woopra</name><user>Woopra</user><email>support@k3live.com</email></author><author><name>K3Live</name><user>K3Live</user><email>support@k3live.com</email></author></authors>
24
  <date>2013-07-09</date>
25
+ <time>23:04:02</time>
26
+ <contents><target name="magecommunity"><dir><dir name="Woopra"><dir name="Analytics"><dir name="Block"><file name="Script.php" hash="a63b357f5c16bbed150b6bc3042b685a"/></dir><dir name="Helper"><file name="Data.php" hash="be8537fcc78c89b27604ac914f071e7b"/></dir><dir name="Model"><file name="Observer.php" hash="d0fa66a3110f759206bf39572fa10276"/></dir><dir name="etc"><file name="config.xml" hash="13020b9b9ee2dface0bd8a47bee08ca9"/><file name="system.xml" hash="df7c2385788799a7805889ffdaced707"/></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="woopra.xml" hash="2e2a05eaee9dc48e9aba6f24b66fd9e3"/></dir><dir name="template"><dir name="woopra"><file name="script.phtml" hash="93a56b728d139060084de667270bf74e"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Woopra_Analytics.xml" hash="a4715864833c0024017692871431cb91"/></dir></dir></target></contents>
27
  <compatible/>
28
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
29
  </package>