Version Notes
Second release, added support for:
Magento Enterprise Edition
Integration of conversion tracking code
Download this release
Release Info
Developer | StoreFront Consulting |
Extension | sfc_visistat |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.4
- app/code/local/SFC/VisiStat/Block/Checkout/Multishipping/Success.php +38 -0
- app/code/local/SFC/VisiStat/Helper/Data.php +22 -0
- app/code/local/SFC/VisiStat/controllers/Contacts/IndexController.php +48 -0
- app/code/local/SFC/VisiStat/etc/config.xml +30 -0
- app/code/local/SFC/VisiStat/etc/system.xml +31 -1
- app/design/frontend/base/default/layout/sfcvisistat.xml +18 -0
- app/design/frontend/base/default/template/sfcvisistat/contact_conversion_tracking.phtml +39 -0
- app/design/frontend/base/default/template/sfcvisistat/multi_success_conversion_tracking.phtml +44 -0
- app/design/frontend/base/default/template/sfcvisistat/success_conversion_tracking.phtml +42 -0
- package.xml +7 -5
app/code/local/SFC/VisiStat/Block/Checkout/Multishipping/Success.php
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StoreFront Consulting VisiStat Module
|
4 |
+
*
|
5 |
+
* @category SFC
|
6 |
+
* @package SFC_VisiStat
|
7 |
+
* @author StoreFront Consulting, Inc.
|
8 |
+
* @website http://www.storefrontconsulting.com
|
9 |
+
* @copyright Copyright � 2009-2012 StoreFront Consulting, Inc. All Rights Reserved.
|
10 |
+
*/
|
11 |
+
|
12 |
+
class SFC_VisiStat_Block_Checkout_Multishipping_Success extends Mage_Checkout_Block_Multishipping_Success
|
13 |
+
{
|
14 |
+
/**
|
15 |
+
* Override getOrderIds method
|
16 |
+
* Save order ids in registry, so they're available throughout this request, but not after
|
17 |
+
*/
|
18 |
+
public function getOrderIds()
|
19 |
+
{
|
20 |
+
// Check registry for order ids
|
21 |
+
$ids = Mage::registry('sfc_visistat_orderids');
|
22 |
+
if ($ids && is_array($ids)) {
|
23 |
+
return $ids;
|
24 |
+
}
|
25 |
+
// Get order ids from session and clear them from session
|
26 |
+
// This only works the first time after multi shipping checkout success
|
27 |
+
$ids = Mage::getSingleton('core/session')->getOrderIds(true);
|
28 |
+
if ($ids && is_array($ids)) {
|
29 |
+
// Save order ids in registry, so they're available for rest of this request
|
30 |
+
Mage::register('sfc_visistat_orderids', $ids);
|
31 |
+
// Return order ids
|
32 |
+
return $ids;
|
33 |
+
}
|
34 |
+
return false;
|
35 |
+
}
|
36 |
+
|
37 |
+
}
|
38 |
+
|
app/code/local/SFC/VisiStat/Helper/Data.php
CHANGED
@@ -11,4 +11,26 @@
|
|
11 |
|
12 |
class SFC_Visistat_Helper_Data extends Mage_Core_Helper_Abstract
|
13 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
11 |
|
12 |
class SFC_Visistat_Helper_Data extends Mage_Core_Helper_Abstract
|
13 |
{
|
14 |
+
public function isTrackingEnabled()
|
15 |
+
{
|
16 |
+
// Have DID and add tracking?
|
17 |
+
$iDidNum = intval(Mage::getStoreConfig('sfcvisistat/configs/did'));
|
18 |
+
$bAddTracking = (bool) Mage::getStoreConfig('sfcvisistat/configs/addtrackingcode');
|
19 |
+
// Return result
|
20 |
+
return $iDidNum > 0 && $bAddTracking;
|
21 |
+
}
|
22 |
+
|
23 |
+
public function isCheckoutConversionTrackingEnabled()
|
24 |
+
{
|
25 |
+
// Lookup configuration setting
|
26 |
+
$bConversionTracking = (bool) Mage::getStoreConfig('sfcvisistat/conversiontracking/track_checkout_conversions');
|
27 |
+
return $bConversionTracking;
|
28 |
+
}
|
29 |
+
|
30 |
+
public function isContactConversionTrackingEnabled()
|
31 |
+
{
|
32 |
+
// Lookup configuration setting
|
33 |
+
$bConversionTracking = (bool) Mage::getStoreConfig('sfcvisistat/conversiontracking/track_contact_conversions');
|
34 |
+
return $bConversionTracking;
|
35 |
+
}
|
36 |
}
|
app/code/local/SFC/VisiStat/controllers/Contacts/IndexController.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StoreFront Consulting VisiStat Module
|
4 |
+
*
|
5 |
+
* @category SFC
|
6 |
+
* @package SFC_VisiStat
|
7 |
+
* @author StoreFront Consulting, Inc.
|
8 |
+
* @website http://www.storefrontconsulting.com
|
9 |
+
* @copyright Copyright © 2009-2012 StoreFront Consulting, Inc. All Rights Reserved.
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Controllers are not autoloaded so we will have to do it manually
|
13 |
+
require_once 'Mage/Contacts/controllers/IndexController.php';
|
14 |
+
|
15 |
+
class SFC_VisiStat_Contacts_IndexController extends Mage_Contacts_IndexController
|
16 |
+
{
|
17 |
+
/**
|
18 |
+
* index action
|
19 |
+
*/
|
20 |
+
public function indexAction()
|
21 |
+
{
|
22 |
+
// Get session flag for post just happened
|
23 |
+
$bSessionFlag = Mage::getSingleton('customer/session')->getData('contact_form_post_happened');
|
24 |
+
// Check session flag
|
25 |
+
if($bSessionFlag) {
|
26 |
+
// Set flag
|
27 |
+
Mage::register('contact_form_submitted', true);
|
28 |
+
}
|
29 |
+
// Reset flag in cust session
|
30 |
+
Mage::getSingleton('customer/session')->setData('contact_form_post_happened', false);
|
31 |
+
|
32 |
+
// Call parent index action to do the standard contact form index action
|
33 |
+
return parent::indexAction();
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* post action
|
38 |
+
*/
|
39 |
+
public function postAction()
|
40 |
+
{
|
41 |
+
// Lets set a flag in the session indicating that contact form was posted
|
42 |
+
Mage::getSingleton('customer/session')->setData('contact_form_post_happened', true);
|
43 |
+
|
44 |
+
// Call parent post action to do the standard contact form post action
|
45 |
+
return parent::postAction();
|
46 |
+
}
|
47 |
+
|
48 |
+
}
|
app/code/local/SFC/VisiStat/etc/config.xml
CHANGED
@@ -16,11 +16,32 @@
|
|
16 |
<version>1.0.0</version>
|
17 |
</SFC_VisiStat>
|
18 |
</modules>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
<default>
|
20 |
<sfcvisistat>
|
21 |
<configs>
|
22 |
<addtrackingcode>1</addtrackingcode>
|
23 |
</configs>
|
|
|
|
|
|
|
|
|
24 |
</sfcvisistat>
|
25 |
</default>
|
26 |
<stores>
|
@@ -51,6 +72,15 @@
|
|
51 |
</sfcvisistat>
|
52 |
</updates>
|
53 |
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
</frontend>
|
55 |
<adminhtml>
|
56 |
<acl>
|
16 |
<version>1.0.0</version>
|
17 |
</SFC_VisiStat>
|
18 |
</modules>
|
19 |
+
<global>
|
20 |
+
<helpers>
|
21 |
+
<sfcvisistat>
|
22 |
+
<class>SFC_VisiStat_Helper</class>
|
23 |
+
</sfcvisistat>
|
24 |
+
</helpers>
|
25 |
+
<blocks>
|
26 |
+
<sfcvisistat>
|
27 |
+
<class>SFC_VisiStat_Block</class>
|
28 |
+
</sfcvisistat>
|
29 |
+
<checkout>
|
30 |
+
<rewrite>
|
31 |
+
<multishipping_success>SFC_VisiStat_Block_Checkout_Multishipping_Success</multishipping_success>
|
32 |
+
</rewrite>
|
33 |
+
</checkout>
|
34 |
+
</blocks>
|
35 |
+
</global>
|
36 |
<default>
|
37 |
<sfcvisistat>
|
38 |
<configs>
|
39 |
<addtrackingcode>1</addtrackingcode>
|
40 |
</configs>
|
41 |
+
<conversiontracking>
|
42 |
+
<track_checkout_conversions>1</track_checkout_conversions>
|
43 |
+
<track_contact_conversions>1</track_contact_conversions>
|
44 |
+
</conversiontracking>
|
45 |
</sfcvisistat>
|
46 |
</default>
|
47 |
<stores>
|
72 |
</sfcvisistat>
|
73 |
</updates>
|
74 |
</layout>
|
75 |
+
<routers>
|
76 |
+
<contacts>
|
77 |
+
<args>
|
78 |
+
<modules>
|
79 |
+
<SFC_VisiStat before="Mage_Contacts">SFC_VisiStat_Contacts</SFC_VisiStat>
|
80 |
+
</modules>
|
81 |
+
</args>
|
82 |
+
</contacts>
|
83 |
+
</routers>
|
84 |
</frontend>
|
85 |
<adminhtml>
|
86 |
<acl>
|
app/code/local/SFC/VisiStat/etc/system.xml
CHANGED
@@ -30,7 +30,7 @@
|
|
30 |
<configs translate="label">
|
31 |
<label>VisiStat Account Information</label>
|
32 |
<frontend_type>text</frontend_type>
|
33 |
-
<sort_order>
|
34 |
<show_in_default>1</show_in_default>
|
35 |
<show_in_website>0</show_in_website>
|
36 |
<show_in_store>0</show_in_store>
|
@@ -87,6 +87,36 @@
|
|
87 |
</did_where>
|
88 |
</fields>
|
89 |
</configs>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
</groups>
|
91 |
</sfcvisistat>
|
92 |
</sections>
|
30 |
<configs translate="label">
|
31 |
<label>VisiStat Account Information</label>
|
32 |
<frontend_type>text</frontend_type>
|
33 |
+
<sort_order>10</sort_order>
|
34 |
<show_in_default>1</show_in_default>
|
35 |
<show_in_website>0</show_in_website>
|
36 |
<show_in_store>0</show_in_store>
|
87 |
</did_where>
|
88 |
</fields>
|
89 |
</configs>
|
90 |
+
<conversiontracking translate="label">
|
91 |
+
<label>VisiStat Conversion Tracking</label>
|
92 |
+
<frontend_type>text</frontend_type>
|
93 |
+
<sort_order>20</sort_order>
|
94 |
+
<show_in_default>1</show_in_default>
|
95 |
+
<show_in_website>0</show_in_website>
|
96 |
+
<show_in_store>0</show_in_store>
|
97 |
+
<fields>
|
98 |
+
<track_checkout_conversions>
|
99 |
+
<label>Enable Checkout Tracking</label>
|
100 |
+
<frontend_type>select</frontend_type>
|
101 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
102 |
+
<sort_order>10</sort_order>
|
103 |
+
<show_in_default>1</show_in_default>
|
104 |
+
<show_in_website>0</show_in_website>
|
105 |
+
<show_in_store>0</show_in_store>
|
106 |
+
<comment>Enable tracking successful checkouts as conversions?</comment>
|
107 |
+
</track_checkout_conversions>
|
108 |
+
<track_contact_conversions>
|
109 |
+
<label>Enable Contact Form Tracking</label>
|
110 |
+
<frontend_type>select</frontend_type>
|
111 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
112 |
+
<sort_order>20</sort_order>
|
113 |
+
<show_in_default>1</show_in_default>
|
114 |
+
<show_in_website>0</show_in_website>
|
115 |
+
<show_in_store>0</show_in_store>
|
116 |
+
<comment>Enable tracking contact form submissions as conversions?</comment>
|
117 |
+
</track_contact_conversions>
|
118 |
+
</fields>
|
119 |
+
</conversiontracking>
|
120 |
</groups>
|
121 |
</sfcvisistat>
|
122 |
</sections>
|
app/design/frontend/base/default/layout/sfcvisistat.xml
CHANGED
@@ -5,4 +5,22 @@
|
|
5 |
<block type="page/html_footer" name="footer" template="sfcvisistat/tracking.phtml"/>
|
6 |
</reference>
|
7 |
</default>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
</layout>
|
5 |
<block type="page/html_footer" name="footer" template="sfcvisistat/tracking.phtml"/>
|
6 |
</reference>
|
7 |
</default>
|
8 |
+
|
9 |
+
<checkout_onepage_success>
|
10 |
+
<reference name="content">
|
11 |
+
<block type="core/template" name="visistat.conversion.checkout.success" template="sfcvisistat/success_conversion_tracking.phtml" after="checkout.success"/>
|
12 |
+
</reference>
|
13 |
+
</checkout_onepage_success>
|
14 |
+
|
15 |
+
<checkout_multishipping_success>
|
16 |
+
<reference name="content">
|
17 |
+
<block type="sfcvisistat/checkout_multishipping_success" name="visistat.conversion.multishipping.success" template="sfcvisistat/multi_success_conversion_tracking.phtml" after="checkout_success"/>
|
18 |
+
</reference>
|
19 |
+
</checkout_multishipping_success>
|
20 |
+
|
21 |
+
<contacts_index_index>
|
22 |
+
<reference name="content">
|
23 |
+
<block type="core/template" name="visistat.coversion.contactForm" template="sfcvisistat/contact_conversion_tracking.phtml" after="contactForm"/>
|
24 |
+
</reference>
|
25 |
+
</contacts_index_index>
|
26 |
</layout>
|
app/design/frontend/base/default/template/sfcvisistat/contact_conversion_tracking.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StoreFront Consulting VisiStat Module
|
4 |
+
*
|
5 |
+
* @category SFC
|
6 |
+
* @package SFC_VisiStat
|
7 |
+
* @author StoreFront Consulting, Inc.
|
8 |
+
* @website http://www.storefrontconsulting.com
|
9 |
+
* @copyright Copyright © 2009-2012 StoreFront Consulting, Inc. All Rights Reserved.
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Lookup visistat enabled? / conversion tracking enabled?
|
13 |
+
$bAddTracking = Mage::helper('sfcvisistat')->isTrackingEnabled();
|
14 |
+
$bConversionTracking = Mage::helper('sfcvisistat')->isContactConversionTrackingEnabled();
|
15 |
+
// Get contact flag from registry
|
16 |
+
$bContactFormSubmitted = (bool) Mage::registry('contact_form_submitted');
|
17 |
+
?>
|
18 |
+
<?php if($bAddTracking && $bConversionTracking && $bContactFormSubmitted): ?>
|
19 |
+
<!-- VisiStat -->
|
20 |
+
<!--CONVERSION SNIPPET//-->
|
21 |
+
<script type="text/javascript">
|
22 |
+
|
23 |
+
var ConvName = 'Contact Form';
|
24 |
+
var ConvDesc = '';
|
25 |
+
var ConvSubTotal = '0';
|
26 |
+
var ConvTax = '0';
|
27 |
+
var ConvTotal = '0';
|
28 |
+
var ConvMisc1 = '';
|
29 |
+
var ConvMisc2 = '';
|
30 |
+
var ConvMisc3 = '';
|
31 |
+
var ConvMisc4 = '';
|
32 |
+
var ConvMisc5 = '';
|
33 |
+
|
34 |
+
var pcheck=(window.location.protocol == "https:") ? "https://sniff.visistat.com/conversion.js":"http://sniff.visistat.com/conversion.js";
|
35 |
+
document.writeln('<scr'+'ipt src="'+pcheck+'" type="text\/javascript"><\/scr'+'ipt>');
|
36 |
+
</script>
|
37 |
+
<!--CONVERSION SNIPPET//-->
|
38 |
+
<? endif; ?>
|
39 |
+
|
app/design/frontend/base/default/template/sfcvisistat/multi_success_conversion_tracking.phtml
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StoreFront Consulting VisiStat Module
|
4 |
+
*
|
5 |
+
* @category SFC
|
6 |
+
* @package SFC_VisiStat
|
7 |
+
* @author StoreFront Consulting, Inc.
|
8 |
+
* @website http://www.storefrontconsulting.com
|
9 |
+
* @copyright Copyright © 2009-2012 StoreFront Consulting, Inc. All Rights Reserved.
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Lookup visistat enabled? / conversion tracking enabled?
|
13 |
+
$bAddTracking = Mage::helper('sfcvisistat')->isTrackingEnabled();
|
14 |
+
$bConversionTracking = Mage::helper('sfcvisistat')->isCheckoutConversionTrackingEnabled();
|
15 |
+
?>
|
16 |
+
<?php if($bAddTracking && $bConversionTracking): ?>
|
17 |
+
<?php
|
18 |
+
// Lookup order(s)
|
19 |
+
$orderIds = $this->getOrderIds();
|
20 |
+
?>
|
21 |
+
<!-- VisiStat -->
|
22 |
+
<!--CONVERSION SNIPPET//-->
|
23 |
+
<?php foreach($orderIds as $orderId => $incrementId): ?>
|
24 |
+
<?php $order = Mage::getModel('sales/order')->load($orderId); ?>
|
25 |
+
<script type="text/javascript">
|
26 |
+
|
27 |
+
var ConvName = 'Order';
|
28 |
+
var ConvDesc = '<?php echo $order->getIncrementId() ?>';
|
29 |
+
var ConvSubTotal = '<?php echo $order->getSubtotal() ?>';
|
30 |
+
var ConvTax = '<?php echo $order->getTaxAmount() ?>';
|
31 |
+
var ConvTotal = '<?php echo $order->getGrandTotal() ?>';
|
32 |
+
var ConvMisc1 = '<?php echo $order->getCustomerEmail() ?>';
|
33 |
+
var ConvMisc2 = '<?php echo $order->getCustomerId() ? 'Customer: ' . $order->getCustomerId() : 'Guest' ?>';
|
34 |
+
var ConvMisc3 = 'Qty: <?php echo $order->getTotalQtyOrdered() ?>';
|
35 |
+
var ConvMisc4 = '<?php echo $order->getShippingMethod() ?>';
|
36 |
+
var ConvMisc5 = '';
|
37 |
+
|
38 |
+
var pcheck=(window.location.protocol == "https:") ? "https://sniff.visistat.com/conversion.js":"http://sniff.visistat.com/conversion.js";
|
39 |
+
document.writeln('<scr'+'ipt src="'+pcheck+'" type="text\/javascript"><\/scr'+'ipt>');
|
40 |
+
</script>
|
41 |
+
<? endforeach; ?>
|
42 |
+
<!--CONVERSION SNIPPET//-->
|
43 |
+
<? endif; ?>
|
44 |
+
|
app/design/frontend/base/default/template/sfcvisistat/success_conversion_tracking.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* StoreFront Consulting VisiStat Module
|
4 |
+
*
|
5 |
+
* @category SFC
|
6 |
+
* @package SFC_VisiStat
|
7 |
+
* @author StoreFront Consulting, Inc.
|
8 |
+
* @website http://www.storefrontconsulting.com
|
9 |
+
* @copyright Copyright © 2009-2012 StoreFront Consulting, Inc. All Rights Reserved.
|
10 |
+
*/
|
11 |
+
|
12 |
+
// Lookup visistat enabled? / conversion tracking enabled?
|
13 |
+
$bAddTracking = Mage::helper('sfcvisistat')->isTrackingEnabled();
|
14 |
+
$bConversionTracking = Mage::helper('sfcvisistat')->isCheckoutConversionTrackingEnabled();
|
15 |
+
?>
|
16 |
+
<?php if($bAddTracking && $bConversionTracking): ?>
|
17 |
+
<?php
|
18 |
+
// Lookup order
|
19 |
+
$orderId = Mage::getSingleton('checkout/session')->getLastOrderId();
|
20 |
+
$order = Mage::getModel('sales/order')->load($orderId);
|
21 |
+
?>
|
22 |
+
<!-- VisiStat -->
|
23 |
+
<!--CONVERSION SNIPPET//-->
|
24 |
+
<script type="text/javascript">
|
25 |
+
|
26 |
+
var ConvName = 'Order';
|
27 |
+
var ConvDesc = '<?php echo $order->getIncrementId() ?>';
|
28 |
+
var ConvSubTotal = '<?php echo $order->getSubtotal() ?>';
|
29 |
+
var ConvTax = '<?php echo $order->getTaxAmount() ?>';
|
30 |
+
var ConvTotal = '<?php echo $order->getGrandTotal() ?>';
|
31 |
+
var ConvMisc1 = '<?php echo $order->getCustomerEmail() ?>';
|
32 |
+
var ConvMisc2 = '<?php echo $order->getCustomerId() ? 'Customer: ' . $order->getCustomerId() : 'Guest' ?>';
|
33 |
+
var ConvMisc3 = 'Qty: <?php echo $order->getTotalQtyOrdered() ?>';
|
34 |
+
var ConvMisc4 = '<?php echo $order->getShippingMethod() ?>';
|
35 |
+
var ConvMisc5 = '';
|
36 |
+
|
37 |
+
var pcheck=(window.location.protocol == "https:") ? "https://sniff.visistat.com/conversion.js":"http://sniff.visistat.com/conversion.js";
|
38 |
+
document.writeln('<scr'+'ipt src="'+pcheck+'" type="text\/javascript"><\/scr'+'ipt>');
|
39 |
+
</script>
|
40 |
+
<!--CONVERSION SNIPPET//-->
|
41 |
+
<? endif; ?>
|
42 |
+
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>sfc_visistat</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,11 +10,13 @@
|
|
10 |
valuable information on your overall marketing and sales strategies.</summary>
|
11 |
<description>VisiStat is a robust, easy-to-use analytics/customer intelligence platform that provides unparalleled e-commerce insights across ALL your customer touch-points – including your website, social media, marketing campaigns, and more. VisiStat captures detailed information on your customers and their behavior, and provides
|
12 |
valuable information on your overall marketing and sales strategies. As a single, integrated SaaS platform, VisiStat captures and simplifies complex data from across your entire web presence, enabling you to make better decisions that help optimize your online effectiveness and increase sales.</description>
|
13 |
-
<notes>
|
|
|
|
|
14 |
<authors><author><name>StoreFront Consulting</name><user>SF_Consulting</user><email>support@storefrontconsulting.com</email></author></authors>
|
15 |
-
<date>2012-
|
16 |
-
<time>
|
17 |
-
<contents><target name="magelocal"><dir name="SFC"><dir name="VisiStat"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Didhelp.php" hash="d40306bdc93f93ccd49f68288dc5592f"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>sfc_visistat</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
valuable information on your overall marketing and sales strategies.</summary>
|
11 |
<description>VisiStat is a robust, easy-to-use analytics/customer intelligence platform that provides unparalleled e-commerce insights across ALL your customer touch-points – including your website, social media, marketing campaigns, and more. VisiStat captures detailed information on your customers and their behavior, and provides
|
12 |
valuable information on your overall marketing and sales strategies. As a single, integrated SaaS platform, VisiStat captures and simplifies complex data from across your entire web presence, enabling you to make better decisions that help optimize your online effectiveness and increase sales.</description>
|
13 |
+
<notes>Second release, added support for:
|
14 |
+
Magento Enterprise Edition
|
15 |
+
Integration of conversion tracking code</notes>
|
16 |
<authors><author><name>StoreFront Consulting</name><user>SF_Consulting</user><email>support@storefrontconsulting.com</email></author></authors>
|
17 |
+
<date>2012-03-08</date>
|
18 |
+
<time>20:46:58</time>
|
19 |
+
<contents><target name="magelocal"><dir name="SFC"><dir name="VisiStat"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Didhelp.php" hash="d40306bdc93f93ccd49f68288dc5592f"/></dir></dir></dir></dir></dir><dir name="Checkout"><dir name="Multishipping"><file name="Success.php" hash="d9da7c192fef6df290d17ec98b54b0fa"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0fe1f16c3b2b724f6dbbd044c72734b2"/></dir><dir name="controllers"><dir name="Contacts"><file name="IndexController.php" hash="d824925df5f0bf4702fd6015a85d7472"/></dir><file name="IframeController.php" hash="330394194f56aa57cc99bef5b6d71026"/></dir><dir name="etc"><file name="config.xml" hash="87f55d701bde879c19a44d93b0d190f1"/><file name="system.xml" hash="e789136152d1a3dcd8c5192c1a767ac0"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="SFC_VisiStat.xml" hash="a3e1a26b20b4c5f5a4754ac46047bcda"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="visistat"><dir name="template"><dir name="dashboard"><file name="index.phtml" hash="f601e148a1ccfec90657821b62a277ca"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="sfcvisistat.xml" hash="bb6c89a1b3cf7a0c895931a2f4d0483a"/></dir><dir name="template"><dir name="sfcvisistat"><file name="contact_conversion_tracking.phtml" hash="7d1df406e8b21e8b0e269ddb1b3ec6bc"/><file name="multi_success_conversion_tracking.phtml" hash="78a2148a484bc29c37f2d86ba2e8a2ee"/><file name="success_conversion_tracking.phtml" hash="9cac035d7ce32a20baf45d1a5a5db0f2"/><file name="tracking.phtml" hash="9b2f74880a30b509c87a5ae72fbb8ea5"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="sfcvisistat"><dir name="img"><file name="didhelp.png" hash="6147e00db4d3c72c751969cef6c0a11e"/></dir></dir></dir></dir></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|