Skip to content

google custom reporting doesn't work #550

@PraveshKunwar

Description

@PraveshKunwar

for some reason, my testing of this is missing the custom props we're passing in. "Help Link Clicked" doesn't include help_url, page_context, or course_id when I look at the realtime dashboard & devtools network tab. Its possible theres some fluke with how the google analytics handles url clicks by default.

Since custom reporting is a bit outside of the scope of this implementation and not an essential feature, I'm thinking you could just create a new issue for the project, and we can address this later.

Originally posted by @jaydonkrooss in #543 (comment)

Specifically, this in Help.tsx:

return <StyledTypography className={classes.helpText} ><Link href={fullURL} target='_blank' rel="noopener">Need Help?</Link></StyledTypography>

  const handleHelpClick = () => {
    sendAnalyticsEvent('Help Link Clicked', {

Metadata

Metadata

Assignees

No one assigned

    Labels

    front endInvolves changes to the React application or other client-related files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions