Adding GA code and update mail email from and to
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 14 Apr 2017 13:19:49 +0000 (09:19 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 14 Apr 2017 13:19:49 +0000 (09:19 -0400)
Using giveaway@mackinawcity.com as to and info@mackinawcity.com as from.
Adding google analytics code into index file.

index.html
scripts/form-u489.php

index 750a31e..c5baf07 100644 (file)
@@ -6,7 +6,7 @@
   <meta name="description" content="Mackinaw Area Visitors Bureau - Enter to Win a Free Night at a Hotel!"/>
   <meta name="generator" content="2017.0.1.363"/>
   <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-  
+
   <script type="text/javascript">
    // Update the 'nojs'/'js' class on the html node
 document.documentElement.className = document.documentElement.className.replace(/\bnojs\b/g, 'js');
@@ -14,7 +14,7 @@ document.documentElement.className = document.documentElement.className.replace(
 // Check that all required assets are uploaded and up-to-date
 if(typeof Muse == "undefined") window.Muse = {}; window.Muse.assets = {"required":["museutils.js", "museconfig.js", "webpro.js", "musewpslideshow.js", "jquery.museoverlay.js", "touchswipe.js", "jquery.watch.js", "jquery.museresponsive.js", "require.js", "index.css"], "outOfDate":[]};
 </script>
-  
+
   <title>MAVB - Win a Free Night at a Hotel</title>
   <!-- CSS -->
   <link rel="stylesheet" type="text/css" href="css/site_global.css?crc=443350757"/>
@@ -23,6 +23,16 @@ if(typeof Muse == "undefined") window.Muse = {}; window.Muse.assets = {"required
   <!--[if lt IE 9]>
   <link rel="stylesheet" type="text/css" href="css/nomq_index.css?crc=3941756222" id="nomq_pagesheet"/>
   <![endif]-->
+  <script type="text/javascript">
+        var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-1166876-1']);
+        _gaq.push(['_trackPageview']);
+        (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+    })();
+    </script>
    </head>
  <body>
 
index 76a633a..718649a 100644 (file)
@@ -27,8 +27,8 @@ $form = array(
                'unknown_method' => 'Unknown server request method'
        ),
        'email' => array(
-               'from' => 'jodie@gaslightmedia.com',
-               'to' => 'jodie@gaslightmedia.com'
+               'from' => 'info@mackinawcity.com',
+               'to' => 'giveaway@mackinawcity.com'
        ),
        'fields' => array(
                'custom_U526' => array(