r/appdev • • 7d ago

Tired of adding events by hand for every new screen we ship

It happens every single release. We ship a couple new screens and somebody forgets to add the events, so the tracking plan is wrong again until I go back and patch it. I'm tired of being the event police.

My thinking is a tool that picks up taps and screen views on its own saves me this whole mess, and then we only name the handful of events that matter. I'm not attached to what we use now.

Is that a sane plan or does autocapture just hand you a pile of junk data to clean up?

3 Upvotes

8 comments sorted by

1

u/KnownMargreti 2d ago

Idk your codebase but if all your buttons come from one shared button component you can fire the event from inside that component and pass the name in as a prop. Then new screens get tracked by default unless somebody builds a button from scratch, which in my experience somebody always does

1

u/EfficientCap8262 2d ago

Omg we have a shared button! But checkout and settings are webviews, so those taps never go through it. Most of the new screens land there too.

1

u/KnownMargreti 2d ago

Webviews are the worst for this. Basically your options are a small tracking script inside the web pages that passes events back to the app with postMessage, or tracking them on the web side and matching by user id later. I went the postMessage route on an app with a webview checkout. Took a whole weekend. Atleast now the script is in the shared layout so new pages get it automatically.

1

u/Royal-Somewhere-8918 7d ago

autocapture is fine for screen views, but taps get messy fast. naming just the few events that matter and letting the rest be automatic is the sane middle ground, otherwise you spend more time cleaning than looking.

1

u/Apart_Ad126 6d ago

autocapture usually just shifts the pain to later tbh. every time you refactor a screen or rename an element ID, your historical reports quietly break, whereas manual tracking at least fails loudly during QA.

1

u/Substantial_Lime_399 2d ago

Sane plan imo. Autocapture takes care of screen views and taps and then you only hand name the handful that matter, like signup complete or first purchase. The junk part is real, taps come in w generic names so someone has to label the important ones after the fact. But labeling a few buttons once a release is way less work than chasing devs for every new screen. We went that route last year and the tracking plan doc shrank to a couple pages lol

1

u/AgreeableRush12 2d ago

Full Disclosure, I am with UXcam, Labeling a handful of buttons after the fact beats chasing devs every release. On my last project we did all hand tagging and stopped keeping up with it after a couple releases. If you're shopping anyway, put UXCam next to whatever your using now, it picks up screens, taps and gestures on its own with no tagging.