usgs-makerspace / makerspace-sandbox

Some initial R code for playing with data processing (maybe some light visualization).
Other
0 stars 5 forks source link

Google Analytics added to the sites? #693

Open jenniferRapp opened 3 years ago

jenniferRapp commented 3 years ago

Please verify whether we have added Google Analytics to the sites.

Please help me understand the kinds of reporting we will get.

mwernimont commented 3 years ago

@jenniferRapp I am assuming you mean having GA connected to a user clicking on of the sites on the temp map.

Currently it is not connected, but we have an easy function we can add to the click function we have setup for the sites.

The function currently allows us to name the event, what the user did like click, and we can give it a more specific label including something like what site id the user is clicking.

example: so its the event we named, the interaction, and the specific label we want to use to describe what specifically the user clicked. runGoogleAnalytics('about page', 'click', 'clicked reference for Bock et al. 2020')

mwernimont commented 3 years ago

As for what else we could do with the GA setup currently I am unsure as Aaron Briggs did all the leg work of getting GA into our Vue framework. But I do feel what we have now is fully capable of keeping track of if a user is interacting with the sites on the map

jenniferRapp commented 3 years ago

I wanted to make sure we have GA on all our mappers and that we are monitoring as much as we can. Clicking in the Temp map makes sense. Changing seasons in the WU map might too. Mostly want to verify that you all were already doing this.

Jen

Jennifer L. Rapp, Physical Scientist Chief, Decision Support Branch USGS Water Mission Area Richmond, VA 23228 804-615-6868 (mobile and home office) jrapp@usgs.govmailto:jrapp@usgs.gov

From: Marty Wernimont notifications@github.com Sent: Wednesday, December 2, 2020 3:56 PM To: usgs-makerspace/makerspace-sandbox makerspace-sandbox@noreply.github.com Cc: Rapp, Jennifer L jrapp@usgs.gov; Mention mention@noreply.github.com Subject: [EXTERNAL] Re: [usgs-makerspace/makerspace-sandbox] Google Analytics added to the sites? (#693)

This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.

@jenniferRapphttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FjenniferRapp&data=04%7C01%7Cjrapp%40usgs.gov%7C7a6da29c64d84045af1108d89704ce53%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637425394187349989%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=f7o6bzT%2FUCsRKL2H2nmi8de%2Bwx4cZXcL3avfFUC16XY%3D&reserved=0 I am assuming you mean having GA connected to a user clicking on of the sites on the temp map.

Currently it is not connected, but we have an easy function we can add to the click function we have setup for the sites.

The function currently allows us to name the event, what the user did like click, and we can give it a more specific label including something like what site id the user is clicking.

example: so its the event we named, the interaction, and the specific label we want to use to describe what specifically the user clicked. runGoogleAnalytics('about page', 'click', 'clicked reference for Bock et al. 2020')

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fusgs-makerspace%2Fmakerspace-sandbox%2Fissues%2F693%23issuecomment-737490077&data=04%7C01%7Cjrapp%40usgs.gov%7C7a6da29c64d84045af1108d89704ce53%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637425394187349989%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hijt%2FVRpZfd8Ab6bY1%2FURMhzypq5Typ1x6DTpWKXgKE%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.prote%20ction.ou%20tlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIBB4BLOLHUZ2WWUN5FLUSLSS2SWPANCNFSM4ULAUJPQ&data=04%7C01%7Cjrapp%40usgs.gov%7C85ed1f7b87ab4748e47408d89704b176%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637425393697192565%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TtwmevFzIC4%2BqTUVO8%2FQqYbwUmvIsHwxr1mMz%2FEAsbs%3D&reserved=0.

mwernimont commented 3 years ago

We are not currently, but will get it hooked up today.

mwernimont commented 3 years ago

Water Temp site clicks setup and being tracked, onto water use. Screen Shot 2020-12-03 at 9 16 33 AM

mwernimont commented 3 years ago

I corrected the parameter misspelling, but water use now has the bar chart and button interaction being tracked. Screen Shot 2020-12-03 at 9 37 19 AM

mwernimont commented 3 years ago

PR here: https://github.com/usgs-makerspace/wbeep-viz/pull/610

jenniferRapp commented 3 years ago

Is there a role for me when you send a PR?

Jen

Jennifer L. Rapp, Physical Scientist Chief, Decision Support Branch USGS Water Mission Area Richmond, VA 23228 804-615-6868 (mobile and home office) jrapp@usgs.govmailto:jrapp@usgs.gov

From: Marty Wernimont notifications@github.com Sent: Thursday, December 3, 2020 10:39 AM To: usgs-makerspace/makerspace-sandbox makerspace-sandbox@noreply.github.com Cc: Rapp, Jennifer L jrapp@usgs.gov; Mention mention@noreply.github.com Subject: [EXTERNAL] Re: [usgs-makerspace/makerspace-sandbox] Google Analytics added to the sites? (#693)

This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.

PR here: usgs-makerspace/wbeep-viz#610https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fusgs-makerspace%2Fwbeep-viz%2Fpull%2F610&data=04%7C01%7Cjrapp%40usgs.gov%7C93fd679c8d7e4b2572b808d897a18fd8%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637426067446017690%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0CnodqXBuuyfvGMJX1GpD5dBt7F3hyShOeWnfuO7I1c%3D&reserved=0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fusgs-makerspace%2Fmakerspace-sandbox%2Fissues%2F693%23issuecomment-738085423&data=04%7C01%7Cjrapp%40usgs.gov%7C93fd679c8d7e4b2572b808d897a18fd8%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637426067446057516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oB%2FHt3u0PjLXt0hWxLbrPbiZ3BD3XNGsHhXZEudoaaQ%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protect%20ion.outl%20ook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIBB4BPHVJT3QOV4AMT34HTSS6WIRANCNFSM4ULAUJPQ&data=04%7C01%7Cjrapp%40usgs.gov%7C207335f953524237bb7208d897a1875d%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637426067304384214%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oLoAD3BYIHhFBVhvIivg1%2FyAoHZN779GN8uXCf2fkcQ%3D&reserved=0.

mwernimont commented 3 years ago

@jenniferRapp no, just keeping track of things all in the ticket. In case questions arise later, like did Marty even make a PR? That fool! lol.

mwernimont commented 3 years ago

Merged and on test