padrino / padrino-web

Official Padrino website
http://padrinorb.com
14 stars 10 forks source link

Add Google Analytics for Tracking #15

Closed nesquena closed 8 years ago

nesquena commented 8 years ago

We need to add tracking to the page:

http://stackoverflow.com/questions/17207458/how-to-add-google-analytics-tracking-id-to-github-pages

wikimatze commented 8 years ago

Okay but we need someone who has the credentials to the account (or create one).

wikimatze commented 8 years ago

Does anyone has credentials or should a I create a gmail-account?

nesquena commented 8 years ago

@wikimatze Do you have a google account and if so please send me the email? If so I can add you to the analytics page. Same for @angeloashmore

nesquena commented 8 years ago

@wikimatze Setup the analytics profile. Tracking id is: UA-72258621-1. Can you try adding to the site? I'll let you know when we start receiving traffic.

wikimatze commented 8 years ago

It's lordmatze@gmail.com.

wikimatze commented 8 years ago

I have access, thanks.

wikimatze commented 8 years ago

I can see in the live-overview, that data is coming in. Before we can close the issue, we need make sure, that the tracking code will not be loaded in development environment. Think a simple if statement in the source/layouts/_footer.slim. Does anybody knows how to do it?

angeloashmore commented 8 years ago

@nesquena my Google account is angeloashmore@gmail.com

nesquena commented 8 years ago

Great, added!