/**
  * @Route("/check_analytics", name="Check Analytics Profile")
  */
 public function indexAction(Request $request)
 {
     if ($request->query->get('profile_id')) {
         $profileId = $request->query->get('profile_id');
         $this->analyticsService = $this->get('AnalyticsService');
         $this->analyticsService->setProfileId($profileId);
         $this->analyticsService->checkProfile();
     }
     // replace this example code with whatever you need
     return $this->render('default/index.html.twig', array());
 }