Javascript 如何将spotfire的使用指标发送到google analytics
我试着按照谷歌分析页面上的说明进行操作,并在上使用了这些信息。我在我的谷歌分析页面上没有看到任何数据。 关于如何做到这一点的任何意见。我使用了下面的脚本Javascript 如何将spotfire的使用指标发送到google analytics,javascript,google-analytics,spotfire,Javascript,Google Analytics,Spotfire,我试着按照谷歌分析页面上的说明进行操作,并在上使用了这些信息。我在我的谷歌分析页面上没有看到任何数据。 关于如何做到这一点的任何意见。我使用了下面的脚本 <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-124740775-1"></script> <script&g
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-124740775-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXX');
ga('set', 'dimension1', 'spotfire-file-name');
ga('set', 'page', '/tab name');
ga('send', 'pageview');
</script>
window.dataLayer=window.dataLayer | |[];
函数gtag(){dataLayer.push(参数);}
gtag('js',新日期());
gtag(“配置”、“UA-XXXX”);
ga('set','dimension1','spotfire文件名');
ga('set'、'page'、'/tab name');
ga(‘发送’、‘页面浏览’);
浏览器中没有错误消息(使用F12工具)?没有,我什么也看不到。奇怪的是,我看到一个gtag和另一个跟踪id!我已经向维护BI平台的团队伸出了援助之手。谢谢!