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

TypeError: this.rageClicks is undefined (via posthog-js) #228

Closed
1 of 2 tasks
georgeciubotaru opened this issue May 11, 2021 · 7 comments · Fixed by #233
Closed
1 of 2 tasks

TypeError: this.rageClicks is undefined (via posthog-js) #228

georgeciubotaru opened this issue May 11, 2021 · 7 comments · Fixed by #233
Assignees

Comments

@georgeciubotaru
Copy link

Bug description

Recently I discover that the posthog-js script throw an error after Capturing each event.
I tried to debug the script and get this error.(please check the screenshot below).
https://user-images.githubusercontent.com/8217518/117438601-6d33b000-af3a-11eb-8839-f1574f5168a8.png

The issue may have (1-2 weeks) duration.

Please describe.
If this affects the front-end, screenshots would be of great help.

Expected behavior

The posthog-js script should handle rageClicks Capture functionality

How to reproduce

  1. Connect Posthog-js to your application
  2. Capture a new event ($pageview)
  3. Check the console for errors

Environment

  • PostHog Cloud
  • self-hosted PostHog, version/commit: please provide

Additional context

None

Thank you for your bug report – we love squashing them!

@yakkomajuri yakkomajuri transferred this issue from PostHog/posthog May 11, 2021
@yakkomajuri
Copy link
Contributor

Thanks for reporting! Moved to the relevant repo

@yakkomajuri
Copy link
Contributor

Before I look into this further, could you share your config please? That's the object you pass to the init call

@georgeciubotaru
Copy link
Author

@yakkomajuri The config options

{
    autocapture: false,
    capture_pageview: false 
}

@yakkomajuri
Copy link
Contributor

Without looking at the code, I'm tossing a blind guess out there that this is some improper handling we have with autocapture: false.

@zolotokrylin
Copy link

zolotokrylin commented May 20, 2021

hi guys, are you planning to fix this issue? @yakkomajuri

@mariusandra mariusandra added this to Priorities in Extensibility May 20, 2021
@mariusandra mariusandra moved this from Priorities to 1.26 2/2 in Extensibility May 21, 2021
@mariusandra mariusandra moved this from 1.26 2/2 to Neil in Extensibility May 21, 2021
@mariusandra mariusandra moved this from Neil to 1.26 2/2 in Extensibility May 21, 2021
@neilkakkar
Copy link
Collaborator

@zolotokrylin - yes, I'm working on this now :)

Extensibility automation moved this from To Do This Sprint (1.26 2/2) to Done This Sprint May 25, 2021
@mariusandra
Copy link
Collaborator

This should be fixed in 1.10.2

@Twixes Twixes moved this from Done This Sprint to Done Historically in Extensibility Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Extensibility
Done Historically
5 participants