Version Notes
Woopra AppConnect event naming changes.
Download this release
Release Info
| Developer | Woopra |
| Extension | Woopra_Analytics_Event_And_Visitor_Tracking |
| Version | 1.3.0 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.0 to 1.3.0
app/code/community/Woopra/Analytics/Model/Observer.php
CHANGED
|
@@ -15,7 +15,7 @@ class Woopra_Analytics_Model_Observer extends Varien_Event_Observer
|
|
| 15 |
if (Mage::helper('woopra')->getNewsletterSubscribed() != NULL) {
|
| 16 |
$event = $observer->getEvent();
|
| 17 |
$model = $event->getSubscriber();
|
| 18 |
-
$subscriber_email = $model->getData(subscriber_email);
|
| 19 |
if ($model->getIsStatusChanged() == 1 && $model->getData(subscriber_status) == 1) {
|
| 20 |
Mage::getSingleton('core/session')->setData('woopra_subscriber_changed', 1);
|
| 21 |
Mage::getSingleton('core/session')->setData('woopra_subscriber_status', Mage::helper('woopra')->getNewsletterSubscribed());
|
|
@@ -381,6 +381,15 @@ class Woopra_Analytics_Model_Observer extends Varien_Event_Observer
|
|
| 381 |
}
|
| 382 |
}
|
| 383 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 384 |
/* Send tracking events during checkout using HTTP Tracking API - Coming One Day(TM)
|
| 385 |
if ($observer->getEvent()->getControllerAction()->getFullActionName() == 'checkout_onepage_progress')
|
| 386 |
{
|
| 15 |
if (Mage::helper('woopra')->getNewsletterSubscribed() != NULL) {
|
| 16 |
$event = $observer->getEvent();
|
| 17 |
$model = $event->getSubscriber();
|
| 18 |
+
$subscriber_email = $model->getData('subscriber_email');
|
| 19 |
if ($model->getIsStatusChanged() == 1 && $model->getData(subscriber_status) == 1) {
|
| 20 |
Mage::getSingleton('core/session')->setData('woopra_subscriber_changed', 1);
|
| 21 |
Mage::getSingleton('core/session')->setData('woopra_subscriber_status', Mage::helper('woopra')->getNewsletterSubscribed());
|
| 381 |
}
|
| 382 |
}
|
| 383 |
|
| 384 |
+
/* Payment Status Coming Soon
|
| 385 |
+
if ($observer->getEvent()->getControllerAction()->getFullActionName() == 'checkout_onepage_saveOrder')
|
| 386 |
+
{
|
| 387 |
+
$request = $observer->getEvent()->getControllerAction()->getRequest()->getParams();
|
| 388 |
+
if ($request) {
|
| 389 |
+
Mage::log($request, null, 'woopra.log');
|
| 390 |
+
}
|
| 391 |
+
}*/
|
| 392 |
+
|
| 393 |
/* Send tracking events during checkout using HTTP Tracking API - Coming One Day(TM)
|
| 394 |
if ($observer->getEvent()->getControllerAction()->getFullActionName() == 'checkout_onepage_progress')
|
| 395 |
{
|
app/code/community/Woopra/Analytics/etc/config.xml
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
<config>
|
| 13 |
<modules>
|
| 14 |
<Woopra_Analytics>
|
| 15 |
-
<version>1.
|
| 16 |
</Woopra_Analytics>
|
| 17 |
</modules>
|
| 18 |
<global>
|
|
@@ -91,49 +91,49 @@
|
|
| 91 |
<name>name</name>
|
| 92 |
<email>email</email>
|
| 93 |
<company>company</company>
|
| 94 |
-
<customer_location>customer_location</customer_location>
|
| 95 |
-
<customer_phone>customer_phone</customer_phone>
|
| 96 |
-
<customer_group>customer_group</customer_group>
|
| 97 |
-
<customer_lifetime_sales>customer_lifetime_sales</customer_lifetime_sales>
|
| 98 |
-
<customer_number_orders>customer_number_orders</customer_number_orders>
|
| 99 |
-
<customer_create_date>customer_create_date</customer_create_date>
|
| 100 |
-
<customer_cart_items>customer_cart_items</customer_cart_items>
|
| 101 |
-
<customer_cart_total>customer_cart_total</customer_cart_total>
|
| 102 |
-
<customer_wishlist_items>customer_wishlist_items</customer_wishlist_items>
|
| 103 |
-
<customer_wishlist_total>customer_wishlist_total</customer_wishlist_total>
|
| 104 |
</woopra_outputs>
|
| 105 |
<woopra_events>
|
| 106 |
-
<catalog_search>catalog_search</catalog_search>
|
| 107 |
-
<changed_password>changed_password</changed_password>
|
| 108 |
-
<checkout_billing_address>checkout_billing_address</checkout_billing_address>
|
| 109 |
-
<checkout_shipping_address>checkout_shipping_address</checkout_shipping_address>
|
| 110 |
-
<checkout_shipping_method>checkout_shipping_method</checkout_shipping_method>
|
| 111 |
-
<checkout_payment_method>checkout_payment_method</checkout_payment_method>
|
| 112 |
-
<checkout_review>checkout_review</checkout_review>
|
| 113 |
-
<checkout_success>checkout_success</checkout_success>
|
| 114 |
-
<cms_no_route>cms_no_route</cms_no_route>
|
| 115 |
-
<contact_form_sent>contact_form_sent</contact_form_sent>
|
| 116 |
-
<coupon_added>coupon_added</coupon_added>
|
| 117 |
-
<coupon_removed>coupon_removed</coupon_removed>
|
| 118 |
-
<customer_create_account>customer_create_account</customer_create_account>
|
| 119 |
-
<customer_create_account_success>customer_create_account_success</customer_create_account_success>
|
| 120 |
-
<customer_login>customer_login</customer_login>
|
| 121 |
-
<customer_logout>customer_logout</customer_logout>
|
| 122 |
-
<estimate_post>estimate_post</estimate_post>
|
| 123 |
-
<forgot_password>forgot_password</forgot_password>
|
| 124 |
-
<newsletter_subscribed>newsletter_subscribed</newsletter_subscribed>
|
| 125 |
-
<newsletter_unsubscribed>newsletter_unsubscribed</newsletter_unsubscribed>
|
| 126 |
-
<poll_vote>poll_vote</poll_vote>
|
| 127 |
-
<product_added_to_cart>product_added_to_cart</product_added_to_cart>
|
| 128 |
-
<product_removed_from_cart>product_removed_from_cart</product_removed_from_cart>
|
| 129 |
-
<product_added_to_compare>product_added_to_compare</product_added_to_compare>
|
| 130 |
-
<product_removed_from_compare>product_removed_from_compare</product_removed_from_compare>
|
| 131 |
-
<product_added_to_wishlist>product_added_to_wishlist</product_added_to_wishlist>
|
| 132 |
-
<product_removed_from_wishlist>product_removed_from_wishlist</product_removed_from_wishlist>
|
| 133 |
-
<product_purchased>product_purchased</product_purchased>
|
| 134 |
-
<product_tag_added>product_tag_added</product_tag_added>
|
| 135 |
-
<product_review_read>product_review_read</product_review_read>
|
| 136 |
-
<product_review_posted>product_review_posted</product_review_posted>
|
| 137 |
</woopra_events>
|
| 138 |
</woopra_analytics>
|
| 139 |
</default>
|
| 12 |
<config>
|
| 13 |
<modules>
|
| 14 |
<Woopra_Analytics>
|
| 15 |
+
<version>1.3.0</version>
|
| 16 |
</Woopra_Analytics>
|
| 17 |
</modules>
|
| 18 |
<global>
|
| 91 |
<name>name</name>
|
| 92 |
<email>email</email>
|
| 93 |
<company>company</company>
|
| 94 |
+
<customer_location>magento customer_location</customer_location>
|
| 95 |
+
<customer_phone>magento customer_phone</customer_phone>
|
| 96 |
+
<customer_group>magento customer_group</customer_group>
|
| 97 |
+
<customer_lifetime_sales>magento customer_lifetime_sales</customer_lifetime_sales>
|
| 98 |
+
<customer_number_orders>magento customer_number_orders</customer_number_orders>
|
| 99 |
+
<customer_create_date>magento customer_create_date</customer_create_date>
|
| 100 |
+
<customer_cart_items>magento customer_cart_items</customer_cart_items>
|
| 101 |
+
<customer_cart_total>magento customer_cart_total</customer_cart_total>
|
| 102 |
+
<customer_wishlist_items>magento customer_wishlist_items</customer_wishlist_items>
|
| 103 |
+
<customer_wishlist_total>magento customer_wishlist_total</customer_wishlist_total>
|
| 104 |
</woopra_outputs>
|
| 105 |
<woopra_events>
|
| 106 |
+
<catalog_search>magento catalog_search</catalog_search>
|
| 107 |
+
<changed_password>magento changed_password</changed_password>
|
| 108 |
+
<checkout_billing_address>magento checkout_billing_address</checkout_billing_address>
|
| 109 |
+
<checkout_shipping_address>magento checkout_shipping_address</checkout_shipping_address>
|
| 110 |
+
<checkout_shipping_method>magento checkout_shipping_method</checkout_shipping_method>
|
| 111 |
+
<checkout_payment_method>magento checkout_payment_method</checkout_payment_method>
|
| 112 |
+
<checkout_review>magento checkout_review</checkout_review>
|
| 113 |
+
<checkout_success>magento checkout_success</checkout_success>
|
| 114 |
+
<cms_no_route>magento cms_no_route</cms_no_route>
|
| 115 |
+
<contact_form_sent>magento contact_form_sent</contact_form_sent>
|
| 116 |
+
<coupon_added>magento coupon_added</coupon_added>
|
| 117 |
+
<coupon_removed>magento coupon_removed</coupon_removed>
|
| 118 |
+
<customer_create_account>magento customer_create_account</customer_create_account>
|
| 119 |
+
<customer_create_account_success>magento customer_create_account_success</customer_create_account_success>
|
| 120 |
+
<customer_login>magento customer_login</customer_login>
|
| 121 |
+
<customer_logout>magento customer_logout</customer_logout>
|
| 122 |
+
<estimate_post>magento estimate_post</estimate_post>
|
| 123 |
+
<forgot_password>magento forgot_password</forgot_password>
|
| 124 |
+
<newsletter_subscribed>magento newsletter_subscribed</newsletter_subscribed>
|
| 125 |
+
<newsletter_unsubscribed>magento newsletter_unsubscribed</newsletter_unsubscribed>
|
| 126 |
+
<poll_vote>magento poll_vote</poll_vote>
|
| 127 |
+
<product_added_to_cart>magento product_added_to_cart</product_added_to_cart>
|
| 128 |
+
<product_removed_from_cart>magento product_removed_from_cart</product_removed_from_cart>
|
| 129 |
+
<product_added_to_compare>magento product_added_to_compare</product_added_to_compare>
|
| 130 |
+
<product_removed_from_compare>magento product_removed_from_compare</product_removed_from_compare>
|
| 131 |
+
<product_added_to_wishlist>magento product_added_to_wishlist</product_added_to_wishlist>
|
| 132 |
+
<product_removed_from_wishlist>magento product_removed_from_wishlist</product_removed_from_wishlist>
|
| 133 |
+
<product_purchased>magento product_purchased</product_purchased>
|
| 134 |
+
<product_tag_added>magento product_tag_added</product_tag_added>
|
| 135 |
+
<product_review_read>magento product_review_read</product_review_read>
|
| 136 |
+
<product_review_posted>magento product_review_posted</product_review_posted>
|
| 137 |
</woopra_events>
|
| 138 |
</woopra_analytics>
|
| 139 |
</default>
|
app/design/frontend/base/default/template/woopra/checkout.phtml
CHANGED
|
@@ -32,10 +32,6 @@ Checkout.prototype.gotoSection = function (section) {
|
|
| 32 |
name: ''+woopra_action+''
|
| 33 |
});
|
| 34 |
} catch(err) { }
|
| 35 |
-
//section = $('opc-'+section);
|
| 36 |
-
//section.addClassName('allow');
|
| 37 |
-
//this.accordion.openSection(section);
|
| 38 |
-
|
| 39 |
this.currentStep = section;
|
| 40 |
var sectionElement = $('opc-' + section);
|
| 41 |
sectionElement.addClassName('allow');
|
| 32 |
name: ''+woopra_action+''
|
| 33 |
});
|
| 34 |
} catch(err) { }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
this.currentStep = section;
|
| 36 |
var sectionElement = $('opc-' + section);
|
| 37 |
sectionElement.addClassName('allow');
|
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.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -18,17 +18,12 @@ Access custom reports instantly. No more bugging IT. No old-school interfaces. N
|
|
| 18 |
<br />
|
| 19 |
<a href="http://www.k3live.com/magento-extensions/magento-woopra-tracking"><img src="http://www.magentocommerce.com/magento-connect/media/catalog/product/w/o/woopra_tracking_5_1_1.png" /></a><br /><br />
|
| 20 |
Note: This module will not work without a subscription to the <a href="http://www.woopra.com/?woo_campaign=affiliate&woo_medium=referral&woo_source=k3live">Woopra</a> service.</description>
|
| 21 |
-
<notes>
|
| 22 |
-
Added tracking products purchased.
|
| 23 |
-
Added ignore subdomain config.
|
| 24 |
-
Split ajax checkout to footer with fix for one-page checkout.
|
| 25 |
-
Fixed newsletter subscribe.
|
| 26 |
-
Added error checking to prevent faults.
|
| 27 |
</notes>
|
| 28 |
<authors><author><name>Woopra</name><user>Woopra</user><email>support@woopra.com</email></author><author><name>K3Live</name><user>K3Live</user><email>support@k3live.com</email></author></authors>
|
| 29 |
-
<date>2014-
|
| 30 |
-
<time>
|
| 31 |
-
<contents><target name="magecommunity"><dir><dir name="Woopra"><dir name="Analytics"><dir name="Block"><file name="Script.php" hash="bb3b76276e028d9e11eac15b4adb07b1"/></dir><dir name="Helper"><file name="Data.php" hash="2a918bd8ba1c9094acc02dac8f933953"/></dir><dir name="Model"><file name="Observer.php" hash="
|
| 32 |
<compatible/>
|
| 33 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
| 34 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Woopra_Analytics_Event_And_Visitor_Tracking</name>
|
| 4 |
+
<version>1.3.0</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
| 18 |
<br />
|
| 19 |
<a href="http://www.k3live.com/magento-extensions/magento-woopra-tracking"><img src="http://www.magentocommerce.com/magento-connect/media/catalog/product/w/o/woopra_tracking_5_1_1.png" /></a><br /><br />
|
| 20 |
Note: This module will not work without a subscription to the <a href="http://www.woopra.com/?woo_campaign=affiliate&woo_medium=referral&woo_source=k3live">Woopra</a> service.</description>
|
| 21 |
+
<notes>Woopra AppConnect event naming changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
</notes>
|
| 23 |
<authors><author><name>Woopra</name><user>Woopra</user><email>support@woopra.com</email></author><author><name>K3Live</name><user>K3Live</user><email>support@k3live.com</email></author></authors>
|
| 24 |
+
<date>2014-10-22</date>
|
| 25 |
+
<time>04:42:15</time>
|
| 26 |
+
<contents><target name="magecommunity"><dir><dir name="Woopra"><dir name="Analytics"><dir name="Block"><file name="Script.php" hash="bb3b76276e028d9e11eac15b4adb07b1"/></dir><dir name="Helper"><file name="Data.php" hash="2a918bd8ba1c9094acc02dac8f933953"/></dir><dir name="Model"><file name="Observer.php" hash="a66ff90baedfe990cf147bf56dd7557f"/></dir><dir name="etc"><file name="config.xml" hash="33c128a381b1dbd85d62e001a3f2ffcc"/><file name="system.xml" hash="90ebdc742914fe9ff990a39f27ef32e8"/></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="3f21344a558babd0d9ea0ed1edc6a87f"/></dir><dir name="template"><dir name="woopra"><file name="script.phtml" hash="2c9c55c9aa17d3b7f87f448636cef2b9"/><file name="checkout.phtml" hash="f3e74e937bdace20c8576a603303969b"/></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>
|
