Description
As reported in https://github.com/getsentry/sentry-php/issues/1192#issuecomment-789709631, to link a PHP tracing transaction to the frontend where you may be using the Sentry JS SDK,
You need to connect the PHP traces to the JS SDK by setting a meta tag on your page the JS SDK can read.
<meta name="sentry-trace" content="49879feb76c84743ba5034bd2d3f1ca3-7cb5535c930d4666-1"/>
Example from Laravel: https://docs.sentry.io/platforms/php/guides/laravel/performance/#connect-your-frontend.
This is how that header is built: https://github.com/getsentry/sentry-laravel/blob/be9658a57d554f8bfe587facc1492a45c6bd0e1c/src/Sentry/Laravel/Integration.php#L175-L187.
We could provide something similar here in the Symfony bundle; probably a Twig partial which uses a Twig function to retrieve the current transaction id.