Tatvic_Google_Analytics_Enhanced_Ecommerce - Version 2.0.1

Version Notes

# Onestep Checkout Bug Fixed

Download this release

Release Info

Developer Divyesh
Extension Tatvic_Google_Analytics_Enhanced_Ecommerce
Version 2.0.1
Comparing to
See all releases


Code changes from version 2.0.0 to 2.0.1

app/code/community/Tatvic/Uaee/Model/Analyse.php CHANGED
@@ -5,7 +5,7 @@ class Tatvic_Uaee_Model_Analyse{
5
 
6
  public function __construct() {
7
  $this->helper = Mage::helper('tatvic_uaee');
8
-
9
  }
10
 
11
  public function tatvic_categoryList($categories){
5
 
6
  public function __construct() {
7
  $this->helper = Mage::helper('tatvic_uaee');
8
+ //static $position = 0;
9
  }
10
 
11
  public function tatvic_categoryList($categories){
app/code/community/Tatvic/Uaee/Model/Observer.php CHANGED
@@ -74,7 +74,7 @@
74
 
75
  //execute post
76
  $result = curl_exec($ch);
77
-
78
  //close connection
79
  curl_close($ch);
80
  }
@@ -89,7 +89,7 @@
89
  }
90
  }
91
  public function tatvicProductLoadAfter(Varien_Event_Observer $observer){
92
- $validPages = array('index','category','result');
93
  if(in_array($this->tatvic_page(),$validPages)){
94
  ?>
95
  <script>
@@ -125,6 +125,7 @@
125
  foreach ($collection as $product)
126
  {
127
  $temp = Mage::getModel('catalog/product')->load($product->getId());
 
128
  }
129
  }
130
  public function tatvic_JSON($page){
@@ -151,7 +152,7 @@
151
  $this->JSONobj = 'productObject';
152
  }
153
 
154
- if($page == 'index'){
155
  ?>
156
 
157
  var homeObject = homeObject || {};
@@ -163,10 +164,15 @@
163
  }
164
  public function tatvic_page(){
165
  $page = Mage::app()->getRequest()->getControllerName();
 
 
 
 
 
 
 
166
  return $page;
167
  }
168
-
169
- // Extra codes..
170
 
171
 
172
 
74
 
75
  //execute post
76
  $result = curl_exec($ch);
77
+
78
  //close connection
79
  curl_close($ch);
80
  }
89
  }
90
  }
