question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suggestions for Analytics Sharing

See original GitHub issue

πŸš€ Feature request

Command

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Description

Hey all, I’m trying to set up analytics sharing to get some local build timings from the engineers in my org. It’s quite cool and has the potential to be very useful, but I ran into a few issues:

🐞 Bug (ng config) - The JSON schema for cli.analyticsSharing.tracking is wrong/overly restrictive

It currently enforces tracking IDs start with GA-, whereas my tracking ID is UA-XXXXX-X (and indeed the docs give a UA- tracking ID as an example). Google Analytics 4 has fully numeric IDs as well.

πŸ“š Docs - https://angular.io/cli/usage-analytics-gathering#per-user-tracking is out of date

It mentions per-user tracking and makes it seem optional, but it’s not actually optional - shared tracking doesn’t run if user is unset. The field is also uuid, and not user like the docs say. It’s also not actually possible to disable the tracking via ng config, as --remove doesn’t exist anymore and schema validation prevents setting to undefined/null.

πŸš€ Feature request - report AOT as a custom dimension like Ivy (and not just a CLI flag)

https://github.com/angular/angular-cli/blob/master/docs/design/analytics.md suggests that usage of the --aot flag is passed to pageview analytics. I’m not sure if this is actually usable anymore due to changes to the CLI, but either way - it would be nice if all reporting (especially build timing events) could report AOT status.

Specifically, we have configurations (rather than flags) that allow developers to disable AOT for speed, which obviously results in dramatically different build/rebuild times, and splitting by AOT would make the data more useful.

I should probably make separate issues. Please let me know if that would be better.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
henry-alakazhangcommented, Oct 11, 2021

Undefined needs to be passed without it being wrapped in quotes, like the below

ng config cli.analyticsSharing.uuid undefined

Ah yeah my bad, it’s because I was using yarn to run the workspace ng and it was wrapping everything weirdly. undefined does indeed work.

0reactions
angular-automatic-lock-bot[bot]commented, Nov 13, 2021

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data sharing settings - Analytics Help - Google Support
These settings let you customize how you share with Google the data that you collect using an Analytics data collection method (like the...
Read more >
6 Google Analytics Tips for Business Insight Way Beyond Traffic
1. Use Audience Data When Creating Custom Visitor Segments ... Hopefully, you're already using custom segments to classify your visitors byΒ ...
Read more >
Make the Most of Your Data: 6 Tips for Sharing Data ... - Wix.com
Here are some tips about how to best share your data. ... the biggest challenge for an analytics team is to effectively share...
Read more >
Social Media Analytics Tips: 6 Ways to Get The Most Out of ...
6 tips for getting better social media results by using data Β· 1. Create quick reports in a few clicks Β· 2. Set...
Read more >
Should You Share Your Data With Tech Companies?
Consumer Reports fills you in on what you agree to when you share usage and analytics data with tech companies such as Amazon,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found