Version Notes
Works with Magento Enterprise Edition 1.7.0.0 or later, Professional Edition 1.9.0.0 or later, and Magento Community Edition 1.3.3.0 or later.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Navegg |
Version | 0.1.1 |
Comparing to | |
See all releases |
Version 0.1.1
- app/code/community/Buscape/Navegg/Block/Page/Body.php +42 -0
- app/code/community/Buscape/Navegg/Block/Page/Head.php +42 -0
- app/code/community/Buscape/Navegg/Helper/Data.php +31 -0
- app/code/community/Buscape/Navegg/Model/Config.php +57 -0
- app/code/community/Buscape/Navegg/Model/Observer.php +64 -0
- app/code/community/Buscape/Navegg/etc/config.xml +82 -0
- app/code/community/Buscape/Navegg/etc/system.xml +159 -0
- app/etc/modules/Buscape_Navegg.xml +29 -0
- package.xml +33 -0
app/code/community/Buscape/Navegg/Block/Page/Body.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Buscape
|
16 |
+
* @package Buscape_Navegg
|
17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
class Buscape_Navegg_Block_Page_Body extends Mage_Core_Block_Text
|
22 |
+
{
|
23 |
+
/**
|
24 |
+
* Render tracking scripts
|
25 |
+
*
|
26 |
+
* @return string
|
27 |
+
*/
|
28 |
+
protected function _toHtml()
|
29 |
+
{
|
30 |
+
if (!Mage::helper('navegg')->isAvailable()) {
|
31 |
+
return '';
|
32 |
+
}
|
33 |
+
|
34 |
+
$html = '<!-- Navegg __CID -->';
|
35 |
+
|
36 |
+
$html .= '<input type="hidden" name="__cid" value="'.$this->getProductName().'" />';
|
37 |
+
|
38 |
+
$html .= '<!-- Navegg __CID -->';
|
39 |
+
|
40 |
+
return $html;
|
41 |
+
}
|
42 |
+
}
|
app/code/community/Buscape/Navegg/Block/Page/Head.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Buscape
|
16 |
+
* @package Buscape_Navegg
|
17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
class Buscape_Navegg_Block_Page_Head extends Mage_Core_Block_Text
|
22 |
+
{
|
23 |
+
/**
|
24 |
+
* Render tracking scripts
|
25 |
+
*
|
26 |
+
* @return string
|
27 |
+
*/
|
28 |
+
protected function _toHtml()
|
29 |
+
{
|
30 |
+
if (!Mage::helper('navegg')->isAvailable()) {
|
31 |
+
return '';
|
32 |
+
}
|
33 |
+
|
34 |
+
$html = '<!-- Navegg Code Begin -->';
|
35 |
+
|
36 |
+
$html .= '<script id="navegg" type="text/javascript" src="http://navdmp.com/lt.js?'. $this->getNavegg() .'"></script>';
|
37 |
+
|
38 |
+
$html .= '<!-- Navegg Code End -->';
|
39 |
+
|
40 |
+
return $html;
|
41 |
+
}
|
42 |
+
}
|
app/code/community/Buscape/Navegg/Helper/Data.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Buscape
|
16 |
+
* @package Buscape_Navegg
|
17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
class Buscape_Navegg_Helper_Data extends Mage_Core_Helper_Abstract
|
22 |
+
{
|
23 |
+
|
24 |
+
|
25 |
+
public function isAvailable($store = null)
|
26 |
+
{
|
27 |
+
// you must do the call for getConfig and get the informations of account
|
28 |
+
$accountId = Mage::getStoreConfig(Buscape_Navegg_Model_Config::XML_PATH_ACCOUNT, $store);
|
29 |
+
return $accountId && Mage::getStoreConfigFlag(Buscape_Navegg_Model_Config::XML_PATH_ACTIVE, $store);
|
30 |
+
}
|
31 |
+
}
|
app/code/community/Buscape/Navegg/Model/Config.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Buscape
|
16 |
+
* @package Buscape_Navegg
|
17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
class Buscape_Navegg_Model_Config extends Varien_Object
|
22 |
+
{
|
23 |
+
const XML_PATH = 'navegg_options/navegg/';
|
24 |
+
|
25 |
+
const XML_PATH_ACTIVE = 'navegg_options/navegg/active';
|
26 |
+
|
27 |
+
const XML_PATH_ACCOUNT = 'navegg_options/navegg/advertising';
|
28 |
+
|
29 |
+
protected $_config = array();
|
30 |
+
|
31 |
+
public function getConfigData($key, $storeId = null)
|
32 |
+
{
|
33 |
+
if (!isset($this->_config[$key][$storeId])) {
|
34 |
+
$value = Mage::getStoreConfig(self::XML_PATH . $key, $storeId);
|
35 |
+
$this->_config[$key][$storeId] = $value;
|
36 |
+
}
|
37 |
+
return $this->_config[$key][$storeId];
|
38 |
+
}
|
39 |
+
|
40 |
+
public function getAccount($store = null)
|
41 |
+
{
|
42 |
+
if (!$this->hasData('navegg_account')) {
|
43 |
+
$this->setData('navegg_account', $this->getConfigData('advertising', $store));
|
44 |
+
}
|
45 |
+
|
46 |
+
return $this->getData('navegg_account');
|
47 |
+
}
|
48 |
+
|
49 |
+
public function getEvent($store = null)
|
50 |
+
{
|
51 |
+
if (!$this->hasData('navegg_event')) {
|
52 |
+
$this->setData('navegg_event', $this->getConfigData('event', $store));
|
53 |
+
}
|
54 |
+
|
55 |
+
return $this->getData('navegg_event');
|
56 |
+
}
|
57 |
+
}
|
app/code/community/Buscape/Navegg/Model/Observer.php
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Buscape
|
16 |
+
* @package Buscape_Navegg
|
17 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
class Buscape_Navegg_Model_Observer
|
22 |
+
{
|
23 |
+
const BLOCK_PAGE_HEAD = 'Buscape_Navegg_Block_Page_Head';
|
24 |
+
|
25 |
+
const BLOCK_PAGE_BODY = 'Buscape_Navegg_Block_Page_Body';
|
26 |
+
|
27 |
+
private static $_config;
|
28 |
+
|
29 |
+
private function _getConfig()
|
30 |
+
{
|
31 |
+
if(is_null(self::$_config)) {
|
32 |
+
self::$_config = Mage::getModel('navegg/config');
|
33 |
+
}
|
34 |
+
return self::$_config;
|
35 |
+
}
|
36 |
+
|
37 |
+
public function setPageHeadNavegg(Varien_Event_Observer $observer)
|
38 |
+
{
|
39 |
+
$head = Mage::app()->getFrontController()->getAction()->getLayout()->getBlock('head');
|
40 |
+
if ($head) {
|
41 |
+
$block = Mage::app()->getFrontController()->getAction()->getLayout()->createBlock(
|
42 |
+
self::BLOCK_PAGE_HEAD,
|
43 |
+
'navegg_page_head',
|
44 |
+
array(
|
45 |
+
'as' => 'navegg_page_head'
|
46 |
+
)
|
47 |
+
);
|
48 |
+
$block->setNavegg($this->_getConfig()->getAccount());
|
49 |
+
$head->insert($block);
|
50 |
+
}
|
51 |
+
$content = Mage::app()->getFrontController()->getAction()->getLayout()->getBlock('content');
|
52 |
+
if ($content && !is_null(Mage::registry('product'))) {
|
53 |
+
$block = Mage::app()->getFrontController()->getAction()->getLayout()->createBlock(
|
54 |
+
self::BLOCK_PAGE_BODY,
|
55 |
+
'navegg_page_body',
|
56 |
+
array(
|
57 |
+
'as' => 'navegg_page_body'
|
58 |
+
)
|
59 |
+
);
|
60 |
+
$block->setProductName(Mage::registry('product')->getName());
|
61 |
+
$content->insert($block);
|
62 |
+
}
|
63 |
+
}
|
64 |
+
}
|
app/code/community/Buscape/Navegg/etc/config.xml
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Buscape
|
17 |
+
* @package Buscape_Navegg
|
18 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
<config>
|
23 |
+
<modules>
|
24 |
+
<Buscape_Navegg>
|
25 |
+
<version>0.1.0</version>
|
26 |
+
</Buscape_Navegg>
|
27 |
+
</modules>
|
28 |
+
<global>
|
29 |
+
<models>
|
30 |
+
<navegg>
|
31 |
+
<class>Buscape_Navegg_Model</class>
|
32 |
+
</navegg>
|
33 |
+
</models>
|
34 |
+
<blocks>
|
35 |
+
<navegg>
|
36 |
+
<class>Buscape_Navegg_Block</class>
|
37 |
+
</navegg>
|
38 |
+
</blocks>
|
39 |
+
<helpers>
|
40 |
+
<navegg>
|
41 |
+
<class>Buscape_Navegg_Helper</class>
|
42 |
+
</navegg>
|
43 |
+
</helpers>
|
44 |
+
</global>
|
45 |
+
<frontend>
|
46 |
+
<events>
|
47 |
+
<controller_action_layout_generate_blocks_after>
|
48 |
+
<observers>
|
49 |
+
<navegg_page_head>
|
50 |
+
<class>navegg/observer</class>
|
51 |
+
<method>setPageHeadNavegg</method>
|
52 |
+
</navegg_page_head>
|
53 |
+
</observers>
|
54 |
+
</controller_action_layout_generate_blocks_after>
|
55 |
+
</events>
|
56 |
+
</frontend>
|
57 |
+
|
58 |
+
|
59 |
+
<adminhtml>
|
60 |
+
<acl>
|
61 |
+
<resources>
|
62 |
+
<admin>
|
63 |
+
<children>
|
64 |
+
<system>
|
65 |
+
<children>
|
66 |
+
<config>
|
67 |
+
<children>
|
68 |
+
<navegg_options>
|
69 |
+
<title>Navegg</title>
|
70 |
+
</navegg_options>
|
71 |
+
</children>
|
72 |
+
</config>
|
73 |
+
</children>
|
74 |
+
</system>
|
75 |
+
</children>
|
76 |
+
</admin>
|
77 |
+
</resources>
|
78 |
+
</acl>
|
79 |
+
</adminhtml>
|
80 |
+
|
81 |
+
|
82 |
+
</config>
|
app/code/community/Buscape/Navegg/etc/system.xml
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" ?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Buscape
|
17 |
+
* @package Buscape_Navegg
|
18 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
|
23 |
+
|
24 |
+
<config>
|
25 |
+
<tabs>
|
26 |
+
<navegg translate="label" >
|
27 |
+
<label>Navegg</label>
|
28 |
+
<sort_order>100</sort_order>
|
29 |
+
</navegg>
|
30 |
+
</tabs>
|
31 |
+
<sections>
|
32 |
+
<navegg_options translate="label" module="navegg">
|
33 |
+
<label>Setup</label>
|
34 |
+
<tab>navegg</tab>
|
35 |
+
<sort_order>10</sort_order>
|
36 |
+
<show_in_default>1</show_in_default>
|
37 |
+
<show_in_website>1</show_in_website>
|
38 |
+
<show_in_store>1</show_in_store>
|
39 |
+
|
40 |
+
<groups>
|
41 |
+
<navegg translate="label">
|
42 |
+
<label>Navegg</label>
|
43 |
+
<frontend_type>text</frontend_type>
|
44 |
+
<sort_order>1</sort_order>
|
45 |
+
<show_in_default>1</show_in_default>
|
46 |
+
<show_in_website>1</show_in_website>
|
47 |
+
<show_in_store>1</show_in_store>
|
48 |
+
<comment>
|
49 |
+
<![CDATA[
|
50 |
+
|
51 |
+
<div style="background:#fafafa">
|
52 |
+
|
53 |
+
<img src="http://www.navegg.com/wp-content/themes/navegg/i/logo.png" style="display:block;margin-bottom:10px">
|
54 |
+
|
55 |
+
<div style="float:left;width:49%">
|
56 |
+
|
57 |
+
<h2 style="font-family:Arial;font-size:14px">Know your website's audience and deliver personalized content and ads, user by user</h2>
|
58 |
+
|
59 |
+
<p style="font-family:Arial;font-size:12px">Based on user behavior in and out of your website, Navegg segments your audience, allowing personalized content and advertising offers. Make your website more attractive and increase clickthrough rates, driving revenue up.</p>
|
60 |
+
|
61 |
+
<p style="font-family:Arial;font-size:12px">Online audience targeting with network intelligence With the Navegg technology, your website's audience is automatically classified into 9 smart segmentation criteria, such as demographic data, content interest, purchase intent and education. Always from the browsing behavior analysis, completely anonymous – that is, Navegg does not store data that may identify the users, such as e-mails or IPs.</p>
|
62 |
+
|
63 |
+
<p style="font-family:Arial;font-size:12px">Control Panel: Regardless of how specific your website is, audience segmentation can bring great surprises about who accesses your page. To help you in these findings, all information about your visitors can be accessed through the new Navegg Control Panel.</p>
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
<h2 style="font-family:Arial;font-size:14px;margin-top:40px">Your Navegg ID</h2>
|
68 |
+
|
69 |
+
<p style="font-family:Arial;font-size:12px">Enter the Navegg ID it was send to your e-mail. Navegg's tag will be inserted on your website and your visitors, targeted.</p>
|
70 |
+
|
71 |
+
<ul style="font-family:Arial;font-size:12px;font-weight:bold;list-style:none">
|
72 |
+
|
73 |
+
<li style="background:url('http://www.navegg.com/wp-content/themes/navegg/i/ui_wp_nvg.png') no-repeat 3px -63px;width:200px;margin-bottom:8px;padding:2px 0 2px 22px">
|
74 |
+
<a href="http://www.navegg.com/en/client-area/documentation/implementing-naveggs-technology/" target="_blank" style="color:#3880ae;text-decoration:none">How does Navegg ID works?</a>
|
75 |
+
</li>
|
76 |
+
|
77 |
+
<li style="background:url('http://www.navegg.com/wp-content/themes/navegg/i/ui_wp_nvg.png') no-repeat left -289px;width:300px;margin-bottom:8px;padding:2px 0 2px 22px">
|
78 |
+
<a href="http://www.navegg.com/en/start-now/?utm_campaign=assine&utm_medium=naveggcom&utm_source=pluginMagento" target="_blank" style="color:#3880ae;text-decoration:none">Don't you have a Navegg ID? <span style="color:#60a51b">Sign up now!</span></a>
|
79 |
+
</li>
|
80 |
+
|
81 |
+
</ul>
|
82 |
+
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<div style="float:right;width:48%">
|
86 |
+
|
87 |
+
<div style="height:215px;background:url('http://www.navegg.com/wp-content/themes/navegg/i/magento-blocos-links.png') no-repeat 175px 0">
|
88 |
+
|
89 |
+
<h2 style="font-family:Arial;font-size:14px">Links</h2>
|
90 |
+
|
91 |
+
<ul style="font-family:Arial;font-size:12px;font-weight:bold;list-style:none">
|
92 |
+
|
93 |
+
<li style="background:url('http://www.navegg.com/wp-content/themes/navegg/i/ui_wp_nvg.png') no-repeat 1px -17px;width:200px;margin-bottom:8px;padding:2px 0 2px 22px">
|
94 |
+
<a href="http://www.navegg.com/en/client-area/documentation/" target="_blank" style="color:#3880ae;text-decoration:none">Documentation</a>
|
95 |
+
</li>
|
96 |
+
|
97 |
+
<li style="background:url('http://www.navegg.com/wp-content/themes/navegg/i/ui_wp_nvg.png') no-repeat 3px -63px;width:200px;margin-bottom:8px;padding:2px 0 2px 22px">
|
98 |
+
<a href="http://www.navegg.com/en/solution/faq/" target="_blank" style="color:#3880ae;text-decoration:none">FAQ</a>
|
99 |
+
</li>
|
100 |
+
|
101 |
+
<li style="background:url('http://www.navegg.com/wp-content/themes/navegg/i/ui_wp_nvg.png') no-repeat 1px -108px;width:200px;margin-bottom:8px;padding:2px 0 2px 22px">
|
102 |
+
<a href="http://www.navegg.com/en/solution/" target="_blank" style="color:#3880ae;text-decoration:none">Solutions</a>
|
103 |
+
</li>
|
104 |
+
|
105 |
+
<li style="background:url('http://www.navegg.com/wp-content/themes/navegg/i/ui_wp_nvg.png') no-repeat left -153px;width:200px;margin-bottom:8px;padding:2px 0 2px 22px">
|
106 |
+
<a href="http://www.navegg.com/en/start-now/?utm_campaign=assine&utm_medium=naveggcom&utm_source=pluginMagento" target="_blank" style="color:#3880ae;text-decoration:none">Plans and Pricing</a>
|
107 |
+
</li>
|
108 |
+
|
109 |
+
<li style="background:url('http://www.navegg.com/wp-content/themes/navegg/i/ui_wp_nvg.png') no-repeat left -243px;width:200px;margin-bottom:8px;padding:2px 0 2px 22px">
|
110 |
+
<a href="http://www.navegg.com/en/about-navegg/contact/" target="_blank" style="color:#3880ae;text-decoration:none">Contact</a>
|
111 |
+
</li>
|
112 |
+
|
113 |
+
</ul>
|
114 |
+
|
115 |
+
</div>
|
116 |
+
|
117 |
+
<div style="margin-top:40px;height:60px;padding-top:9px;background:url('http://www.navegg.com/wp-content/themes/navegg/i/magento-painel.png') no-repeat left top">
|
118 |
+
|
119 |
+
<p style="font-family:Arial;font-size:12px;margin-left:180px">
|
120 |
+
<a href="http://navegg.com/panel" target="_blank" style="font-weight:bold;color:#60a51b;text-decoration:none">Click here</a> to access your Control Panel and check our reports abour your audience.
|
121 |
+
</p>
|
122 |
+
|
123 |
+
</div>
|
124 |
+
|
125 |
+
<p style="font-family:Arial;font-size:12px; text-align:right; margin-top:40px;">Developed by <a href="http://www.buscapecompany.com/" target="_blank" style="color:#3880ae;text-decoration:none;font-weight:bold;" >Buscapé Company</a></p>
|
126 |
+
</div>
|
127 |
+
|
128 |
+
</div>
|
129 |
+
|
130 |
+
|
131 |
+
]]>
|
132 |
+
</comment>
|
133 |
+
<fields>
|
134 |
+
<active translate="label">
|
135 |
+
<label>Enable</label>
|
136 |
+
<frontend_type>select</frontend_type>
|
137 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
138 |
+
<sort_order>10</sort_order>
|
139 |
+
<show_in_default>1</show_in_default>
|
140 |
+
<show_in_website>1</show_in_website>
|
141 |
+
<show_in_store>1</show_in_store>
|
142 |
+
</active>
|
143 |
+
<advertising translate="label">
|
144 |
+
<label>Navegg ID</label>
|
145 |
+
<frontend_type>text</frontend_type>
|
146 |
+
<sort_order>20</sort_order>
|
147 |
+
<show_in_default>1</show_in_default>
|
148 |
+
<show_in_website>1</show_in_website>
|
149 |
+
<show_in_store>1</show_in_store>
|
150 |
+
<validate>validate-number required-entry</validate>
|
151 |
+
</advertising>
|
152 |
+
|
153 |
+
</fields>
|
154 |
+
</navegg>
|
155 |
+
</groups>
|
156 |
+
|
157 |
+
</navegg_options>
|
158 |
+
</sections>
|
159 |
+
</config>
|
app/etc/modules/Buscape_Navegg.xml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to suporte.developer@buscape-inc.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Buscape
|
17 |
+
* @package Buscape_Navegg
|
18 |
+
* @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
<config>
|
23 |
+
<modules>
|
24 |
+
<Buscape_Navegg>
|
25 |
+
<active>true</active>
|
26 |
+
<codePool>community</codePool>
|
27 |
+
</Buscape_Navegg>
|
28 |
+
</modules>
|
29 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Navegg</name>
|
4 |
+
<version>0.1.1</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>
|
8 |
+
<extends/>
|
9 |
+
<summary>Know your store's audience by gender, age, income, purchase intent and much more.</summary>
|
10 |
+
<description>Navegg is a leading provider of online audience targeting solutions. Through the analysis of browsing behaviors, Navegg solutions create audience segments prepared to receive personalized content and advertising, anywhere on the web.
|
11 |
+

