I'll try to answer your question, sorry if it doesn't satisfy you. While most of the influential CUP figures (Enver, Talat, Halil, but mostly Enver) are already leaning to the Central Powers as of July, the confiscation and subsequent arrival or Goeben and Breslau swayed much of Ottoman public opinion towards Germany.
Ever since the order was made, intense propaganda by the government and patriotic civil society organizations, most notably the Ottoman Navy League, had firmly convinced the public that the purchase of these two battleships meant the rise of modern Ottoman Navy capable of ousting its rival Greece and Russia. A significant portion of the ships’ cost had been raised through public contributions. Most of Ottoman public donated, Ottoman schoolchildren were encouraged to contribute their pocket money, fund-raising stands were erected in city squares where for donations of five kuruş or more, citizens were invited to hammer nails into massive wood blocks, and investors that contributed a large sum were awarded with a special medal. The massive scope and patriotic energy it had generated and the popularity it had achieved were unparalleled in Ottoman history.
And so, when the news of the seizure arrived, it dropped like a bombshell. For many, Great Britain had not only violated international law and damaged Ottoman honor, but also stolen the small contributions they had made towards the purchase. The announcement of the seizure caused a public outcry in Ottoman urban centers and the countryside, generating widespread anti-British sentiment throughout the empire. People from around the empire sent angry letters to the British embassy, one letter sent by a poor man was attached with a kuruş stating "in case the British should be so impoverished that they could do nothing better than steal ships bought with hard earned Turkish money". The British ambassador wrote "sentiments of violent hostility towards England which now pervade all classes". Izmir newspaper The Near East wrote that "at no time during the Italian or Balkan Wars has the anti-foreign feeling prevailing amongst the Turks been so pronounced as at present. This feeling has been caused primarily by the seizure of the Turkish Dreadnoughts". In Diyarbekir, the British vice-consul observed that "indignation is intense among local Moslems against the reported British seizure of Ottoman war vessels building in Great Britain". In Jaffa, there was "a great anti-British feeling among the Moslem population and sympathy is altogether German". Much of the Ottoman press also expressed dismay. The newspaper Sabah declared "seizing and hijacking these ships dashes the hopes of the Ottoman nation and the Muslim ummah". Similarly, Tasfir-i Evkar stated "a thousand curses. The blow that the English struck first at the Ottomans and secondly at the entire Muslim world will generate great currents, like the great currents of the oceans. And no Englishman shall doubt that one day these currents will drown the Englishmen on the island of Britannia"
In the CUP, The seizure of the dreadnoughts provided an opportunity to energize an unenthusiastic and deeply worried public. They used the incident to win over the demoralized public and to justify the need for military mobilization. Moreover, it contributed greatly to the shaping of the Ottoman war narrative. From the very beginning, the Ottoman official wartime narrative insisted that the Ottoman Empire was the victim of its enemies' aggression. The empire was being provoked, CUP press argued, by a series of events orchestrated by the Entente powers, which eventually compelled it to enter the war despite its strong intention to maintain strict neutrality and its desire to live in peace, and so going to war was a legitimate act of self-defense, solely to protect the empire’s boundaries and honor. For the CUP, this narrative of victimization was essential in convincing people of the worthiness of the Ottoman cause and encouraging them to support the government's war effort only months after the disastrous defeat in the Balkans
While the Ottoman populace was still grappling with this shock, On the evening of August 10th, Enver Pasha granted permission to two German cruisers Goeben and Breslau to pass through the straits. The Porte then declared that the cruisers had been purchased from Germany for 80 million marks and transferred to the Ottoman navy. Upon their transfer, the Goeben was renamed Yavuz Sultan Selim, while the Breslau became Midilli. The incident proved to be another tipping point for the Ottoman public since for the first time in a long while, a major European power was acting favorably towards the Ottomans in such a direct and evident manner. The press and other propaganda outlets presented the sale of the cruisers as an honorable gesture by Germany and as a sign of German friendship towards the Ottomans. A flyer distributed and posted on street walls and coffeehouses in Damascus, read "Great Britain’s feeling towards Turkey may be seen by their seizure of our two Dreadnoughts and on the other hand Germany making us a gift of Sultan Selim and Midilli". Along the same line, the newspaper Tanin dismissed the Entente's claims that the purchase constituted a violation of neutrality and wrote that it was perfectly normal for Ottoman public opinion to have become favorably disposed towards the Germans because of this gesture. The disappointment caused by the British retention of the battleships and the consequent outburst of anti-British feelings significantly contributed to the development of pro-German tendencies among both military and governmental officials as well as Ottoman Muslims in general
Sources:
When The War Came Home: The Ottomans’ Great War and the Devastation of an Empire by Yiğit Akın
The Fall of The Ottomans by Eugene Rogan