91
  public function tatvicProductLoadAfter(Varien_Event_Observer $observer){
92
+ $validPages = array('homepage','category','result');
93
  if(in_array($this->tatvic_page(),$validPages)){
94
  ?>
95
  <script>
125
  foreach ($collection as $product)
126
  {
127
  $temp = Mage::getModel('catalog/product')->load($product->getId());
128
+
129
  }
130
  }
131
  public function tatvic_JSON($page){
152
  $this->JSONobj = 'productObject';
153
  }
154
 
155
+ if($page == 'homepage'){
156
  ?>
157
 
158
  var homeObject = homeObject || {};
164
  }
165
  public function tatvic_page(){
166
  $page = Mage::app()->getRequest()->getControllerName();
167
+
168
+ $route = Mage::app()->getRequest()->getRouteName();
169
+ $pageidentifier = Mage::getSingleton('cms/page')->getIdentifier();
170
+ if($route == 'cms' && $pageidentifier == 'home') {
171
+ $page='homepage';
172
+ }
173
+
174
  return $page;
175
  }
 
 
176
 
177
 
178
 
app/code/community/Tatvic/Uaee/etc/config.xml CHANGED
@@ -6,6 +6,7 @@
6
  </Tatvic_Uaee>
7
  </modules>
8
  <global>
 
9
  <models>
10
  <tatvic_uaee>
11
  <class>Tatvic_Uaee_Model</class>
@@ -54,33 +55,30 @@
54
  </tatvic_uaee>
55
  </updates>
56
  </layout>
57
- <events>
58
 
 
59
  <catalog_product_load_after>
60
  <observers>
61
- <Tatvic_Uaee_Model_Observer>
62
  <type>singleton</type>
63
  <class>tatvic_uaee/observer</class>
64
  <method>tatvicProductLoadAfter</method>
65
- </Tatvic_Uaee_Model_Observer>
66
  </observers>
67
  </catalog_product_load_after>
68
 
69
  <catalog_block_product_list_collection>
70
  <observers>
71
- <Tatvic_Uaee_Model_Observer>
72
  <type>singleton</type>
73
  <class>tatvic_uaee/observer</class>
74
  <method>tatvicProductList</method>
75
- </Tatvic_Uaee_Model_Observer>
76
  </observers>
77
  </catalog_block_product_list_collection>
78
-
79
-
80
- </events>
81
-
82
-
83
  </frontend>
 
84
  <adminhtml>
85
  <acl>
86
  <resources>
6
  </Tatvic_Uaee>
7
  </modules>
8
  <global>
9
+
10
  <models>
11
  <tatvic_uaee>
12
  <class>Tatvic_Uaee_Model</class>
55
  </tatvic_uaee>
56
  </updates>
57
  </layout>
 
58
 
59
+ <events>
60
  <catalog_product_load_after>
61
  <observers>
62
+ <tatvic_uaee>
63
  <type>singleton</type>
64
  <class>tatvic_uaee/observer</class>
65
  <method>tatvicProductLoadAfter</method>
66
+ </tatvic_uaee>
67
  </observers>
68
  </catalog_product_load_after>
69
 
70
  <catalog_block_product_list_collection>
71
  <observers>
72
+ <tatvic_uaee>
73
  <type>singleton</type>
74
  <class>tatvic_uaee/observer</class>
75
  <method>tatvicProductList</method>
76
+ </tatvic_uaee>
77
  </observers>
78
  </catalog_block_product_list_collection>
79
+ </events>
 
 
 
 
80
  </frontend>
81
+
82
  <adminhtml>
83
  <acl>
84
  <resources>
app/code/community/Tatvic/Uaee/etc/system.xml CHANGED
@@ -6,7 +6,7 @@
6
  <sort_order>1</sort_order>
7
  </tatvic>
8
  </tabs>
9
- <sections>http://d3rv1nmzvje89q.cloudfront.net/img/web_analytics_graph.png
10
  <tatvic_uaee module="tatvic_uaee">
11
  <label>Google Analytics Enhanced Ecommerce</label>
12
  <tab>tatvic</tab>
@@ -23,7 +23,8 @@
23
  <show_in_default>1</show_in_default>
24
  <show_in_website>1</show_in_website>
25
  <show_in_store>1</show_in_store>
26
- <comment></comment>
 
27
  <fields>
28
  <enable>
29
  <label>Activate Extension</label>
6
  <sort_order>1</sort_order>
7
  </tatvic>
8
  </tabs>
9
+ <sections>
10
  <tatvic_uaee module="tatvic_uaee">
11
  <label>Google Analytics Enhanced Ecommerce</label>
12
  <tab>tatvic</tab>
23
  <show_in_default>1</show_in_default>
24
  <show_in_website>1</show_in_website>
25
  <show_in_store>1</show_in_store>
26
+ <comment><![CDATA[<a href="http://bit.ly/1JbU2lo" target="_blank"><img src="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAiMAAAEaCAMAAAD0aad7AAAApVBMVEUkNUymQUHNR0f////HspmGgHqKk6C8qpSckYRPVmHw8vMzQlhdansuPVHT19unrrdQXnDGytDk5ul8hpRBUGSZoauRiH85Rlhwb3C1u8JteIhlZ2uxo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C0DMlK6iWq25LpcusfDC4Vkb373XZJYZ7tdqrf/BI5MMwMywnlZBRKm0wmLC0sR7TDC8Sivb2BKcxmFCoEf3nNepaowiJBISOz8YY6wMASWlRE9SJ7YVSCp/vzulV6KHCuGPJ9H+3YsHBRdC8XSw/EFBVFiHEVeSPzI/Uc5EtXqxFJ9ZS3/c71sO1U8m+UrUeZYMcRyNkayvFmI86Vw6Z4gJsn36FIkeyTrk9X8MY4wl+nhTPJ3+zkuaRIzezdQJGSpojhNvqVgTFVmM/zu8SvytMhKRLn1mAWWubzD/Yc4YlXuvqbdraIsNA7ubDqudAfHmlK74KpC0HR2whHh19C3SSI3bunTqY3d3fWbP8AR5vIFutxrsW7pLSXHjrVaRpqGwF4KkQQ/ThAhOciTfztHDiecSF1MbCsuaTCwkBQd8XuQbWQEY9HXXll78gs1UkK9kyPM5a9+Mwf8IKRI1XbqWuJhtCM3hsbKR/MJMyOBm97HEauyvb7JA7MGKFKdFmSXBIZD4BhVJMEGKrD8RT1hW3IEiwhFzFzDFCDT3oKodqzYCKMQvWNg83P6XqtU2FQsx97BEWuyM+o5AH+FGyMYvL1jXfo7Vj4WQ6iriUvH/GRc2IYcwSJC4WYHhLZQroG9qeAebszhEPUxcEB1WUuldWMOjjXhCHYi9UskhnJI3tqxLo91rIQkQPggFmE7cQSLCJZzsMyN9lTUGhwM0VlGMC31WIPAOnAEiwiGAKavUfnLG1KuaVdnaUcSMCfF0LYDR7CIYGiQ0ItFqb5z219GUAwMAQjXWUowRyYoIhiyHUWUaGknxdLfsd6IgWfAYqyHtq05EoYG0LV+FYst192LUq7LXHY9BPj4rlKCOWKGFuCAIvUNKV2Sam4WNX0LXyxgq+7Vg5u7HPkH0+QQPnzzMvMAAAAASUVORK5CYII=" style="float:right" width=400 height=200/></a> <span style="float:right;clear:right;margin-right:13px"><strong><i>(The Ultimate Google Analytics Extension for Your Magento Store)</i></strong></span>
27
+ ]]></comment>
28
  <fields>
29
  <enable>
30
  <label>Activate Extension</label>
app/design/frontend/base/default/template/tatvic/uaee/uaee.phtml CHANGED
@@ -72,13 +72,12 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
72
  }
