简体   繁体   English

Laravel Voyager 图表未显示在仪表板中

[英]Laravel Voyager Charts not showing in the Dashboard

Hi Guys I'm using laravel Voyager in my Project after I added the Google Analytics Client ID嗨,伙计们,我在添加Google Analytics 客户端 ID后在我的项目中使用了 laravel Voyager

to The Admin Still not showing Charts in Dashboard ???到管理员仍然没有在仪表板中显示图表???

anyone can help me with this issue please任何人都可以帮我解决这个问题

At first I guess you should install an analytics tool on your page.起初我猜你应该在你的页面上安装一个分析工具。 go to https://analytics.google.com/analytics and register your website.转到https://analytics.google.com/analytics并注册您的网站。 then copy the code like然后复制代码

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-***********"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-***********'); </script>

and past it inside head tag as the first element.并将其作为第一个元素传递到 head 标签中。 I think your answer is in here- Google Analytics on Laravel Voyager Admin我想你的答案就在这里 - Laravel Voyager Admin 上的 Google Analytics

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM