درحال‌حاضر صفحه درخواستی به زبان شما دردسترس نیست. می‌توانید زبان دیگری را در انتهای صفحه انتخاب کنید یا بااستفاده از ویژگی ترجمه داخلی Google Chrome هر صفحه وبی را فوراً به زبان انتخابی‌تان ترجمه کنید.

[GA4] Measurement Protocol

A standard set of rules for collecting and sending events directly to Google Analytics servers.

Measurement Protocol lets you send data to Analytics from internet-connected devices like a kiosk or point-of-sale system that complement your website or app. Measurement Protocol is a different method of sending data than gtag, Google Tag Manager, and the Firebase SDKs. While implementing these methods automatically sends events to Analytics, with Measurement Protocol you have to manually program events. In addition to sending new events, Measurement Protocol also lets you add information to events you've previously collected via gtag, Google Tag Manager, and the Firebase SDKs.

When session-based Measurement Protocol events are reported as "(not set) / (not set)," send the session_id parameter with a valid value from the client-side event. This connects Measurement Protocol data with previous session attribution data collected by Google Analytics tags (gtag, GTM, Firebase SDK).

Related resources

Learn more about generating API secrets for Measurement Protocol.

Read about the Measurement Protocol on Google Developers.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
14409951454468406349
true
Search Help Center
true
true
true
true
true
69256
true
false