Google Analytics:我需要URL地址吗?

时间:2022-08-21 15:19:06

I am a complete Google Analytics beginner and would appreciate a help with a basic question.

我是一名完整的Google Analytics初学者,非常感谢您提供基本问题的帮助。

I am developing HTML, CSS and JavaScript based applications which are further uploaded into an iOS application to present your applications in a fancy way. Therefore my application is a hybrid application (half JS web site, half mobile app).

我正在开发基于HTML,CSS和JavaScript的应用程序,这些应用程序会进一步上传到iOS应用程序中,以一种奇特的方式呈现您的应用程序。因此我的应用程序是一个混合应用程序(一半JS网站,一半移动应用程序)。

I would love to see users' activity in my app when they are browsing through it and I thought GA might work well with it - but the problem is, that the outer app doesn't provide me with any URL of my inner JS app (the inner web site's URL is file:///).

我很乐意在浏览它时看到用户在我的应用中的活动,我认为GA可能会很好用 - 但问题是,外部应用程序没有提供我内部JS应用程序的任何URL(内部网站的URL是file:///)。

At this page (link), I found that URL is not really important, that it is the tracking code which is important. So I used a dummy URL, added the GA snippet into my application and uploaded it in iPresent. I can't see no live activity though... :/ It also says the measuring is not installed (not used at a home page).

在这个页面(链接),我发现URL并不重要,跟踪代码很重要。所以我使用了虚拟URL,将GA片段添加到我的应用程序中并将其上传到iPresent。我看不到没有现场活动...:/它还说没有安装测量(不在主页上使用)。

So I am wondering - is the URL really important?

所以我想知道 - 网址真的很重要吗?

Any ideas?

Thanks!

2 个解决方案

#1


0  

URL (or page path) is only important if you want to report on data based on which URLs your visitors went to.

只有在您希望根据访问者访问的URL报告数据时,URL(或页面路径)才是重要的。

If you app doesn't use URLs at all, perhaps it fits better with the "app" model where you are sending screen name data instead of page data. You can read more about the differences between web and app views here:
https://support.google.com/analytics/answer/2649553

如果你的应用程序根本不使用URL,那么它可能更适合用于发送屏幕名称数据而不是页面数据的“app”模型。您可以在此处详细了解网络和应用视图之间的差异:https://support.google.com/analytics/answer/2649553

#2


0  

I found out that URL is not needed. This type of problem can be solved by using GA Measurement Tool https://developers.google.com/analytics/devguides/collection/protocol/v1/

我发现不需要URL。使用GA Measurement Tool可以解决此类问题https://developers.google.com/analytics/devguides/collection/protocol/v1/

Validate your hit here: https://ga-dev-tools.appspot.com/hit-builder/

在此处验证您的匹配:https://ga-dev-tools.appspot.com/hit-builder/

#1


0  

URL (or page path) is only important if you want to report on data based on which URLs your visitors went to.

只有在您希望根据访问者访问的URL报告数据时,URL(或页面路径)才是重要的。

If you app doesn't use URLs at all, perhaps it fits better with the "app" model where you are sending screen name data instead of page data. You can read more about the differences between web and app views here:
https://support.google.com/analytics/answer/2649553

如果你的应用程序根本不使用URL,那么它可能更适合用于发送屏幕名称数据而不是页面数据的“app”模型。您可以在此处详细了解网络和应用视图之间的差异:https://support.google.com/analytics/answer/2649553

#2


0  

I found out that URL is not needed. This type of problem can be solved by using GA Measurement Tool https://developers.google.com/analytics/devguides/collection/protocol/v1/

我发现不需要URL。使用GA Measurement Tool可以解决此类问题https://developers.google.com/analytics/devguides/collection/protocol/v1/

Validate your hit here: https://ga-dev-tools.appspot.com/hit-builder/

在此处验证您的匹配:https://ga-dev-tools.appspot.com/hit-builder/