-
Notifications
You must be signed in to change notification settings - Fork 35
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
MWPW-159091 Add analytics event for clicking a prompt card #829
Conversation
|
@@ -37,6 +38,7 @@ async function createBlock(element, cfg) { | |||
'data-toast': cfg.toast, | |||
'daa-im': true, | |||
'daa-lh': 'Featured prompts | Executive summary', |
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.
will this remain hard coded?
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.
Could we have a default behavior and an option for authors to switch in case is need it?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #829 +/- ##
==========================================
+ Coverage 88.74% 88.76% +0.01%
==========================================
Files 51 51
Lines 7809 7812 +3
==========================================
+ Hits 6930 6934 +4
+ Misses 879 878 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Resolve: MWPW-159091
Test URLs:
Before: https://promptcard--dc--adobecom.hlx.live/drafts/tsay/prompt-cards-template-group
After: https://promptcard-analytics--dc--adobecom.hlx.live/drafts/tsay/prompt-cards-template-group