Twitter_Website_Tag - 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 Twitter_Website_Tag
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

Files changed (21) hide show
  1. app/code/community/EngageCommerce/Facebook/Helper/Data.php +36 -0
  2. app/code/community/EngageCommerce/Facebook/Model/LoadOrder.php +30 -0
  3. app/code/community/EngageCommerce/Facebook/etc/adminhtml.xml +43 -0
  4. app/code/community/EngageCommerce/Facebook/etc/config.xml +69 -0
  5. app/code/community/EngageCommerce/Facebook/etc/system.xml +81 -0
  6. app/code/community/EngageCommerce/Twitter/Helper/Data.php +36 -0
  7. app/code/community/EngageCommerce/Twitter/Model/LoadOrder.php +30 -0
  8. app/code/community/EngageCommerce/Twitter/etc/adminhtml.xml +43 -0
  9. app/code/community/EngageCommerce/Twitter/etc/config.xml +69 -0
  10. app/code/community/EngageCommerce/Twitter/etc/system.xml +81 -0
  11. app/design/frontend/base/default/layout/engagecommerce_twitter.xml +45 -0
  12. app/design/frontend/base/default/template/EngageCommerce/Facebook/facebook_pixel.phtml +44 -0
  13. app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_after_body_start.phtml +24 -0
  14. app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_before_body_end.phtml +24 -0
  15. app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_before_head_end.phtml +24 -0
  16. app/design/frontend/base/default/template/EngageCommerce/Twitter/pixel_after_body_start.phtml +24 -0
  17. app/design/frontend/base/default/template/EngageCommerce/Twitter/pixel_before_body_end.phtml +24 -0
  18. app/design/frontend/base/default/template/EngageCommerce/Twitter/pixel_before_head_end.phtml +24 -0
  19. app/design/frontend/base/default/template/EngageCommerce/Twitter/twitter_pixel.phtml +38 -0
  20. app/etc/modules/EngageCommerce_Twitter.xml +29 -0
  21. package.xml +20 -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/code/community/EngageCommerce/Twitter/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_Twitter
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_Twitter_Helper_Data extends Mage_Core_Helper_Abstract
21
+ {
22
+ public function isPixelEnabled()
23
+ {
24
+ return Mage::getStoreConfig("engagecommerce_twitter/twitter_pixel/enabled");
25
+ }
26
+
27
+ public function getLoadOrder()
28
+ {
29
+ return Mage::getStoreConfig("engagecommerce_twitter/twitter_pixel/loadorder");
30
+ }
31
+
32
+ public function getPixelId()
33
+ {
34
+ return Mage::getStoreConfig("engagecommerce_twitter/twitter_pixel/pixel_id");
35
+ }
36
+ }
app/code/community/EngageCommerce/Twitter/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_Twitter
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_Twitter_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/Twitter/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_Twitter
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_twitter>
32
+ <title>Engage Commerce Twitter Website Tag</title>
33
+ <sort_order>990</sort_order>
34
+ </engagecommerce_twitter>
35
+ </children>
36
+ </config>
37
+ </children>
38
+ </system>
39
+ </children>
40
+ </admin>
41
+ </resources>
42
+ </acl>
43
+ </config>
app/code/community/EngageCommerce/Twitter/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_Twitter
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_twitter>
25
+ <version>0.0.1</version>
26
+ </engagecommerce_twitter>
27
+ </modules>
28
+ <global>
29
+ <models>
30
+ <engagecommerce_twitter>
31
+ <class>EngageCommerce_Twitter_Model</class>
32
+ <resourceModel>engagecommerce_twitter_resource</resourceModel>
33
+ </engagecommerce_twitter>
34
+ <engagecommerce_twitter_resource>
35
+ <class>EngageCommerce_Twitter_Model_Resource</class>
36
+ </engagecommerce_twitter_resource>
37
+
38
+ <engagecommerce_twitter_loadorder>
39
+ <class>EngageCommerce_Twitter_Model_LoadOrder</class>
40
+ <resourceModel>engagecommerce_twitter_loadorder_resource</resourceModel>
41
+ </engagecommerce_twitter_loadorder>
42
+ <engagecommerce_twitter_loadorder_resource>
43
+ <class>EngageCommerce_Twitter_Model_LoadOrder_Resource</class>
44
+ </engagecommerce_twitter_loadorder_resource>
45
+ </models>
46
+ <helpers>
47
+ <engagecommerce_twitter>
48
+ <class>EngageCommerce_Twitter_Helper</class>
49
+ </engagecommerce_twitter>
50
+ </helpers>
51
+ </global>
52
+ <frontend>
53
+ <layout>
54
+ <updates>
55
+ <engagecommerce_twitter>
56
+ <file>engagecommerce_twitter.xml</file>
57
+ </engagecommerce_twitter>
58
+ </updates>
59
+ </layout>
60
+ </frontend>
61
+ <default>
62
+ <engagecommerce_twitter>
63
+ <twitter_pixel>
64
+ <enabled>0</enabled>
65
+ <loadorder>before_body_end</loadorder>
66
+ </twitter_pixel>
67
+ </engagecommerce_twitter>
68
+ </default>
69
+ </config>
app/code/community/EngageCommerce/Twitter/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_Twitter
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_twitter translate="label">
31
+ <label>Twitter Website Tag</label>
32
+ <tab>engagecommerce</tab>
33
+ <frontend_type>text</frontend_type>
34
+ <sort_order>1</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
+ <twitter_pixel translate="label">
40
+ <label>Setup "All Site Visits" Tag</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 Twitter "All Site Visits" website tag will allow the tag to load on every page, sending your visitor traffic to Twitter so that you can utilize <a href="https://business.twitter.com/solutions/tailored-audiences" target="_blank">tailored audiences</a> and <a href="https://business.twitter.com/help/conversion-tracking-for-websites" target="_blank">conversion tracking</a>.]]></comment>
56
+ </enabled>
57
+ <pixel_id translate="label">
58
+ <label>Twitter Tag 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 Twitter website tag ID(s) can be found in your <a href="https://ads.twitter.com/accounts/" target="_blank">campaign dashboard</a> on the conversion tracking page underneath the “Tools” menu. Choose the “All Site Visits” tag(s) you’d like to place and then just click “View code” and get the ID from the block of code. If entering multiple IDs, please separate them with a comma.]]></comment>
65
+ </pixel_id>
66
+ <loadorder translate="label">
67
+ <label>Twitter Tag Load Order</label>
68
+ <frontend_type>select</frontend_type>
69
+ <source_model>EngageCommerce_Twitter_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 Twitter website tag will load if needed, but <a href="https://business.twitter.com/help/conversion-tracking-for-websites" target="_blank">Twitter recommends</a> loading it at the end of the body section.]]></comment>
75
+ </loadorder>
76
+ </fields>
77
+ </twitter_pixel>
78
+ </groups>
79
+ </engagecommerce_twitter>
80
+ </sections>
81
+ </config>
app/design/frontend/base/default/layout/engagecommerce_twitter.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_Twitter
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_twitter_before_head_end" as="engagecommerce_twitter_before_head_end" template="EngageCommerce/Twitter/pixel_before_head_end.phtml" />
26
+ </reference>
27
+ <reference name="engagecommerce_twitter_before_head_end">
28
+ <block type="core/template" name="engagecommerce_twitter_pixel" as="engagecommerce_twitter_pixel" template="EngageCommerce/Twitter/twitter_pixel.phtml" />
29
+ </reference>
30
+
31
+ <reference name="after_body_start">
32
+ <block type="core/template" name="engagecommerce_twitter_after_body_start" as="engagecommerce_twitter_after_body_start" template="EngageCommerce/Twitter/pixel_after_body_start.phtml" />
33
+ </reference>
34
+ <reference name="engagecommerce_twitter_after_body_start">
35
+ <block type="core/template" name="engagecommerce_twitter_pixel" as="engagecommerce_twitter_pixel" template="EngageCommerce/Twitter/twitter_pixel.phtml" />
36
+ </reference>
37
+
38
+ <reference name="before_body_end">
39
+ <block type="core/template" name="engagecommerce_twitter_before_body_end" as="engagecommerce_twitter_before_body_end" template="EngageCommerce/Twitter/pixel_before_body_end.phtml" />
40
+ </reference>
41
+ <reference name="engagecommerce_twitter_before_body_end">
42
+ <block type="core/template" name="engagecommerce_twitter_pixel" as="engagecommerce_twitter_pixel" template="EngageCommerce/Twitter/twitter_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/design/frontend/base/default/template/EngageCommerce/Twitter/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_Twitter
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_twitter");
21
+ if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'after_body_start')) {
22
+ echo $this->getChildHtml('engagecommerce_twitter_pixel');
23
+ }
24
+ ?>
app/design/frontend/base/default/template/EngageCommerce/Twitter/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_Twitter
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_twitter");
21
+ if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'before_body_end')) {
22
+ echo $this->getChildHtml('engagecommerce_twitter_pixel');
23
+ }
24
+ ?>
app/design/frontend/base/default/template/EngageCommerce/Twitter/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_Twitter
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_twitter");
21
+ if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'before_head_end')) {
22
+ echo $this->getChildHtml('engagecommerce_twitter_pixel');
23
+ }
24
+ ?>
app/design/frontend/base/default/template/EngageCommerce/Twitter/twitter_pixel.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Twitter
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_twitter");
21
+ $pixelId = $pixelHelper->getPixelId();
22
+ $pixelArr = array_filter(array_map('trim', explode(',', $pixelId)), 'strlen');
23
+ ?>
24
+
25
+ <!-- Engage Commerce: Twitter Website Tag Code -->
26
+ <script src="//platform.twitter.com/oct.js" type="text/javascript"></script>
27
+ <script type="text/javascript">
28
+ <?php foreach($pixelArr as $id): ?>
29
+ twttr.conversion.trackPid('<?php echo $id ?>', { tw_sale_amount: 0, tw_order_quantity: 0 });
30
+ <?php endforeach; ?>
31
+ </script>
32
+
33
+ <?php foreach($pixelArr as $id): ?>
34
+ <noscript>
35
+ <img height="1" width="1" style="display:none;" alt="" src="https://analytics.twitter.com/i/adsct?txn_id=<?php echo $id ?>&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0" />
36
+ <img height="1" width="1" style="display:none;" alt="" src="//t.co/i/adsct?txn_id=<?php echo $id ?>&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0" />
37
+ </noscript>
38
+ <?php endforeach; ?>
app/etc/modules/EngageCommerce_Twitter.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_Twitter
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_Twitter>
25
+ <active>true</active>
26
+ <codePool>community</codePool>
27
+ </EngageCommerce_Twitter>
28
+ </modules>
29
+ </config>
package.xml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Twitter_Website_Tag</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 Twitter Website Tag for &#x201C;All Site Visits&#x201D; is for advertisers that want to retarget their users and track conversions using Twitter Ads.</summary>
10
+ <description>The Twitter Website Tag for &#x201C;All Site Visits&#x201D; is a javascript analytics tag that captures when a user visits a page. For more details, visit http://engagecommerce.io/downloads/twitter-website-tag-all-site-visits-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:26:32</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 name="Twitter"><dir name="Helper"><file name="Data.php" hash="93d9f633995f0fca427ba297034fbb43"/></dir><dir name="Model"><file name="LoadOrder.php" hash="9a82e503ef91a2c8640aef3bfbc5ccab"/></dir><dir name="etc"><file name="adminhtml.xml" hash="43e5a363097a61d1395b85c4482b77fc"/><file name="config.xml" hash="55e81997fd5e1a2189816d8e6bf914d1"/><file name="system.xml" hash="fb7f723cc180a3659cf192175db4d752"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="engagecommerce_twitter.xml" hash="7e3a5862169b67f0c17128032ba8c9e4"/></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 name="Twitter"><file name="pixel_after_body_start.phtml" hash="077686f035e1d818981e7dc10735d8cc"/><file name="pixel_before_body_end.phtml" hash="2513dc3ea6c408d14531b166b4a1943d"/><file name="pixel_before_head_end.phtml" hash="05333c3260ee07540ceacb2d2fea52bc"/><file name="twitter_pixel.phtml" hash="27fb262373bacc7d8c47b88d0840144d"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EngageCommerce_Twitter.xml" hash="c2d9521c37adace501eba81472789421"/></dir></target></contents>
18
+ <compatible/>
19
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
+ </package>