🔭 #19: Decoupling Tracking Logic and Thoughts about Outputs vs. Outcomes
Learn more about a concept for decoupling tracking logic from the rest of the application and my thoughts on outputs vs. outcomes.
Hey,
Long time no see! In this issue, I want to share a rough concept for decoupling tracking logic from a Vue application, and I've got some thoughts about outcomes and outputs to share with you. But first, some quick updates:
I'm now on LinkedIn! Connect with me for regular updates and insights.
In other news, my book on writing good tests for Vue applications is nearing the finish line. You can pre-order the premium version of the ebook today and get 20% off!
I'm also planning to conduct more workshops starting in October. The focus will be on Testing and Application Architecture. If you're interested, don't hesitate to reach out!
Decoupling Tracking Logic
Recently, I wrestled with finding a practical way to effectively test tracking code (like Google Analytics). My solution? An event-based contract between the application and the tracking code in Google Tag Manager.
Let me know what you think!
Prioritize Outcomes Over Outputs
One of the fundamental principles in product management is prioritizing outcomes over outputs. But this principle applies to many more situations, not just product management.
When it comes to web development, often, we get caught up in the allure of the latest, shiniest framework and then scramble to justify why it's the best choice. Instead, we should first define the outcome we want - say, making our application faster, shaving off 1 second on slow connections - and then evaluate our options based on that goal.
At the end of the day, your job is to minimize output and maximize outcome and impact.
— Jeff Patton, User Story Mapping
In software development and many other areas, producing more output is rarely the best use of our time. Instead, choose the path that requires the least effort and resources to achieve the desired outcome.
That's all for now. As always, feel free to reach out with any thoughts or questions.
Happy coding!
Partners
Storyblok is a headless CMS with a Visual Editor. Creating websites with Storyblok is a smooth experience for both developers and content editors!
Vue Jobs
Last but not least, I'm partnering with Vue Jobs as a sponsor for my blog. So if you're looking for a new job, check out their site!