リクエストしたページは現在、お客様の言語ではご利用いただけません。ページの下部で別の言語を選択できます。または、どのウェブページでも、Google Chrome の翻訳機能を使ってその場でお好みの言語に翻訳できます。

[GA4] Collect user-provided data (Tag Manager)

These instructions are for administrators and editors who have activated user-provided data collection and want to start sending user-provided data from a website using Google Tag Manager.

Before you begin

You must turn on user-provided data collection in Google Analytics.

Choose how to set up data collection

Choose how you want to set up user-provided data collection in Tag Manager:

Option Description
Automatic collection Google Analytics inspects your web pages for strings that match the pattern for an email address. Phone numbers and addresses are excluded from the option. We recommend supplementing the option with the following options. Learn more about this option
Manual configuration

Select the types of user-provided data you want to collect, such as email addresses or phone numbers. For each type of data, select how you want to identify the data on the page — either a CSS selector or global JavaScript variable. Learn more about this option

This method is more precise than automatically detecting user-provided data, but not as reliable as adding a code snippet to your website. If you frequently change your website code, in particular the formatting or CSS selectors on the collection page, you may want to consider adding a code snippet to your website.

Code Add JavaScript code to your web pages to collect email addresses, phone numbers, and/or names and addresses. Then, set the user_data parameter for each event on the page. Learn more about this option

この情報は役に立ちましたか?

改善できる点がありましたらお聞かせください。
Search
Clear search
Close search
Main menu
6091081575547748438
true
ヘルプセンターを検索
true
true
true
true
true
69256
false
false