Facebook_Pixel_Retargeting - Version 1.0.0

Version Notes

- enable / disable support
- tag placement support for before head end, after body start, before body end
- 1 or multiple ids

Download this release

Release Info

Developer Matthew Parke
Extension Facebook_Pixel_Retargeting
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/EngageCommerce/Facebook/Helper/Data.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category EngageCommerce
16
+ * @package EngageCommerce_Facebook
17
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ class EngageCommerce_Facebook_Helper_Data extends Mage_Core_Helper_Abstract
21
+ {
22
+ public function isPixelEnabled()
23
+ {
24
+ return Mage::getStoreConfig("engagecommerce_facebook/facebook_pixel/enabled");
25
+ }
26
+
27
+ public function getLoadOrder()
28
+ {
29
+ return Mage::getStoreConfig("engagecommerce_facebook/facebook_pixel/loadorder");
30
+ }
31
+
32
+ public function getPixelId()
33
+ {
34
+ return Mage::getStoreConfig("engagecommerce_facebook/facebook_pixel/pixel_id");
35
+ }
36
+ }
app/code/community/EngageCommerce/Facebook/Model/LoadOrder.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category EngageCommerce
16
+ * @package EngageCommerce_Facebook
17
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ class EngageCommerce_Facebook_Model_LoadOrder extends Mage_Adminhtml_Model_System_Config_Source_Yesno
21
+ {
22
+ public function toOptionArray()
23
+ {
24
+ return array(
25
+ array('value' => 'before_head_end', 'label'=>Mage::helper('adminhtml')->__('Before Head End')),
26
+ array('value' => 'after_body_start', 'label'=>Mage::helper('adminhtml')->__('After Body Start')),
27
+ array('value' => 'before_body_end', 'label'=>Mage::helper('adminhtml')->__('Before Body End'))
28
+ );
29
+ }
30
+ }
app/code/community/EngageCommerce/Facebook/etc/adminhtml.xml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * @category EngageCommerce
17
+ * @package EngageCommerce_Facebook
18
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <config>
23
+ <acl>
24
+ <resources>
25
+ <admin>
26
+ <children>
27
+ <system>
28
+ <children>
29
+ <config>
30
+ <children>
31
+ <engagecommerce_facebook>
32
+ <title>Engage Commerce Facebook Pixel</title>
33
+ <sort_order>990</sort_order>
34
+ </engagecommerce_facebook>
35
+ </children>
36
+ </config>
37
+ </children>
38
+ </system>
39
+ </children>
40
+ </admin>
41
+ </resources>
42
+ </acl>
43
+ </config>
app/code/community/EngageCommerce/Facebook/etc/config.xml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * @category EngageCommerce
17
+ * @package EngageCommerce_Facebook
18
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <config>
23
+ <modules>
24
+ <engagecommerce_facebook>
25
+ <version>0.0.1</version>
26
+ </engagecommerce_facebook>
27
+ </modules>
28
+ <global>
29
+ <models>
30
+ <engagecommerce_facebook>
31
+ <class>EngageCommerce_Facebook_Model</class>
32
+ <resourceModel>engagecommerce_facebook_resource</resourceModel>
33
+ </engagecommerce_facebook>
34
+ <engagecommerce_facebook_resource>
35
+ <class>EngageCommerce_Facebook_Model_Resource</class>
36
+ </engagecommerce_facebook_resource>
37
+
38
+ <engagecommerce_facebook_loadorder>
39
+ <class>EngageCommerce_Facebook_Model_LoadOrder</class>
40
+ <resourceModel>engagecommerce_facebook_loadorder_resource</resourceModel>
41
+ </engagecommerce_facebook_loadorder>
42
+ <engagecommerce_facebook_loadorder_resource>
43
+ <class>EngageCommerce_Facebook_Model_LoadOrder_Resource</class>
44
+ </engagecommerce_facebook_loadorder_resource>
45
+ </models>
46
+ <helpers>
47
+ <engagecommerce_facebook>
48
+ <class>EngageCommerce_Facebook_Helper</class>
49
+ </engagecommerce_facebook>
50
+ </helpers>
51
+ </global>
52
+ <frontend>
53
+ <layout>
54
+ <updates>
55
+ <engagecommerce_facebook>
56
+ <file>engagecommerce_facebook.xml</file>
57
+ </engagecommerce_facebook>
58
+ </updates>
59
+ </layout>
60
+ </frontend>
61
+ <default>
62
+ <engagecommerce_facebook>
63
+ <facebook_pixel>
64
+ <enabled>0</enabled>
65
+ <loadorder>before_head_end</loadorder>
66
+ </facebook_pixel>
67
+ </engagecommerce_facebook>
68
+ </default>
69
+ </config>
app/code/community/EngageCommerce/Facebook/etc/system.xml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * @category EngageCommerce
17
+ * @package EngageCommerce_Facebook
18
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <config>
23
+ <tabs>
24
+ <engagecommerce>
25
+ <label>Engage Commerce</label>
26
+ <sort_order>100</sort_order>
27
+ </engagecommerce>
28
+ </tabs>
29
+ <sections>
30
+ <engagecommerce_facebook translate="label">
31
+ <label>Facebook Pixel</label>
32
+ <tab>engagecommerce</tab>
33
+ <frontend_type>text</frontend_type>
34
+ <sort_order>0</sort_order>
35
+ <show_in_default>1</show_in_default>
36
+ <show_in_website>1</show_in_website>
37
+ <show_in_store>1</show_in_store>
38
+ <groups>
39
+ <facebook_pixel translate="label">
40
+ <label>Setup Base Pixel</label>
41
+ <show_in_default>1</show_in_default>
42
+ <show_in_website>1</show_in_website>
43
+ <show_in_store>1</show_in_store>
44
+ <sort_order>1</sort_order>
45
+ <expanded>1</expanded>
46
+ <fields>
47
+ <enabled translate="label">
48
+ <label>Enabled</label>
49
+ <frontend_type>select</frontend_type>
50
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
51
+ <sort_order>10</sort_order>
52
+ <show_in_default>1</show_in_default>
53
+ <show_in_website>1</show_in_website>
54
+ <show_in_store>1</show_in_store>
55
+ <comment><![CDATA[Enabling the Facebook pixel will allow the pixel to load on every page, sending your visitor traffic to Facebook so that you can utilize <a href="https://www.facebook.com/business/help/449542958510885" target="_blank">custom audiences</a> and <a href="https://www.facebook.com/business/help/780705975381000" target="_blank">custom conversions</a>.]]></comment>
56
+ </enabled>
57
+ <pixel_id translate="label">
58
+ <label>Facebook Pixel ID(s)</label>
59
+ <frontend_type>text</frontend_type>
60
+ <sort_order>20</sort_order>
61
+ <show_in_default>1</show_in_default>
62
+ <show_in_website>1</show_in_website>
63
+ <show_in_store>1</show_in_store>
64
+ <comment><![CDATA[Your Facebook Pixel ID(s) can be found in your <a href="https://www.facebook.com/ads/manager/pixel/facebook_pixel/" target="_blank">pixel dashboard</a> or Business Manager <a href="https://business.facebook.com/settings/pixels/" target="_blank">pixel settings</a>. If entering multiple IDs, please separate them with a comma.]]></comment>
65
+ </pixel_id>
66
+ <loadorder translate="label">
67
+ <label>Facebook Pixel Load Order</label>
68
+ <frontend_type>select</frontend_type>
69
+ <source_model>EngageCommerce_Facebook_Model_LoadOrder</source_model>
70
+ <sort_order>10</sort_order>
71
+ <show_in_default>1</show_in_default>
72
+ <show_in_website>1</show_in_website>
73
+ <show_in_store>1</show_in_store>
74
+ <comment><![CDATA[Change where in your page the Facebook pixel will load if needed, but <a href="https://www.facebook.com/business/help/952192354843755" target="_blank">Facebook recommends</a> loading it in the head section.]]></comment>
75
+ </loadorder>
76
+ </fields>
77
+ </facebook_pixel>
78
+ </groups>
79
+ </engagecommerce_facebook>
80
+ </sections>
81
+ </config>
app/design/frontend/base/default/layout/engagecommerce_facebook.xml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * @category EngageCommerce
17
+ * @package EngageCommerce_Facebook
18
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <layout version="0.1.0">
23
+ <default>
24
+ <reference name="head">
25
+ <block type="core/template" name="engagecommerce_facebook_before_head_end" as="engagecommerce_facebook_before_head_end" template="EngageCommerce/Facebook/pixel_before_head_end.phtml" />
26
+ </reference>
27
+ <reference name="engagecommerce_facebook_before_head_end">
28
+ <block type="core/template" name="engagecommerce_facebook_pixel" as="engagecommerce_facebook_pixel" template="EngageCommerce/Facebook/facebook_pixel.phtml" />
29
+ </reference>
30
+
31
+ <reference name="after_body_start">
32
+ <block type="core/template" name="engagecommerce_facebook_after_body_start" as="engagecommerce_facebook_after_body_start" template="EngageCommerce/Facebook/pixel_after_body_start.phtml" />
33
+ </reference>
34
+ <reference name="engagecommerce_facebook_after_body_start">
35
+ <block type="core/template" name="engagecommerce_facebook_pixel" as="engagecommerce_facebook_pixel" template="EngageCommerce/Facebook/facebook_pixel.phtml" />
36
+ </reference>
37
+
38
+ <reference name="before_body_end">
39
+ <block type="core/template" name="engagecommerce_facebook_before_body_end" as="engagecommerce_facebook_before_body_end" template="EngageCommerce/Facebook/pixel_before_body_end.phtml" />
40
+ </reference>
41
+ <reference name="engagecommerce_facebook_before_body_end">
42
+ <block type="core/template" name="engagecommerce_facebook_pixel" as="engagecommerce_facebook_pixel" template="EngageCommerce/Facebook/facebook_pixel.phtml" />
43
+ </reference>
44
+ </default>
45
+ </layout>
app/design/frontend/base/default/template/EngageCommerce/Facebook/facebook_pixel.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category EngageCommerce
16
+ * @package EngageCommerce_Facebook
17
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ $pixelHelper = Mage::helper("engagecommerce_facebook");
21
+ $pixelId = $pixelHelper->getPixelId();
22
+ $pixelArr = array_filter(array_map('trim', explode(',', $pixelId)), 'strlen');
23
+ ?>
24
+
25
+ <!-- Engage Commerce: Facebook Pixel Base Code -->
26
+ <script>
27
+ !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
28
+ n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
29
+ n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
30
+ t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
31
+ document,'script','//connect.facebook.net/en_US/fbevents.js');
32
+
33
+ <?php foreach($pixelArr as $id): ?>
34
+ fbq('init', '<?php echo $id ?>');
35
+ <?php endforeach; ?>
36
+
37
+ fbq('track', "PageView");
38
+ </script>
39
+
40
+ <?php foreach($pixelArr as $id): ?>
41
+ <noscript>
42
+ <img height="1" width="1" style="display:none" src="//www.facebook.com/tr?id=<?php echo $id ?>&ev=PageView&noscript=1" />
43
+ </noscript>
44
+ <?php endforeach; ?>
app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_after_body_start.phtml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category EngageCommerce
16
+ * @package EngageCommerce_Facebook
17
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ $pixelHelper = Mage::helper("engagecommerce_facebook");
21
+ if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'after_body_start')) {
22
+ echo $this->getChildHtml('engagecommerce_facebook_pixel');
23
+ }
24
+ ?>
app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_before_body_end.phtml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category EngageCommerce
16
+ * @package EngageCommerce_Facebook
17
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ $pixelHelper = Mage::helper("engagecommerce_facebook");
21
+ if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'before_body_end')) {
22
+ echo $this->getChildHtml('engagecommerce_facebook_pixel');
23
+ }
24
+ ?>
app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_before_head_end.phtml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category EngageCommerce
16
+ * @package EngageCommerce_Facebook
17
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ $pixelHelper = Mage::helper("engagecommerce_facebook");
21
+ if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'before_head_end')) {
22
+ echo $this->getChildHtml('engagecommerce_facebook_pixel');
23
+ }
24
+ ?>
app/etc/modules/EngageCommerce_Facebook.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Engage Commerce
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 license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * @category EngageCommerce
17
+ * @package EngageCommerce_Facebook
18
+ * @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ -->
22
+ <config>
23
+ <modules>
24
+ <EngageCommerce_Facebook>
25
+ <active>true</active>
26
+ <codePool>community</codePool>
27
+ </EngageCommerce_Facebook>
28
+ </modules>
29
+ </config>
package.xml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Facebook_Pixel_Retargeting</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>The Facebook Pixel for Retargeting extension allows Facebook advertisers to build an audience from the users that visit their ecommerce store and retarget them using Facebook Ads.</summary>
10
+ <description>The Facebook pixel is a javascript analytics tag that captures when a user visits a page. For more details, visit http://engagecommerce.io/downloads/facebook-pixel-retargeting-magento/</description>
11
+ <notes> - enable / disable support&#xD;
12
+ - tag placement support for before head end, after body start, before body end&#xD;
13
+ - 1 or multiple ids</notes>
14
+ <authors><author><name>Matthew Parke</name><user>MAG003281797</user><email>magento@engagecommerce.io</email></author></authors>
15
+ <date>2016-01-19</date>
16
+ <time>03:06:46</time>
17
+ <contents><target name="magecommunity"><dir name="EngageCommerce"><dir name="Facebook"><dir name="Helper"><file name="Data.php" hash="158b2fc989ce14874a367efc4ca1230c"/></dir><dir name="Model"><file name="LoadOrder.php" hash="f13667abcb7829b17ba60a0a79bc09a7"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2eab2caba7f4d10f9ee00b0fd632c9f1"/><file name="config.xml" hash="4087bd41311f8166542051ef27b297d6"/><file name="system.xml" hash="4e0c7e732bf0345ddf3bbd11ef15904d"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="engagecommerce_facebook.xml" hash="544cfb5d875aac62daf2e038b125af02"/></dir><dir name="template"><dir name="EngageCommerce"><dir name="Facebook"><file name="facebook_pixel.phtml" hash="4cd885aefe7b17e4209494980f4174f0"/><file name="pixel_after_body_start.phtml" hash="bc736c6b035c00eaa67609909e803391"/><file name="pixel_before_body_end.phtml" hash="fcc01acfb82b6e1c137210fd4e73fb9c"/><file name="pixel_before_head_end.phtml" hash="115a6847c258f68e732679027ffbdba3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EngageCommerce_Facebook.xml" hash="9d8e8cf5a3be72c943eb70d5d49283cb"/></dir></target></contents>
18
+ <compatible/>
19
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
+ </package>