hackforwesternmass / foodfinder

Food Bank of Western Mass food Finder
4 stars 0 forks source link

Set up Google Analytics #23

Closed dalew closed 10 years ago

dalew commented 10 years ago

I was thinking that it would be great to have a counter to see how many people are using the finder. is this possible?

patrickbrown-dev commented 10 years ago

I think the best way to do this is to set up google analytics. That way you can see where your traffic is coming from and common searches along with page views. This even can have demographic information. It's super simple to set up (~10 mins).

Does that sound like something you'd want?

@asoules @andyanderson @gotrevor, do you have any suggestions?

andyanderson commented 10 years ago

GAnalytics sounds like a good plan.

On Jun 10, 2014, at 8:53 AM, Patrick Brown wrote:

I think the best way to do this is to set up google analytics. That way you can see where your traffic is coming from and common searches along with page views. This even can have demographic information. It's super simple to set up (~10 mins).

Does that sound like something you'd want?

@asouleshttps://github.com/asoules @andyandersonhttps://github.com/andyanderson @gotrevorhttps://github.com/gotrevor, do you have any suggestions?

— Reply to this email directly or view it on GitHubhttps://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-45609178.

asoules commented 10 years ago

Google Analytics sounds great. @dalew do you have a google account that you would like to use with google analytics?

dalew commented 10 years ago

it sounds great! what do we mean by demographics? my google account is veggiesdmw@gmail.com

dalew commented 10 years ago

my office mate just reminded me that we should note that this should not be displayed on the page itself. google analytics gives you info in the background, right?

patrickbrown-dev commented 10 years ago

From Google: "The Demographics and Interest sections include Overview reports, along with new Age, Gender, and Interest Categories reports."

It won't appear on the page. You'll have a dashboard you can log into with your google account. :)

dalew commented 10 years ago

That's perfect. If it's not too much trouble, would love to take advantage of it.

andyanderson commented 10 years ago

I’m concerned about using Dale’s gmail account for this; I wonder if a more general account can be set up instead, that she can share with other people (such as us, during set up). Not familiar enough with GA set up to know if you can attach multiple user accounts to the GA account.

-- Andy

On Jun 10, 2014, at 9:32 AM, Dale West wrote:

it sounds great! what do we mean by demographics? my google account is veggiesdmw@gmail.commailto:veggiesdmw@gmail.com

— Reply to this email directly or view it on GitHubhttps://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-45613289.

dalew commented 10 years ago

Andy, you're right. Let me check with our communication team to see if they have a general gmail account already set up for this kind of thing.

dalew commented 10 years ago

I set up a new google account: fbwmagencyrelations@gmail.com

coreycondardo commented 10 years ago

@dalew we are going to need google analytics tracking ID which you'll setup from within your analytics account. I found some pretty straight forward directions to set it up here: https://support.google.com/analytics/answer/1009694?hl=en

Once you have the tracking ID you can post it here and we can take it from there.

dalew commented 10 years ago

Tracking ID UA-51803542-1

On Tue, Jun 10, 2014 at 5:45 PM, Corey Condardo notifications@github.com wrote:

Dale,

We are going to need google analytics tracking ID which you'll setup from within your analytics account. I think I found some straight forward directions to set it up here: https://support.google.com/analytics/answer/1009694?hl=en

Once you have the tracking ID you can post it here and we can take it from there.

--Corey

— Reply to this email directly or view it on GitHub https://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-45676136 .

patrickbrown-dev commented 10 years ago

@asoules I set up the script in the head tag. After you deploy what would be the best way Dale could confirm that it's working?

andyanderson commented 10 years ago

Ideally Dale would share with us the password for this new account so that we can test it and support her use of it. It can be changed later if necessary.

But it shouldn’t be sent here, since this is public. Contact her directly at her account veggiesdmw@gmail.commailto:veggiesdmw@gmail.com

-- Andy

On Jun 11, 2014, at 8:53 AM, Patrick Brown wrote:

@asouleshttps://github.com/asoules I set up the script in the head tag. After you deploy what would be the best way Dale could confirm that it's working?

— Reply to this email directly or view it on GitHubhttps://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-45736624.

asoules commented 10 years ago

@dalew alternatively, you should be able to add us to the google analytics account that you set up, so that we can verify that it is working.

andyanderson commented 10 years ago

Better, but we’ll need to provide her with our Google accounts.

On Jun 11, 2014, at 9:51 AM, Aaron Soules wrote:

@dalewhttps://github.com/dalew alternatively, you should be able to add us to the google analytics account that you set up, so that we can verify that it is working.

— Reply to this email directly or view it on GitHubhttps://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-45743629.

asoules commented 10 years ago

@ptrckbrwn I made a couple changes, namely moving the tracking ID to an .env file.

When you update, you will need to run cp ./.env.example ./.env and then use foreman to start the application: foreman start. This setup uses the Procfile to run the rails server command and loads the variables from .env into the ENV constant in Rails.

asoules commented 10 years ago

Google Analytics integration has been deployed!

patrickbrown-dev commented 10 years ago

I'll update the readme with this info :)

patrickbrown-dev commented 10 years ago

yup! fbwm-foodfinder.herokuapp.com— Sent from Mailbox

On Sat, Jun 28, 2014 at 11:33 AM, Andy Anderson notifications@github.com wrote:

Hi, guys, Is there a working copy of FoodFinder somewhere? Thanks,

-- Andy

Reply to this email directly or view it on GitHub: https://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-47430412

patrickbrown-dev commented 10 years ago

sure! we're still trying to squash the remaining bugs and include the remaining requested features. progress has been slow but we've met up at Haymarket to work on it last week and plan on doing it again. — Sent from Mailbox

On Sat, Jun 28, 2014 at 11:38 AM, Andy Anderson notifications@github.com wrote:

Thanks! I missed the fbwm- part :-) I’m about to give a brief presentation — any thoughts you’d like to contribute to that? -- Andy On Jun 28, 2014, at 11:37 AM, Patrick Brown wrote: yup! fbwm-foodfinder.herokuapp.comhttp://fbwm-foodfinder.herokuapp.com— Sent from Mailbox On Sat, Jun 28, 2014 at 11:33 AM, Andy Anderson notifications@github.com<mailto:notifications@github.com> wrote:

Hi, guys, Is there a working copy of FoodFinder somewhere? Thanks,

-- Andy

Reply to this email directly or view it on GitHub: https://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-47430412

Reply to this email directly or view it on GitHubhttps://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-47430523.

Reply to this email directly or view it on GitHub: https://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-47430562

patrickbrown-dev commented 10 years ago

I'd be totally down for both events! I've grabbed your email off of your GitHub profile and if we're meeting up again I'll let you know!

alexliebowitz commented 10 years ago

I've been busy (job interviews, etc.) but planning to study the code and catch up with what's going on so I can start contributing, and I'm down for both events too. My email is alex@alexliebowitz.com

On Sat, Jun 28, 2014 at 1:00 PM, Patrick Brown notifications@github.com wrote:

I'd be totally down for both events! I've grabbed your email off of your GitHub profile and if we're meeting up again I'll let you know!

— Reply to this email directly or view it on GitHub https://github.com/hackforwesternmass/foodfinder/issues/23#issuecomment-47432748 .