Page vs. Track for figuring out exactly where navigated from?
We'd like to add tracking for when people open modals in our site.The tricky part is that you can open these modals through a variety of ways and we'd like to know exactly which button a user clicked to do it.
If we implement this with a "Track" call we can just title the event like "Opened modal from button X". However, that would mean that downstream tools (e.g. Google Analytics) wouldn't recognize that for funnel analysis. If we do a "Page" call, the best I can tell for saying "opened from button X" is setting the referrer to something.
Does anyone have guidance on what might be the best approach to track this data?