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 +7 -0
- app/code/local/SaveTheMage/GoogleUniversalAnalytics/etc/adminhtml.xml +44 -0
- app/code/local/SaveTheMage/GoogleUniversalAnalytics/etc/config.xml +30 -0
- app/code/local/SaveTheMage/GoogleUniversalAnalytics/etc/system.xml +55 -0
- app/design/frontend/base/default/layout/SaveTheMage/GoogleUniversalAnalytics.xml +9 -0
- package.xml +46 -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><h1>Description</h1>
|
11 |
+
<p>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.
|
12 |
+
</p>
|
13 |
+

|
14 |
+
<h1>Benefits</h1>
|
15 |
+
Read more about all the benefits of <a href="https://support.google.com/analytics/answer/2790010?hl=en" title="Google Universal Analytics Magento" target="_blank">Google Universal Analytics</a>.
|
16 |
+

|
17 |
+
<h1>Extension Features</h1>
|
18 |
+
<ul>
|
19 |
+
<li>Enables Google Universal Analytics in your Magento store</li>
|
20 |
+
<li>Automatically enables itself if you enter your Tracking ID</li>
|
21 |
+
<li>Automatically disables if there is no Tracking ID (Account Number)</li>
|
22 |
+
<li>Is always the newest version! No need to update or re-install as they update and expand Universal Analytics</li>
|
23 |
+

|
24 |
+
</ul>
|
25 |
+

|
26 |
+

|
27 |
+
<h1>Extensions Include:</h1>
|
28 |
+
<p>- Free updates for life
|
29 |
+
<br />- Free installation (paid extensions only)<br />
|
30 |
+
- 24/7 Email and toll-free support
|
31 |
+
</p>
|
32 |
+
<h1>Support</h1>
|
33 |
+
<p>Have any questions about this product? Email us at <a href="mailto:support@savethemage.com">Support@SaveTheMage.com</a> or call us Toll-Free at <b>1-888-979-5882</b>
|
34 |
+
</p>
|
35 |
+

|
36 |
+
<h1>Developer Highlight</h1>
|
37 |
+
<p>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 <a href="http://www.savethemage.com/" title="Magento Extensions">www.SaveTheMage.com</a>
|
38 |
+
</p></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>
|