Don’t Do This

And you can put hose adapters on that and have it inline on the heater hose.
That could work depending on your setup (constant flow), but not if you've got a heater shutoff valve- you need constant flow of heated coolant to be accurate; valve closed=no flow=colder readings than actual.
Inline sensors also need to be independently grounded since the rubber hose provides no ground.