Okay, let's have a quick look at the triggers and the tags that you created.
So the triggers, the new triggers are openScreen,
which fires when the event equals openScreen and Daily Special Screen,
which fires when the screen name equals Show Daily Special.
So those were the triggers and then the tag that you created.
We'll see, was a tag to send the Daily Special Screen Hit to Analytics.
You created a variable for the Analytics account ID.
The track type must be App View, App View.
And you must set the screenName field, must be spelled exactly this way,
to the value of the screen name that gets set in the code,
which in our case is Show Daily Special.
We only want it to fire when screen name equals, Show Daily Special,
and when the event was open screen.
In the process of doing that you have created the variable My Tracking ID,
which is a constant who's value is your analytics account id.
And if you did all that,
you should see your hits coming into analytics when you run your app.
فلنلق نظرة سريعة على المشغلات والعلامات التي أنشأتها.
بالنسبة للمشغلات الجديدة نجد أنها openScreen
والتي تشغّل الحدث openScreen وDaily Special Screen
والتي تشغل شاشة باسم Show Daily Special.
هذه هي المشغلات والعلامات التي أنشأتها.
سنرى، ما إذا كانت العلامة سترسل Daily Special Screen Hit إلى Analytics.
أنشأت متغيرًا لحساب Analytics.
يجب أن يكون نوع التعقب App View, App View.
ويجب تعيين حقل screenName؛ ويجب كتابته على هذا النحو تمامًا.
حسب قيمة اسم الشاشة التي يتم تعيينها في التعليمة البرمجية،
وفي حالتنا Show Daily Special.
نرغب في تشغيلها فقط حينما يكون اسم الشاشة Show Daily Special.
وحينما يكون الحدث open screen.
في أثناء فعل ذلك تكون أنشأت معرّف My Tracking ID للمتغير،
وهو ثابت قيمته تساوي معرّف حساب analytics.
وبعد الانتهاء من ذلك كله،
سترى نتائجك تظهر في analytics عند تشغيل تطبيقك.
Ok, vamos olhar rapidamente para os acionadores
e tags que você criou.
Os acionadores, os novos acionadores, são openScreen,
que são acionados quando o evento é igual a openScreen e DailySpecialScreen,
que são acionados quando o nome da tela é igual a ShowDailySpecial.
Então, esses eram os acionadores e, depois, a tag que você criou.
Vejamos, foi uma tag para enviar a ocorrência Daily Special Screen ao Analytics.
Você criou uma variável para o ID da conta do Analytics.
O tipo de rastreamento deve ser App View, App View.
E você deve definir o campo screenName, deve ser escrito exatamente dessa forma,
para o valor do nome de tela que é definido no código,
que no nosso caso é Show Daily Special.
Quero que dispare quando o nome da tela for igual a Show Daily Special
e quando o evento for openScreen.
Ao fazer isso, você criou a variável My Tracking ID,
que é uma constante
cujo valor é seu ID da conta do Analytics.
Se você fez tudo isso,
deverá ver as suas ocorrências aparecendo no Analytics quando executar o aplicativo.
好 我们快速看一下你创建的触发器与标记
先看触发器 新触发器包括 openScreen
它会在事件为 openScreen 时触发 还包括 Daily Special Screen
它会在页面名称为 Show Daily Special 时触发
这是触发器 然后我们看下你创建的标记
我们可以看到 这个标记可以将每日特色菜画面点击发送到 Analytics
你已经为 Analytics 帐户ID 创建了变量
Track Type 必须是 App View App View
必须设置 screenName 字段 其拼写必须与代码中
设置的页面名称值完全相同
在这个示例中 该值是 Show Daily Special
我们只希望它在页面名称为 Show Daily Special
以及事件为 openScreen 时触发
在执行该操作的过程中 你已经创建变量 My Tracking ID
这是常量 值为你的 Analytics 帐户 ID
完成全部操作后
运行应用 应该能看到点击显示在 Analytics 中