Merge pull request #2438 from Budibase/feature/posthog-cloud
Feature/posthog cloud
This commit is contained in:
commit
7b3ab92861
|
@ -79,6 +79,7 @@ const isFeedbackTimeElapsed = sinceDateStr => {
|
|||
const feedbackMilliseconds = feedbackHours * 60 * 60 * 1000
|
||||
return Date.now() > sinceDate + feedbackMilliseconds
|
||||
}
|
||||
|
||||
function submitFeedback(values) {
|
||||
if (!analyticsEnabled || !process.env.POSTHOG_TOKEN) return
|
||||
localStorage.setItem(FEEDBACK_SUBMITTED_KEY, Date.now())
|
||||
|
|
|
@ -15,5 +15,6 @@ exports.AnalyticsEvents = {
|
|||
SelfHostInit: "hosting_init",
|
||||
}
|
||||
|
||||
exports.BUDIBASE_POSTHOG_URL = "https://posthog.budi.live"
|
||||
exports.BUDIBASE_POSTHOG_TOKEN = "Oeq9KzIpZYaNsXIvHw5QTZWNpfiG_EOjAOpjTyAiitY"
|
||||
exports.BUDIBASE_POSTHOG_URL = "https://app.posthog.com"
|
||||
exports.BUDIBASE_POSTHOG_TOKEN =
|
||||
"phc_yGOn4i7jWKaCTapdGR6lfA4AvmuEQ2ijn5zAVSFYPlS"
|
||||
|
|
Loading…
Reference in New Issue