Update email and add GA
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 14 Apr 2017 17:11:57 +0000 (13:11 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 14 Apr 2017 17:11:57 +0000 (13:11 -0400)
Adding google analytics.
Change the email to from info @ and to of giveaway@mackinawcity.com

index.html
scripts/form-u271.php

index 9de1790..9bf3160 100644 (file)
@@ -6,7 +6,7 @@
   <meta name="description" content="MAVB - Enter To Win Free Night "/>
   <meta name="generator" content="2017.0.2.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", "jquery.watch.js", "jquery.museresponsive.js", "require.js", "index.css"], "outOfDate":[]};
 </script>
-  
+
   <title>Mackinaw Area Visitors Bureau</title>
   <!-- CSS -->
   <link rel="stylesheet" type="text/css" href="css/site_global.css?crc=443350757"/>
@@ -25,6 +25,16 @@ if(typeof Muse == "undefined") window.Muse = {}; window.Muse.assets = {"required
   <link rel="stylesheet" type="text/css" href="css/nomq_preview_master_a-master.css?crc=3874084076"/>
   <link rel="stylesheet" type="text/css" href="css/nomq_index.css?crc=253973955" 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 69835b5..3c10ff5 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_U294' => array(