-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat(analytics): add tag name(s) as tag event value #671
Conversation
Analytics: Coverage: 29.76
PocketKit: Coverage: 20.15
SaveToPocketKit: Coverage: 29.16
SharedPocketKit: Coverage: 51.65
Generated by 🚫 Danger Swift against 5f09963 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @dskuza ! side note: it's be nice if we could see those values represented in the console somehow, but I feel this is a broader scope than just tag-related engagement events, so it does not concern this particular PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
analytics call look good! thanks for picking this up! one teeny nit I noticed.
static func remoteInputTag(itemUrl: URL) -> Event { | ||
/// - Parameters: | ||
/// - tag: The tag that was removed from the list of input tags. | ||
/// /// - itemUrl: The url of the item to which a tag was removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: extra ///
also in Tags.swift
5f09963
to
12fb233
Compare
Summary
Adds tag name(s) as tag event values to tag events sent from both the app and the Save extension.
References
IN-1355
Implementation Details
A
tag(Name)
parameter was added to the appropriate static functions to add avalue
to theEngagement
event. The correct functions were then updated to supply the correct name(s), either by utilizing a string in a calling function, or aTagType
as appropriate.Test Steps
value
field.PR Checklist: