Google_Universal_Analytics - Version 1.0.0

Version Notes

1st Official Release

Download this release

Release Info

Developer SaveTheMage
Extension Google_Universal_Analytics
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/local/SaveTheMage/GoogleUniversalAnalytics/Helper/Data.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+ class SaveTheMage_GoogleUniversalAnalytics_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+
5
+
6
+ }
7
+
app/code/local/SaveTheMage/GoogleUniversalAnalytics/etc/adminhtml.xml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <SaveTheMageMenu translate="title" module="GoogleUniversalAnalytics">
5
+ <title>SaveTheMage</title>
6
+ <sort_order>201</sort_order>
7
+ <children>
8
+ <GoogleUniversalAnalyticsChildItem1 translate="title" module="GoogleUniversalAnalytics">
9
+ <title>Google Universal Analytics</title>
10
+ <action>adminhtml/system_config/edit/section/GUA_options</action>
11
+ <sort_order>2</sort_order>
12
+ <children>
13
+ <GoogleUniversalAnalyticsChildItemChild1 translate="title" module="GoogleUniversalAnalytics">
14
+ <title>Settings</title>
15
+ <action>adminhtml/system_config/edit/section/GUA_options</action>
16
+ <sort_order>1</sort_order>
17
+ </GoogleUniversalAnalyticsChildItemChild1>
18
+ </children>
19
+ </GoogleUniversalAnalyticsChildItem1>
20
+ </children>
21
+ </SaveTheMageMenu>
22
+ </menu>
23
+
24
+ <acl>
25
+ <resources>
26
+ <admin>
27
+ <children>
28
+ <system>
29
+ <children>
30
+ <config>
31
+ <children>
32
+ <GUA_options translate="title" module="GoogleUniversalAnalytics">
33
+ <title>Google Universal Analytics Installation Settings Section</title>
34
+ <sort_order>0</sort_order>
35
+ </GUA_options>
36
+ </children>
37
+ </config>
38
+ </children>
39
+ </system>
40
+ </children>
41
+ </admin>
42
+ </resources>
43
+ </acl>
44
+ </config>
app/code/local/SaveTheMage/GoogleUniversalAnalytics/etc/config.xml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <SaveTheMage_GoogleUniversalAnalytics>
5
+ <version>1.0.0</version>
6
+ </SaveTheMage_GoogleUniversalAnalytics>
7
+ </modules>
8
+ <frontend>
9
+ <layout>
10
+ <updates>
11
+ <GoogleUniversalAnalytics>
12
+ <file>SaveTheMage/GoogleUniversalAnalytics.xml</file>
13
+ </GoogleUniversalAnalytics>
14
+ </updates>
15
+ </layout>
16
+ </frontend>
17
+ <global>
18
+ <helpers>
19
+ <GoogleUniversalAnalytics>
20
+ <class>SaveTheMage_GoogleUniversalAnalytics_Helper</class>
21
+ </GoogleUniversalAnalytics>
22
+ </helpers>
23
+ <blocks>
24
+ <GoogleUniversalAnalytics>
25
+ <class>SaveTheMage_GoogleUniversalAnalytics_Block</class>
26
+ </GoogleUniversalAnalytics>
27
+ </blocks>
28
+ </global>
29
+
30
+ </config>
app/code/local/SaveTheMage/GoogleUniversalAnalytics/etc/system.xml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <SaveTheMageconfig translate="label" module="GoogleUniversalAnalytics">
5
+ <label>SaveTheMage</label>
6
+ <sort_order>600</sort_order>
7
+ </SaveTheMageconfig>
8
+ </tabs>
9
+ <sections>
10
+ <GUA_options translate="label" module="GoogleUniversalAnalytics">
11
+ <label>Google Universal Analytics Installation Settings</label>
12
+ <tab>SaveTheMageconfig</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>1000</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <Settings translate="label">
20
+ <label>Google Universal Analytics Installation Settings</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>1</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+
27
+ <fields>
28
+ <TrackingID>
29
+ <label>Tracking ID</label>
30
+ <frontend_type>text</frontend_type>
31
+ <comment>
32
+ <![CDATA[Tracking ID (Account Number) from your Google Analytics Profile e.g. UA-11111111-1
33
+ ]]></comment>
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
+ </TrackingID>
39
+ <Domain>
40
+ <label>Your Domain</label>
41
+ <frontend_type>text</frontend_type>
42
+ <comment>
43
+ <![CDATA[Your site domain name. e.g. savethemage.com
44
+ ]]></comment>
45
+ <sort_order>2</sort_order>
46
+ <show_in_default>1</show_in_default>
47
+ <show_in_website>1</show_in_website>
48
+ <show_in_store>1</show_in_store>
49
+ </Domain>
50
+ </fields>
51
+ </Settings>
52
+ </groups>
53
+ </GUA_options>
54
+ </sections>
55
+ </config>
app/design/frontend/base/default/layout/SaveTheMage/GoogleUniversalAnalytics.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <block type="page/html_header" name="ga_header1" template="SaveTheMage/GoogleUniversalAnalytics/index.phtml"/>
6
+ </reference>
7
+ </default>
8
+ </layout>
9
+
package.xml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Google_Universal_Analytics</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>GPL</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Install the new Google Universal Analytics along side or instead of the default Analytics.</summary>
10
+ <description>&lt;h1&gt;Description&lt;/h1&gt;&#xD;
11
+ &lt;p&gt;This extension installs the new Google Universal Analytics tool without disrupting the already existing one. Run both in their own profiles or disable the old one completely. Just install the extension, put in your Tracking ID (Account Number), and you get full Google Universal Analytics tracking.&#xD;
12
+ &lt;/p&gt;&#xD;
13
+ &#xD;
14
+ &lt;h1&gt;Benefits&lt;/h1&gt;&#xD;
15
+ Read more about all the benefits of &lt;a href="https://support.google.com/analytics/answer/2790010?hl=en" title="Google Universal Analytics Magento" target="_blank"&gt;Google Universal Analytics&lt;/a&gt;.&#xD;
16
+ &#xD;
17
+ &lt;h1&gt;Extension Features&lt;/h1&gt;&#xD;
18
+ &lt;ul&gt;&#xD;
19
+ &lt;li&gt;Enables Google Universal Analytics in your Magento store&lt;/li&gt;&#xD;
20
+ &lt;li&gt;Automatically enables itself if you enter your Tracking ID&lt;/li&gt;&#xD;
21
+ &lt;li&gt;Automatically disables if there is no Tracking ID (Account Number)&lt;/li&gt;&#xD;
22
+ &lt;li&gt;Is always the newest version! No need to update or re-install as they update and expand Universal Analytics&lt;/li&gt;&#xD;
23
+ &#xD;
24
+ &lt;/ul&gt;&#xD;
25
+ &#xD;
26
+ &#xD;
27
+ &lt;h1&gt;Extensions Include:&lt;/h1&gt;&#xD;
28
+ &lt;p&gt;- Free updates for life&#xD;
29
+ &lt;br /&gt;- Free installation (paid extensions only)&lt;br /&gt;&#xD;
30
+ - 24/7 Email and toll-free support&#xD;
31
+ &lt;/p&gt;&#xD;
32
+ &lt;h1&gt;Support&lt;/h1&gt;&#xD;
33
+ &lt;p&gt;Have any questions about this product? Email us at &lt;a href="mailto:support@savethemage.com"&gt;Support@SaveTheMage.com&lt;/a&gt; or call us Toll-Free at &lt;b&gt;1-888-979-5882&lt;/b&gt;&#xD;
34
+ &lt;/p&gt;&#xD;
35
+ &#xD;
36
+ &lt;h1&gt;Developer Highlight&lt;/h1&gt;&#xD;
37
+ &lt;p&gt;We are working hard to provide quality magento extensions that pack amazing value. With over 20 years combined programming, design and webmaster experience, we are hitting the Magento scene hard. We will do everything to make sure you are 110% satisfied. Check out our other Magento extensions and services at &lt;a href="http://www.savethemage.com/" title="Magento Extensions"&gt;www.SaveTheMage.com&lt;/a&gt;&#xD;
38
+ &lt;/p&gt;</description>
39
+ <notes>1st Official Release</notes>
40
+ <authors><author><name>SaveTheMage</name><user>SaveTheMage</user><email>support@savethemage.com</email></author></authors>
41
+ <date>2013-07-24</date>
42
+ <time>23:16:58</time>
43
+ <contents><target name="magelocal"><dir name="SaveTheMage"><dir name="GoogleUniversalAnalytics"><dir name="Helper"><file name="Data.php" hash="2380046ab15f2f2841d3302f87270724"/></dir><dir name="etc"><file name="adminhtml.xml" hash="44fe3393b878c1e84759d6b64532fb0a"/><file name="config.xml" hash="4427ed9de0b9a09913f7dd20c2f57763"/><file name="system.xml" hash="933eca708f0becf88bfded0842530569"/></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="SaveTheMage"><dir name="GoogleUniversalAnalytics"><file name="index.phtml" hash=""/></dir></dir></dir></dir></dir></dir><dir name="modules"><file name="SaveTheMage_GoogleUniversalAnalytics.xml" hash=""/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="SaveTheMage"><file name="GoogleUniversalAnalytics.xml" hash="22ffead97c9d7b67c8b8b3fe10e72faa"/></dir></dir></dir></dir></dir></target></contents>
44
+ <compatible/>
45
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
46
+ </package>