Add URL parameter monitoring to in-app purchase buttons
Problem
As we continue to work to increase the rate at which users select to upgrade from feature discovery modules we don't have a way to track which paths are generating the most revenue or which have the best conversion rates.
Solution
We should add URL parameter monitoring to in-app purchase links. The monitoring should mimic our trial URL monitoring whereby we could be something as simple as upgrade_source
and the value would be dependent on the location. The majority (if not all) of our in-app purchase CTAs direct the user from a "Upgrade Now" CTA to the billing page that corresponds with that namespace, the user then has to select "Upgrade" from that page at which point they enter the checkout experience.
In this solution, we'd want to be able to monitor:
- If a user came from a specific "Upgrade Now" CTA such as security nav, issue weights etc
- If a user clicks "Upgrade" on the namespace billing page and no "Upgrade Now" CTA source is found then we attribute the source to the namespace billing page.
We would store this URL parameter value at the moment of the click all the way through the checkout experience so we can understand how each source impacts the efficiency rate of checkout and we'd want to be able to tie a particular source to the IACV it generated.