Pākuʻi AMP me Google Analytics

Hoʻokomo ka mea hoʻololi HTML-i-AMPHTML a me nā plugina AMPHTML i ka wae ʻana i nā code huli Google Analytics i ka ʻaoʻao Google AMP. ʻOiai ke kākoʻo ʻana i nā moʻohelu he nui i kākoʻo ʻia!


Hoʻolaha

Hoʻokomo <amp-analytic> tag


extension

Kuhi aunoa ka Generator Mobile Halaman Generator inā paha ua hoʻonohonoho ʻia kahi code huli ʻo Google Analytics ma kāu pūnaewele ponoʻī a heluhelu i ka ID huli ʻo Google Analytics e pili ana, ʻo ia ka helu UA .

Hoʻomaopopo pū ka mea hana AMPHTML i ka hiki ke hoʻohana ʻia i kekahi mau helu UA , e like me ka mea i hoʻohana ʻia ma ka 'Multiple Account Tracking' . Hoʻololi ka AMP-Online-Generator a pau i nā helu Google Analytics UA i kahi hōʻailona 'amp-analytics' a pēlā nō hoʻi e hoʻoulu ai i ka huli ʻo Google Analytics ma ka ʻaoʻao AMP.

Me kēia ʻano o ka hoʻopili ʻana o Google Analytics, ʻike ʻia nā ʻikepili huli ʻikepili āpau no ka ʻaoʻao AMP i kāu moʻokāki ponoʻī (!) Google Analytics , no laila e hoʻomau i ka loaʻa ʻana o nā ʻikepili ukali AMP i ʻohiʻohi ʻia ma kahi maʻamau.

Kākoʻo ka mea hana pūnaewele ʻo AMP i nā mana Google Analytics hou aʻe:

  • Google Analytics 360 ° (analytics.js)
  • Universal Analytics (analytics.js)
  • ʻO Google Analytics (ga.js)
  • Kāleka Urchin (urchin.js)

ʻO Google Analytics IP anonymization 'anonymizeip'


info

I kekahi mau ʻāina (e laʻa me Kelemania) pono e hoʻokō i kahi kūlana ʻē aʻe i hiki ai iā ia ke hoʻohana i Google Analytics i ka mālama ʻana i nā lula palekana o ka ʻikepili: Ka hoʻohana ʻana o IP inoa inoa ʻole. No kēia kumu, kākoʻo maʻalahi ka Generator Mobile Pages Generator i ka hana Google Analytics 'anonymizeip' a hoʻonohonoho i ka octet hope loa o kahi IPv4 a i ʻole nā 80 ʻāpana hope loa o kahi helu IPv6 i ka ʻole ma mua o ka mālama ʻana i ka ʻikepili hoʻohana. ʻO ka manaʻo o kēia ʻaʻole i kākau ʻia kahi IP IP piha i ka pā paʻaloko o ka pūnaewele Google Analytics!

ʻAʻole hoʻokō ʻia ka Google Analytics IP anonymization e ka mea hoʻopuka ʻo Accelerated Mobile Pages, akā he hoʻonohonoho maʻamau ia o ka 'amp-analytics' tag mai ka palapala AMPHTML kūhelu .

Hoʻouna pinepine ʻia ka ʻikepili ma ka tag 'amp-analytics' me ka inoa ʻole.

Ka ʻikepili palekana ʻikepili Google Analytics no nā pūnaewele AMP


info

I mea e hoʻohana pono ʻia ai ka huli ʻo Google Analytics i ka mālama ʻana i nā lula palekana o ka ʻikepili, pono ia i kahi palapala kikoʻī i loko o ka hoʻolaha palekana ʻikepili o kāu pūnaewele!

Ma nā ʻaoʻao AMP i hana ʻia i kiʻi ʻia ma o amp-cloud.de, i ka pau ʻana o kēlā me kēia ʻaoʻao AMP, kuhikuhi ʻia i nā hoʻolaha palekana ʻikepili o amp-cloud.de, i loaʻa nā ʻike palekana palekana no ka huli ʻana ma Google Analytics. .
Eia nō naʻe, inā ʻoe e hoʻohana i kekahi o nā plugins AMP amp-cloud, pono ʻoe e hoʻopili i kahi memo ma ka huli ʻana ʻo Google Analytics i ke kulekele pilikino o kāu pūnaewele!

ʻAʻohe kuleana o amp-cloud.de no kekahi hana hewa. Pono ʻoe e nānā a hōʻoia iā ʻoe iho inā ua hoʻonohonoho ʻia kāu moʻokāki Google Analytics a me nā ʻaoʻao AMP i kahi ʻano kū kānāwai. (Huaʻōlelo: ʻAelike Google Analytics no ka hana ʻikepili hoʻonohonoho e like me § 11 BDSG ).


Hoʻolaha