Google analytics to laravel page

im trying to add google analytics to my page. I have created analytics.blade.php with code like this: