title: How to get parameter from URL shopware
body: <p>So I'm working with a software made with symfony and vue (shopware). I want to create a plugin that checks the link that the user requested and, if it contains a specific word, I want to show the user a pop-up. I have made a subscriber and I'm dumping the data, but I get nothing in the debug tools?</p>
  <pre class="lang-php prettyprint-override"><code>&lt;?php declare(strict_types=1);
  
  namespace QRLinker\Subscriber;
  
  use Shopware\Storefront\Page\PageLoadedEvent;
  use Symfony\Component\HttpFoundation\Request;
  use Symfony\Component\EventDispatcher\EventSubscriberInterface;
  
  
  class QRLinkerSubscriber implements EventSubscriberInterface
  {
      public static function getSubscribedEvents(): array
      {
          return [
              PageLoadedEvent::class =&gt; 'onPageLoaded',
          ];
      }
  
      public function onPageLoaded (PageLoadedEvent $event)
      {
          dump($event);
          dump($event-&gt;getRequest());
          // GET https://dev.example.com/?qr=hubi
          // dump($request-&gt;query-&gt;get('qr'));
      }
  }
  </code></pre>
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; ?&gt;
  
  &lt;container xmlns=&quot;http://symfony.com/schema/dic/services&quot;
             xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
             xsi:schemaLocation=&quot;http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd&quot;&gt;
  
      &lt;services&gt;
          &lt;service id=&quot;QRLinker\Subscriber\QRLinkerSubscriber&quot; &gt;
              &lt;tag name=&quot;kernel.event_subscriber&quot; /&gt;
          &lt;/service&gt;
      &lt;/services&gt;
  &lt;/container&gt;
  </code></pre>