callForPapers / callForPapers.github.io

We aim to aggregate and display information about upcoming Call For Paper (CfPs) on technical conferences around the globe
http://cfp.help
8 stars 16 forks source link

Add Google Analytics #41

Closed kkokosa closed 8 years ago

kkokosa commented 8 years ago

As cfp.help is getting more popular (isn't it?), I believe it would be nice to add some analytics - will allow to track and report traffic.

cmatskas commented 8 years ago

Does it not need to be under someone's account? It's easy to add, I've done it many times, as long as we can get an account and tracking code. Suggestions?

kkokosa commented 8 years ago

Yes, the account - it is required. I have one, I've generated tracking code.

@cmatskas, @ptrstpp950 @mihcall - please provide yours Google accounts so I can add access to it.

<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-61243294-5', 'auto');
  ga('send', 'pageview');

</script>
cmatskas commented 8 years ago
<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-72020144-1', 'auto');
  ga('send', 'pageview');

</script>

Thanks

witchy-mutant commented 8 years ago

m.sliwon@gmail.com as on github

ptrstpp950 commented 8 years ago

Mine you have :)

wt., 5.01.2016 o 18:30 użytkownik Michał Śliwoń notifications@github.com napisał:

m.sliwon@gmail.com as on github

— Reply to this email directly or view it on GitHub https://github.com/callForPapers/callForPapers.github.io/issues/41#issuecomment-169072518 .

cmatskas commented 8 years ago

Christos.matskas@gmail.com

ptrstpp950 commented 8 years ago

@mihcall why don't you have firstname.surname@gmail.com? others have exactly this pattern :)

kkokosa commented 8 years ago

@cmatskas, @ptrstpp950 @mihcall - all added :)

cmatskas commented 8 years ago

Closing :)

ptrstpp950 commented 8 years ago

@cmatskas but @kkokosa didn't make a commit yet

cmatskas commented 8 years ago

Sorry, trigger happy :(

witchy-mutant commented 8 years ago

I have firstname.surname@gmail.com as well but most of my stuff is connected to m.sliwon@gmail.com and I have all my google analytics sites there for example :)

witchy-mutant commented 8 years ago

And yes, tracking isn't added yet as there are no results.

kkokosa commented 8 years ago

I will try to add it today - as easy as it is, did not have time even for that..

witchy-mutant commented 8 years ago

No problem, I can do this :)

witchy-mutant commented 8 years ago

Are we using jekyll for anything at the moment? @ptrstpp950 ?

ptrstpp950 commented 8 years ago

For merging cfp json files into one big file

witchy-mutant commented 8 years ago

But not for generating index.html, right? I was a bit confused where to put GA script because there's default layout template :)

witchy-mutant commented 8 years ago

Ok, script kicked in, we can close now :)

cmatskas commented 8 years ago

Closing, just cause I like doing this :)

witchy-mutant commented 8 years ago

I specifically didn't do it myself so that you can do it @cmatskas :)

cmatskas commented 8 years ago

Lol, @mihcall you know me sooo well!