> ## Documentation Index
> Fetch the complete documentation index at: https://support.i.moneyforward.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Tag Manager

> Google Tag Managerとの連携方法です。

## サポートする機能

<Badge color="blue">アカウント削除</Badge> <Badge color="blue">アカウント作成</Badge>

## 事前準備

<Info>
  連携にはワークスペース（アカウント）のご利用が必要です。ワークスペースがない場合、OAuthエラーとなり連携に失敗します。
</Info>

## インテグレーションのセットアップ

Google Tag Managerのインテグレーション画面にて、**Google Tag Manager**で検索し、**Sign in with Google**をクリックします。

<img src="https://mintcdn.com/moneyforwardi/AFMlQ41Uc_D7oAe6/images/integrations/8xculxcikw/image-1648531447725.png?fit=max&auto=format&n=AFMlQ41Uc_D7oAe6&q=85&s=6ba0dd2008201c788ca6e514a87d2fa1" alt="Google Tag Manager連携検索画面" width="1126" height="398" data-path="images/integrations/8xculxcikw/image-1648531447725.png" />

Googleログイン画面に移動するので、ログインします。

<img src="https://mintcdn.com/moneyforwardi/AFMlQ41Uc_D7oAe6/images/integrations/8xculxcikw/image-1657786062946.png?fit=max&auto=format&n=AFMlQ41Uc_D7oAe6&q=85&s=c7328357a4935ba770fd56066340216b" alt="Googleログイン画面" width="627" height="682" data-path="images/integrations/8xculxcikw/image-1657786062946.png" />

Googleアカウントのアクセスリクエスト画面に移動します。内容を確認して**許可**をクリックします。

<img src="https://mintcdn.com/moneyforwardi/AFMlQ41Uc_D7oAe6/images/integrations/8xculxcikw/clean-shot-2021-07-29-at-13-25-07.png?fit=max&auto=format&n=AFMlQ41Uc_D7oAe6&q=85&s=97c943133daf0c02e5e1b173342255b3" alt="Google権限許可画面" width="357" height="835" data-path="images/integrations/8xculxcikw/clean-shot-2021-07-29-at-13-25-07.png" />

Google Tag Managerとの連携に成功すると、アカウント一覧に登録済みのユーザー情報が表示されます。

正常に完了しない場合は、インテグレーション画面のステータスタブから**編集**し、再度連携をお試しください。

解決しない場合はチャットにてお問い合わせください。
