Skip to content

Commit

Permalink
added analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
kkumar2k committed Aug 1, 2013
1 parent 14cc4f3 commit 4484337
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
12 changes: 12 additions & 0 deletions analytics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXX-Y');
ga('send', 'pageview');

</script>
<!-- End Google Analytics -->
13 changes: 13 additions & 0 deletions ga.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_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>
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ <h3>90</h3><p>days left</p>
</div>
<div class="span5 copy">
<h4> A great trip starts with great planning</h4>
<p>Plan your travels with Travlrguide, select the must sees, and other landmarks and map your city visit or start from previously proven faboulous travels of outher travlrs. Time your entire trip around the city, plot the route on your Travlmap and share that map with your friends or other Travlrs.</p>
<p>Help your friends to perfect their dream Travl by giving valueable feedback, create the most creative Travl and win have a chance to go on that Travl! Cause planning your Travl is already half the fun.</p>
<p>Plan your travels with Guidr, and map your city visit or start from previously proven faboulous travels of outher Buds. Time your entire trip around the city, plot the route on your Map and share that map with your friends or other TravelBuds.</p>
<p>Help your friends to perfect their dream Travel by giving valueable feedback, create the most creative travel and win have a chance to go on that Travel! Cause planning your Travel is already half the fun.</p>
</div>
</div>

Expand Down

0 comments on commit 4484337

Please sign in to comment.