Added analytics support to all pages

This commit is contained in:
Julian Prieber 2022-06-08 15:58:04 +02:00
parent 1884e3237e
commit af284a58c2
8 changed files with 23 additions and 0 deletions

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8">
@include('layouts.analytics')
@if(env('CUSTOM_META_TAGS') == 'true' and Config::get('meta.title') != '')
<title>{{ Config::get('meta.title') }}</title>
@else

View File

@ -2,6 +2,9 @@
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
@include('layouts.analytics')
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">

View File

@ -2,6 +2,9 @@
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
@include('layouts.analytics')
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">

View File

@ -3,6 +3,9 @@
<head>
<title>Studio ⚙️ {{ config('app.name') }}</title>
<meta charset="utf-8">
@include('layouts.analytics')
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="{{ asset('littlelink/css/hover-min.css') }}">
<link rel="stylesheet" href="{{ asset('littlelink/css/animate.css') }}">

View File

@ -3,6 +3,9 @@
@include('layouts.lang')
<head>
<meta charset="utf-8">
@include('layouts.analytics')
<meta name="viewport" content="width=device-width, initial-scale=1">
@stack('updater-head')

View File

@ -2,6 +2,9 @@
@include('layouts.lang')
<head>
<meta charset="utf-8">
@include('layouts.analytics')
@if(Config::get('meta.littlelink_title') != '' and env('HOME_URL') === '')
<title>{{ $userinfo->name }} {{ Config::get('meta.littlelink_title') }}</title>
@elseif(env('CUSTOM_META_TAGS') == 'true' and Config::get('meta.title') != '')

View File

@ -2,6 +2,9 @@
@include('layouts.lang')
<head>
<meta charset="utf-8">
@include('layouts.analytics')
<title>{{ config('app.name') }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,600,800&display=swap" rel="stylesheet">

View File

@ -4,6 +4,9 @@
<head>
<meta charset="utf-8">
@include('layouts.analytics')
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@lang('env-editor::env-editor.menuTitle')</title>