This commit is contained in:
Nicolas Bally 2019-08-26 10:54:19 +02:00
parent eb13bdb2fa
commit ac43e5fce3
2 changed files with 13 additions and 32 deletions

View File

@ -25,6 +25,18 @@
%body
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-37291832-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-37291832-2');
gtag('config', 'AW-1037540800');
</script>
%a{:id => "top_anchor"}
@ -246,23 +258,5 @@
=link_to "Lux Laverie", "http://luxlaverie.com", :target => "_blank"
<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-37291832-2', 'auto');
ga('send', 'pageview');
</script>
<!-- Global site tag (gtag.js) - Google Ads: 1037540800 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-1037540800"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-1037540800');
</script>

View File

@ -1,13 +0,0 @@
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-']);
_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>