-
Notifications
You must be signed in to change notification settings - Fork 3
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
Posthog analytics Integration for iq.wiki backend #581
base: main
Are you sure you want to change the base?
Conversation
Run & review this pull request in StackBlitz Codeflow. |
how did u test this implementation? can u share some screenshots? |
also checks are failing, before asking for a review you should ensure you dont have errors in the PR |
Noted sir. |
any update? |
@@ -7,9 +9,20 @@ import ActivityModule from '../App/Activities/activity.module' | |||
import AppService from '../App/app.service' | |||
|
|||
@Module({ | |||
imports: [httpModule(10000), ActivityModule], | |||
imports: [httpModule(10000), ActivityModule, | |||
PosthogModule.forRootAsync({ |
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.
Similar blocks of code found in 4 locations. Consider refactoring.
.getOne()) | ||
|
||
const [founders, blockchain] = await Promise.all([ | ||
(async () => { |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
} | ||
return [] | ||
})(), | ||
(async () => { |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
Code Climate has analyzed commit fc9b3d7 and detected 11 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Integrate Posthog analytics for iq.wiki backend
Replaced google analytics with posthog
Added posthog API to iq.wiki backend
On graphql playground, after connecting to server input:
mutation {
viewEvent(event: "testinganew\event", distinctId: "someuser101", properties: { key1: "value1" })
}
closes EveripediaNetwork/issues#2817