Our adjusted G&A which includes a $1 million non-cash charge, related to provisions for doubtful accounts decreased by 24% versus last quarter. Relative to our Q3 guidance, upside in adjusted EBITDA was driven by a beat in our top line and continued efficiencies we are finding in the business across wage and non-wage. In addition to savings from headcount reductions, we also realized higher levels of capitalization within our product development organization that led to a decrease in wage expenses. As it relates to non-wage expenses, we realized lower-than-expected marketing expenses relating to advertising and events, as well as favorable costs from outside vendors in our product development organization. Finally, our bad debt expense of $1 million reflects the fourth consecutive quarter in which our bad debt has declined, which we believe is related to the policies and procedures we have implemented over the past few quarters.
We recorded a net loss of $3 million, which was impacted by $12 million in D&A, including $8 million non-cash impairment charge related to the aforementioned sunsetting products, $2 million in stock-based compensation, and approximately $1 million benefit of other non-reoccurring charges. Our GAAP OpEx, excluding cost of revenues and D&A, was $38 million in Q3, a reduction of 39% versus last year. More information on these charges is available in our earnings release and our Form 10-Q. We closed the quarter with $28 million in cash and as we have previously stated, we expect to end the year with more cash than we started the year with. We continue to be debt-free and are comfortable with our liquidity position. Our share count across our Class A and B shares classes was $149 million at the end of the quarter.
A reconciliation of non-GAAP metrics to their nearest GAAP results as well as the details of our share classes and share count calculations are provided in our earnings presentation posted to our Investor Relations site. Turning to outlook, we continue to be pleased with the progress we are making across three priority focus areas and are confident we are making the right strategic, operational, and financial decisions to set WM Technology up for the near-term and long-term. With that said, we are acutely aware of the well-known challenges still facing our industry and the lack of progress on multiple fronts including regulatory enforcement, state GMV, and license growth. We must continue to prudently plan for and spend against a realistic and responsible view of our topline and such we are planning for Q4 revenue to be $47 million, slightly down from this quarter as a result of anticipated continued and market headwinds.
Our profitability, we expect Q4 adjusted EBITDA will be in the $5 million area. We remain committed to our previous guidance of double-digit adjusted EBITDA margin in fiscal year 2023 and generating positive cash flow for the year. At this time, I will turn the call over to the operator to complete the call. As mentioned at the beginning of our call, we will not be doing a Q&A session. Thank you for joining us today and we look forward to speaking with you again at our annual fiscal year 2023 earnings call.
End of Q&A: Thank you for your participation in today’s conference. This concludes the program. You may now disconnect.