coderie / coderie-site

The Coderie User Group Website/Application
7 stars 2 forks source link

Setup Google Analytics and Webmaster Tools #18

Open Bshally opened 9 years ago

Bshally commented 9 years ago

I'm going to try to work on this soon. I'll make the accounts and add people but will end up needing some things for domain verification.

Bshally commented 9 years ago

Analytics account is created and added initial admins per conversations at most recent meetup and Issue #4 . Google Search Console (Formerly Webmaster tools) verification file added to /public directory as well. Just need's to be uploaded with the initial iteration and then I'll begin configuration, adding users to that, as well as linking Analytics to it.

Next step is to configure basic views and begin referral spam filtering ASAP to prevent data contamination.

Bshally commented 9 years ago

Need photos for our Google+/Business/Organization page. Please upload your photos here by drag and dropping them or post them on the Google biz page https://plus.google.com/u/1/b/104393721717479324453/104393721717479324453/about event

Bshally commented 9 years ago

Can someone show me to the place where meta tags such as title and description are generated? Also where scripts would be inserted right before the close of the ?

machuga commented 9 years ago

I think you're looking for app/views/layouts/application.html.haml

htmelvis commented 9 years ago

I've seen this syntax used when placing inline JS

:javascript
     //some javascript code here

I placed my entrypoint for the react components before the closing body tag. Not sure how GA is used with webpack (if at all) @matsilva may shine some light on this. Also another syntax in haml I used.

%script{:type => "text/javascript",
        :src  => "javascripts/script/scriptname.js"}
Bshally commented 9 years ago

Awesome, thanks guys. Just looking stuff up while printing loads of files.

Bshally commented 9 years ago

Analytics script inserted and required in sprockets application.js . Domain verification and therefor Webmaster Tools pending when /public is uploaded.