73
  }
74
 
 
75
  $routeName = Mage::app()->getRequest()->getRouteName();
76
  $identifier = Mage::getSingleton('cms/page')->getIdentifier();
77
  if ($routeName == 'cms' && $identifier == 'home') :
78
  ?>
79
  exec_tvc_t_hi = true;
80
-
81
-
82
  <?php
83
 
84
  endif;
@@ -152,11 +151,8 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
152
 
153
  <?php
154
 
155
- if(isset($_COOKIE['tvc_metadata'])){
156
 
157
 
158
- }//end cookie block
159
-
160
  $sku_id = $this->getProduct()->getId();
161
  $product = Mage::getModel('catalog/product')->load($sku_id);
162
 
@@ -228,9 +224,11 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
228
  var checkoutStep = 1;
229
 
230
  var LoggedIn = false;
 
231
  <?php endif;
232
  $catIds = "";
233
  $items = $cart->getAllItems();
 
234
  foreach ($items as $itemId=>$item) {
235
 
236
  $productId = $item->getProduct()->getId();
@@ -245,10 +243,8 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
245
  $optionValue = $_resource->getAttributeRawValue($_item, $this->getBrandAttr(), Mage::app()->getStore());
246
  //echo $optionvalue;
247
  $_product = Mage::getModel('catalog/product')->load($productId);
248
- ?>
249
-
250
-
251
- <?php $cats = $item->getProduct()->getCategoryIds();
252
  foreach ($cats as $category_id) {
253
  $_cat = Mage::getModel('catalog/category')->load($category_id) ;
254
 
72
  }
73
  }
74
 
75
+
76
  $routeName = Mage::app()->getRequest()->getRouteName();
77
  $identifier = Mage::getSingleton('cms/page')->getIdentifier();
78
  if ($routeName == 'cms' && $identifier == 'home') :
79
  ?>
80
  exec_tvc_t_hi = true;
 
 
81
  <?php
82
 
83
  endif;
151
 
152
  <?php
153
 
 
154
 
155
 
 
 
156
  $sku_id = $this->getProduct()->getId();
157
  $product = Mage::getModel('catalog/product')->load($sku_id);
158
 
224
  var checkoutStep = 1;
225
 
226
  var LoggedIn = false;
227
+
228
  <?php endif;
229
  $catIds = "";
230
  $items = $cart->getAllItems();
