Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

add analytics tags to search #365

Merged
merged 10 commits into from
Mar 27, 2019
Merged

add analytics tags to search #365

merged 10 commits into from
Mar 27, 2019

Conversation

Haroenv
Copy link
Collaborator

@Haroenv Haroenv commented Feb 15, 2019

Summary:

We add these tags so we can filter the analytics on searches done by Guppy alone. If you have interest in seeing those analytics, please make an Algolia account and let me know!

@AWolf81
Copy link
Collaborator

AWolf81 commented Feb 15, 2019

What is possible with these tags? Can you please add a screenshot of how it looks in Algolia and a brief description what we can do with it?
I haven't used these tags before is there a docs section about them on Algolia?

Overall this looks good. I have just two points that would be good to add:

  1. Add the tracking info to PRIVACY.md & mention what it is tracking and that it's another analytics provider we're using - @joshwcomeau could you please help with the privacy text?
  2. Make an opt-out from the Algolia tracking possible. I think we can use the same button to toggle it in File/Preferences... (just if it's a usage tracking)
    grafik

@Haroenv
Copy link
Collaborator Author

Haroenv commented Feb 16, 2019

This doesn’t add any tracking actually, it just filters the search queries done (anonymously & aggregated). However, turning analytics off altogether can make sense, and is something possible. I’m on mobile now, so I can’t make any screenshots, but I will Monday.

@Haroenv
Copy link
Collaborator Author

Haroenv commented Feb 20, 2019

screenshot 2019-02-20 at 10 05 36

screenshot 2019-02-20 at 10 05 58

screenshot 2019-02-20 at 10 05 49

Here's screenshots of what the analytics looks like. Note that this isn't filtered on Guppy only (also Yarn, Gatsby, codesandbox etc.) because I'd need this PR to be released before being able to pinpoint this to only Guppy usage.

@superhawk610
Copy link
Collaborator

I'll advocate for this PR, as I believe it's important to be good stewards of Algolia's service since they're providing it free of charge. Some services (Reddit's API comes to mind) actually require that you identify yourself in order to make any requests, so I don't think it would be problematic in any way to add this to Guppy's Algolia integration.

If we want to add an opt-out for analytics, that's really outside the scope of this and deserves its own PR.

Since it's only logging the application's ID and nothing specific to each user, I don't think it even really justifies a mention in PRIVACY.md. If anything, we could add a link to Algolia's privacy policy and terms of service.

joshuaellis and others added 7 commits March 27, 2019 09:54
* Online check component added

* add reducer & action for online check component.

also included in App.js

* removed sidebar functionality when offline

* removed depedency functionality when offline

* removed functionality from create new project wizard when offline

* fixed tests to align with disabled pattern

* add infoBanner to Z-indexes for future usage.

* removed random {' '}, changed IS_ONLINE_CHECK to SET_ONLINE_STATUS

* pull request requested changes

missed one file.

* updated infobar to be fixed header.

* flow fix

* remove random whitespace

* Pull request changes

remove state type, move styled components to before redux part, change background color of infobar to be transparent.

* enable menu items based on isOnline
* WIP: Added eslint-jest & fixed issues (except snapshots)

* reduced snapshot size to meet max 100 lines

* fixed snapshot

* changed comment to a note about noPadding prop

* updated snapshot
* WIP: Added render test

* WIP: Added tests

* fixed flow

* added focus test

* Merge branch 'master' into test-project-configuration-modal

* fixed linting warnings

* removed typing as no flow used in test files
* WIP: Added tests

* WIP: ProjectType undefined not throwing in test

* fixed flow

* added tests

* reverted to children render props

* Merge branch 'master' into test-create-new-project-wiz

* Fixed linting & replaced snapshot with simple smoke tests

* addressed review comments
* moved related components to DependencyManagementPane

* added tests

* fixed flow

* added a constant instead of Date.now()

* updated snapshot

* removed white-spaces

* removed verbose

* fixed linting & mocked AlgoliaLogo

* move related component files & moved tests to __tests__ folder

* Add script for test:dev
* Switch to advanced config to silence validation warning

* Fix spacing issues
@Haroenv
Copy link
Collaborator Author

Haroenv commented Mar 27, 2019

Rebased!

@Haroenv
Copy link
Collaborator Author

Haroenv commented Mar 27, 2019

Damn it, how did this cause conflicts!

@Haroenv Haroenv merged commit 4279e23 into master Mar 27, 2019
@Haroenv Haroenv deleted the feat/analytics-tags branch March 27, 2019 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants