-
Notifications
You must be signed in to change notification settings - Fork 467
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
#30820 Create Custom Hook for Page View Content Analytics Integration #30922
Conversation
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.
More in the Slack convo.
core-web/libs/sdk/analytics/src/lib/react/components/DotContentAnalyticsProvider.tsx
Outdated
Show resolved
Hide resolved
core-web/libs/sdk/analytics/src/lib/plugin/dot-analytics.plugin.ts
Outdated
Show resolved
Hide resolved
core-web/libs/sdk/analytics/src/lib/plugin/dot-analytics.plugin.ts
Outdated
Show resolved
Hide resolved
core-web/libs/sdk/analytics/src/lib/shared/dot-content-analytics.http.ts
Outdated
Show resolved
Hide resolved
core-web/libs/sdk/analytics/src/lib/react/components/withContentAnalytics.tsx
Outdated
Show resolved
Hide resolved
core-web/libs/sdk/analytics/src/lib/react/hook/useAnalyticTracker.ts
Outdated
Show resolved
Hide resolved
core-web/libs/sdk/analytics/src/lib/react/hook/useAnalyticTracker.ts
Outdated
Show resolved
Hide resolved
7b219ea
to
e415487
Compare
22850c5
to
9d616de
Compare
Semgrep found 1 Risk: Affected versions of rollup are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Manual Review Advice: A vulnerability from this advisory is reachable if you use Rollup to bundle JavaScript with Fix: Upgrade this library to at least version 4.22.4 at core/core-web/yarn.lock:20358. Reference(s): GHSA-gcx4-mw62-g8wm, CVE-2024-47068 Ignore this finding from ssc-cee3e6d5-d7c8-4c35-9815-076aa1ebfd49 |
527546c
to
5cf2435
Compare
Semgrep found 1 Risk: Affected versions of rollup are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Manual Review Advice: A vulnerability from this advisory is reachable if you use Rollup to bundle JavaScript with Fix: Upgrade this library to at least version 4.22.4 at core/core-web/yarn.lock:20283. Reference(s): GHSA-gcx4-mw62-g8wm, CVE-2024-47068 Ignore this finding from ssc-cee3e6d5-d7c8-4c35-9815-076aa1ebfd49. |
d62a1b8
to
5cf2435
Compare
core-web/libs/sdk/analytics/src/lib/react/components/DotContentAnalyticsProvider.tsx
Outdated
Show resolved
Hide resolved
core-web/libs/sdk/analytics/src/lib/react/components/DotContentAnalyticsProvider.tsx
Outdated
Show resolved
Hide resolved
core-web/libs/sdk/analytics/src/lib/react/hook/useContentAnalytics.ts
Outdated
Show resolved
Hide resolved
ea2aa1c
to
a98e606
Compare
ddda9a3
to
f083b0a
Compare
Proposed Changes
Checklist
Additional Info
** any additional useful context or info **
Screenshots
Pageview + Custom Track Event
https://github.com/user-attachments/assets/e4ab4554-70bd-4d52-abde-38dddad3be49
This PR fixes: #30820