Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

408 analytics per tenant #479

Merged
merged 13 commits into from
May 18, 2023
Merged

408 analytics per tenant #479

merged 13 commits into from
May 18, 2023

Conversation

alishaevn
Copy link
Contributor

@alishaevn alishaevn commented May 17, 2023

Story

Expected Behavior Before Changes

  • analytics were set through the .env or deploy.tmpl files
  • one analytics account related to all tenants
  • the feature is on by default

Expected Behavior After Changes

  • analytics info has to be set per tenant
  • the feature is off by default

Screenshots / Video

analytics by default

Screenshot 2023-05-17 at 1 09 51 PM
Screenshot 2023-05-17 at 1 09 04 PM

analytics enabled

Screenshot 2023-05-17 at 1 06 17 PM
Screenshot 2023-05-17 at 1 03 57 PM

alishaevn added a commit that referenced this pull request May 17, 2023
@alishaevn alishaevn mentioned this pull request May 17, 2023
analytics will be programmatically determined by setting the appropriate values in the admin settings.
…ithLocation rubocop setting for google.rb method
@alishaevn alishaevn marked this pull request as ready for review May 17, 2023 18:44
@alishaevn alishaevn requested a review from orangewolf May 17, 2023 18:45
@alishaevn alishaevn temporarily deployed to demo May 17, 2023 18:48 — with GitHub Actions Inactive
config/analytics.yml Outdated Show resolved Hide resolved
@alishaevn alishaevn marked this pull request as draft May 18, 2023 15:12
Comment on lines -53 to -58
GOOGLE_ANALYTICS_ID=see-1pass
GOOGLE_OAUTH_APP_NAME=palni-palci-demo
GOOGLE_OAUTH_APP_VERSION=1.0
GOOGLE_OAUTH_PRIVATE_KEY_SECRET=notasecret
GOOGLE_OAUTH_PRIVATE_KEY_PATH=cred.p12
GOOGLE_OAUTH_CLIENT_EMAIL=palni-palci-demo@palni-palci-demo.iam.gserviceaccount.com
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

analytics are determined on a per tenant basis, so these are no longer necessary.

@alishaevn alishaevn marked this pull request as ready for review May 18, 2023 17:08
@alishaevn alishaevn temporarily deployed to staging May 18, 2023 17:13 — with GitHub Actions Inactive
app/services/hyrax/analytics/google.rb Outdated Show resolved Hide resolved
app/services/hyrax/analytics/google.rb Outdated Show resolved Hide resolved
bin/web Outdated Show resolved Hide resolved
bin/worker Outdated Show resolved Hide resolved
config/analytics.yml Show resolved Hide resolved
config/browse_everything_providers.yml Outdated Show resolved Hide resolved
config/locales/simple_form.en.yml Show resolved Hide resolved
config/locales/simple_form.en.yml Show resolved Hide resolved
config/locales/simple_form.en.yml Show resolved Hide resolved
ops/staging-deploy.tmpl.yaml Show resolved Hide resolved
@alishaevn alishaevn requested a review from orangewolf May 18, 2023 18:44
@alishaevn alishaevn merged commit 80d1aaf into main May 18, 2023
@alishaevn alishaevn deleted the 408-analytics-per-tenant branch May 18, 2023 19:21
This was referenced May 19, 2023
alishaevn added a commit that referenced this pull request Aug 1, 2023
kirkkwang added a commit that referenced this pull request Dec 8, 2023
This commit will revert the previous Google Analytics work and modify it
to use the new Google Analytics 4 (GA4) tracking code.

Ref:
  - #479
kirkkwang added a commit that referenced this pull request Dec 8, 2023
This commit will revert the previous Google Analytics work and modify it
to use the new Google Analytics 4 (GA4) tracking code.

Ref:
  - #479
@kirkkwang kirkkwang mentioned this pull request Dec 8, 2023
kirkkwang added a commit that referenced this pull request Dec 11, 2023
This commit will revert the previous Google Analytics work and modify it
to use the new Google Analytics 4 (GA4) tracking code.

Ref:
  - #479
kirkkwang added a commit that referenced this pull request Dec 11, 2023
This commit will revert the previous Google Analytics work and modify it
to use the new Google Analytics 4 (GA4) tracking code.

Ref:
  - #479
kirkkwang added a commit that referenced this pull request Dec 11, 2023
This commit will revert the previous Google Analytics work and modify it
to use the new Google Analytics 4 (GA4) tracking code.

Ref:
  - #479
kirkkwang added a commit that referenced this pull request Dec 11, 2023
This commit will revert the previous Google Analytics work and modify it
to use the new Google Analytics 4 (GA4) tracking code.

Ref:
  - #479
kirkkwang added a commit that referenced this pull request Dec 11, 2023
This commit will revert the previous Google Analytics work and modify it
to use the new Google Analytics 4 (GA4) tracking code.

Ref:
  - #479
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Analytics - Works report Analytics - Collection Report shows deleted collections
3 participants