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

Move GA keys to enum #1

Open
eonist opened this issue Mar 23, 2023 · 0 comments
Open

Move GA keys to enum #1

eonist opened this issue Mar 23, 2023 · 0 comments

Comments

@eonist
Copy link
Member

eonist commented Mar 23, 2023

Suggestion:

extension Telemetry {
   enum Key {
      enum ScreenView: String {
         case dh, dp, dt, pageview
      }
      enum Session: String {
         case sc, dp, start, end, session
      }
      enum Exception: String {
         case exd, exf, exception
      }
      enum Timing: String {
         case utc, utv, utl, utt, timing
      }
      enum Event: String {
         case ec, ea, el, event
      }
      enum Meta: String {
         case tid, aid, cid, an, av, ua, ul, sr, v
      }
      enum Other: String {
         case aip, t
      }
   }

Also add descriptions and comments etc?

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

No branches or pull requests

1 participant