|
12 |
+
Unleash all the power of the online audience segmentation in your store! Know your store's audience by:
|
13 |
+

|
14 |
+
- Gender
|
15 |
+
- Age
|
16 |
+
- Income
|
17 |
+
- Instruction
|
18 |
+
- Marital status
|
19 |
+
- Topics of interest
|
20 |
+
- Purchase intent
|
21 |
+
- Geolocalization
|
22 |
+

|
23 |
+
You can enjoy the advantages of audience segmentation right now: Navegg offers 3 plans that can be hired online at http://www.navegg.com/en, including a completely free-of-charge option. Just choose the one that suits you best and start using it!
|
24 |
+

|
25 |
+
Navegg's plugin for Magento automatically inserts Navegg's tag on every page of your store - no setup, no code, no hassles.</description>
|
26 |
+
<notes>Works with Magento Enterprise Edition 1.7.0.0 or later, Professional Edition 1.9.0.0 or later, and Magento Community Edition 1.3.3.0 or later.</notes>
|
27 |
+
<authors><author><name>Developer Buscapé Company</name><user>auto-converted</user><email>suporte.developer@buscapecompany.com</email></author><author><name>Navegg</name><user>navegg</user><email>it@navegg.com</email></author></authors>
|
28 |
+
<date>2012-05-25</date>
|
29 |
+
<time>14:59:21</time>
|
30 |
+
<contents><target name="magecommunity"><dir name="Buscape"><dir name="Navegg"><dir name="Block"><dir name="Page"><file name="Body.php" hash="59a2dbb6785833d17a63b70787651d3a"/><file name="Head.php" hash="2d96ba478755d41329734a12b5b4b6bc"/></dir></dir><dir name="Helper"><file name="Data.php" hash="f3b4f9fcacd819ffe2a890946be89d76"/></dir><dir name="Model"><file name="Config.php" hash="5045a50afca42fc7f88a11a67e21eb39"/><file name="Observer.php" hash="5cff59fba61c448887851401a9f79d1a"/></dir><dir name="etc"><file name="config.xml" hash="71636ef236f27da354fa50bd68af8065"/><file name="system.xml" hash="b0b92817a3c444995ca08f48be6a5638"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Buscape_Navegg.xml" hash="a26c9693f912667045aace553839bf3c"/></dir></target></contents>
|
31 |
+
<compatible/>
|
32 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
33 |
+
</package>
|