newrelic / developer-website

Source code for the New Relic Developer Site.
https://developer.newrelic.com
Apache License 2.0
40 stars 114 forks source link

[Dashboards] Visualize quickstart installs leading to new user signups #1756

Closed jpvajda closed 2 years ago

jpvajda commented 3 years ago

Relates to #1789

Issue

Ensure that pack installs can be tied to new user signups so we can measure sign up conversions from I/O external with the goal to be able to know if a new user signed up on the I/O site, did they Install a quickstart or not.

Queries

there was an attempt


// page_action events DevEn currently has

FROM PageAction
SELECT
funnel(session,
  WHERE actionName = 'TDEV_QuickstartClick_instantObservability' as 'View details',
  WHERE actionName = 'TDEV_QuickstartInstall_instantObservability' as 'Click install',
)
SINCE 1 week ago
LIMIT MAX

// signup_events query from PLG  

FROM TessenAction SELECT filter(uniqueCount(anonymousId), WHERE eventName = 'TLMK_SignUp_signup'), filter(uniqueCount(anonymousId), WHERE eventName = 'TLMK_SignUp_signupThankYou') TIMESERIES AUTO SINCE 1 month ago

Acceptance Criteria

Note there is a Tableau Dashboard where this is being tracked which we can use to validate our queries. - @jpvajda has access.

jpvajda commented 3 years ago

Zoe said we be able to tie in some additional data for new user sign ups by using the following

jpvajda commented 3 years ago

@rudouglas i was thinking this might be a case for a custom viz? 🤔

jpvajda commented 3 years ago

I have funnel setup per these instructions but it doesn't seem to showing any data for the tlmk events, any thoughts @rudouglas

rudouglas commented 3 years ago

@jpvajda slack me a link to the query you are using, I think because they are 2 different events we'll need to do some trickery

jpvajda commented 3 years ago

We found that the tlmk events are probably created in a different account from our development enablement account, so a custom viz may be the way.

jpvajda commented 3 years ago

I'm going to give a custom viz a whirl.

jpvajda commented 3 years ago

This viz repo: https://github.com/jpvajda/new-user-signups (currently set to private) Also this video by Maria is handy

jpvajda commented 3 years ago

I don't think this is going to be possible right now, there's no unique identifying attribute that all the eventName 's use to track a user. The 2 PLG queries referenced above have something called anonymousId which would probably be something we would need to add to our events.

Even with a CustomViz theres no way to link a specific users install click with a signup event. We'll need to consider adding something like that -- from @rudouglas

I'm going to put this back in tentative next and perhaps can resolve it when we figure out 1789

jpvajda commented 2 years ago

@JuliaNocera is also interested in the outcome of this

jpvajda commented 2 years ago

We decided the exploration of the anonymousID assumption should be a seperate ticket... which relates to this ticket as well....

zstix commented 2 years ago

This is almost ready to be worked on, but was blocked on a few things:

zstix commented 2 years ago

Now that we have an anonymousId for all our events, I think this is the query that we need to achieve the desired funnel. I'm going to add this to the [DevEn] External I/O & Quickstarts Ecosystem dashboard.

FROM TessenAction
SELECT funnel(anonymousId as 'Unique user',
  WHERE eventName = 'TDEV_QuickstartClick_instantObservability' AS 'View details',
  WHERE eventName = 'TDEV_QuickstartInstall_instantObservability' as 'Click install',
  WHERE eventName = 'TLMK_SignUp_signup' AS 'Signup form',
  WHERE eventName = 'TLMK_SignUp_signupThankYou' AS 'Signup success'
)
SINCE 1 week
AGO LIMIT MAX