231
+
232
  foreach ($items as $itemId=>$item) {
233
 
234
  $productId = $item->getProduct()->getId();
243
  $optionValue = $_resource->getAttributeRawValue($_item, $this->getBrandAttr(), Mage::app()->getStore());
244
  //echo $optionvalue;
245
  $_product = Mage::getModel('catalog/product')->load($productId);
246
+
247
+ $cats = $item->getProduct()->getCategoryIds();
 
 
248
  foreach ($cats as $category_id) {
249
  $_cat = Mage::getModel('catalog/category')->load($category_id) ;
250
 
package.xml CHANGED
@@ -1,20 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tatvic_Google_Analytics_Enhanced_Ecommerce</name>
4
- <version>2.0.0</version>
5
  <stability>stable</stability>
6
  <license>Tatvic</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Provides integration between Google Analytics Enhanced Ecommerce and Magento</summary>
10
  <description>Provides integration between Google Analytics Enhanced Ecommerce and Magento</description>
11
- <notes>+ Search Result Crash Bug Fixed&#xD;
12
- + Missing Information on Progress Bar on Checkout Page Issue Fixed&#xD;
13
- + Brand Attribute Tracking Issue Fixed</notes>
14
  <authors><author><name>Vishal</name><user>vishal</user><email>divyesh@tatvic.com</email></author></authors>
15
- <date>2015-01-08</date>
16
- <time>11:00:00</time>
17
- <contents><target name="magecommunity"><dir name="Tatvic"><dir name="Uaee"><dir name="Block"><file name="Uaee.php" hash="fd548dd0715f6b5c33659f1fd95fffaf"/><file name="Uaee.php" hash="fd548dd0715f6b5c33659f1fd95fffaf"/></dir><dir name="Helper"><file name="Data.php" hash="439f09975392babfd79df03e516a5045"/><file name="Data.php" hash="439f09975392babfd79df03e516a5045"/></dir><dir name="Model"><file name="Analyse.php" hash="33ac2f4394e29b60eeecf3a9de64ca6c"/><file name="Observer.php" hash="41172387b13dcc2ba96f0527d6fb1faf"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Addto.php" hash="8f6d395e2bf417c323cd782e351bc7ca"/><file name="Addto.php" hash="8f6d395e2bf417c323cd782e351bc7ca"/></dir></dir></dir><file name="Analyse.php" hash="33ac2f4394e29b60eeecf3a9de64ca6c"/><file name="Observer.php" hash="41172387b13dcc2ba96f0527d6fb1faf"/></dir><dir name="etc"><file name="config.xml" hash="ffaffd0224df0ff664ae2a27ecbfa670"/><file name="system.xml" hash="50fdcea90f1d8bc14e5691c8d9d5aec3"/><file name="config.xml" hash="ffaffd0224df0ff664ae2a27ecbfa670"/><file name="system.xml" hash="50fdcea90f1d8bc14e5691c8d9d5aec3"/></dir><dir name="sql"><dir name="tatvic_uaee_setup"><file name="mysql4-install-1.0.0.php" hash="6267ac5101cea1efa4dfeee26ae83a03"/><file name="mysql4-install-1.0.0.php" hash="6267ac5101cea1efa4dfeee26ae83a03"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="tatvic_uaee.xml" hash="cd5ab16cf828ecfdb395bb9e4768b177"/></dir><dir name="template"><dir name="tatvic"><dir name="uaee"><file name="uaee.phtml" hash="317af0c3495643235d5e6dbadb78f7e5"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tatvic_Uaee.xml" hash="cd9f7e6a80b3e83efe0f190cd3f4f997"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>5.6.3</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tatvic_Google_Analytics_Enhanced_Ecommerce</name>
4
+ <version>2.0.1</version>
5
  <stability>stable</stability>
6
  <license>Tatvic</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Provides integration between Google Analytics Enhanced Ecommerce and Magento</summary>
10
  <description>Provides integration between Google Analytics Enhanced Ecommerce and Magento</description>
11
+ <notes># Onestep Checkout Bug Fixed</notes>
 
 
12
  <authors><author><name>Vishal</name><user>vishal</user><email>divyesh@tatvic.com</email></author></authors>
13
+ <date>2015-01-22</date>
14
+ <time>11:39:38</time>
15
+ <contents><target name="magecommunity"><dir name="Tatvic"><dir name="Uaee"><dir name="Block"><file name="Uaee.php" hash="fd548dd0715f6b5c33659f1fd95fffaf"/><file name="Uaee.php" hash="fd548dd0715f6b5c33659f1fd95fffaf"/></dir><dir name="Helper"><file name="Data.php" hash="439f09975392babfd79df03e516a5045"/><file name="Data.php" hash="439f09975392babfd79df03e516a5045"/></dir><dir name="Model"><file name="Analyse.php" hash="0d64893399a935935dbfdecb643e8100"/><file name="Observer.php" hash="9714cd8e1fdd1f2366244313c8750a6c"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Addto.php" hash="8f6d395e2bf417c323cd782e351bc7ca"/><file name="Addto.php" hash="8f6d395e2bf417c323cd782e351bc7ca"/></dir></dir></dir><file name="Analyse.php" hash="0d64893399a935935dbfdecb643e8100"/><file name="Observer.php" hash="9714cd8e1fdd1f2366244313c8750a6c"/></dir><dir name="etc"><file name="config.xml" hash="761deda14523b2fd97cfcc0bd2faff9e"/><file name="system.xml" hash="908bb2703caa647fb2d8c942326c5ab6"/><file name="config.xml" hash="761deda14523b2fd97cfcc0bd2faff9e"/><file name="system.xml" hash="908bb2703caa647fb2d8c942326c5ab6"/></dir><dir name="sql"><dir name="tatvic_uaee_setup"><file name="mysql4-install-1.0.0.php" hash="6267ac5101cea1efa4dfeee26ae83a03"/><file name="mysql4-install-1.0.0.php" hash="6267ac5101cea1efa4dfeee26ae83a03"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="tatvic_uaee.xml" hash="cd5ab16cf828ecfdb395bb9e4768b177"/></dir><dir name="template"><dir name="tatvic"><dir name="uaee"><file name="uaee.phtml" hash="095d54a2a5176256dce88854a71536f8"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tatvic_Uaee.xml" hash="cd9f7e6a80b3e83efe0f190cd3f4f997"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.3</max></php></required></dependencies>
18
  </package>