# トラッキング

**URL:** <https://community.hubspot.com/t/topic/73150>\
**Category:** Tips, Tricks & Best Practices\
**Created:** [January 18, 2023, 7:36am UTC](https://community.hubspot.com/t/topic/73150 "2023-01-18T07:36:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![emis](https://avatars.discourse-cdn.com/v4/letter/e/977dab/32.png) [@emis](https://community.hubspot.com/u/emis)\
**Post date:** [January 18, 2023, 7:36am UTC](https://community.hubspot.com/t/topic/73150/1 "2023-01-18T07:36:50Z")

</div>

運用支援をしているお客様からのご相談です。

HubSpotのトラッキングコードを、ワードプレスで作成しているwebサイトに埋め込み、GTM等を使って、流入やページ遷移を、HubSpot上で追えたりできませんでしょうか？

新たにドメインを立ち上げるより、現状のwebサイトのドメインを主にしたいのです。

不足情報があれば、ご質問いただければと思います。よろしくお願いします。

---

<div class="post-metadata">

**Author:** ![natsumimori](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/natsumimori/32/39807_2.png) [@natsumimori](https://community.hubspot.com/u/natsumimori)\
**Post date:** [January 18, 2023, 8:57am UTC](https://community.hubspot.com/t/topic/73150/2 "2023-01-18T08:57:11Z")

</div>

@emis さん、コミュニティーへの投稿ありがとうございます。

@assi @KMurota \> こちらのご相談についてアドバイスいただけることがあればぜひお願いします！

---

<div class="post-metadata">

**Author:** ![assi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/assi/32/25699_2.png) [@assi](https://community.hubspot.com/u/assi)\
**Post date:** [January 19, 2023, 2:07am UTC](https://community.hubspot.com/t/topic/73150/3 "2023-01-19T02:07:36Z")

</div>

@emis

GTM経由でのトラッキングコードの挿入でも可能ですし、WordPressプラグインを用いての挿入でも可能ですね！

[https://knowledge.hubspot.com/ja/reports/install-the-hubspot-tracking-code](https://knowledge.hubspot.com/ja/reports/install-the-hubspot-tracking-code)

[https://knowledge.hubspot.com/ja/integrations/install-the-hubspot-wordpress-plugin](https://knowledge.hubspot.com/ja/integrations/install-the-hubspot-wordpress-plugin)

ただしHubSpotのトラッキングはHubSpot上にコンタクトが存在し、かつコンタクトとブラウザのCookieが紐付いてる必要があります。条件や仕組みについては下記にまとめていますので、よろしければご覧ください。

[https://hubspot.pensees.co.jp/crm/tracking](https://hubspot.pensees.co.jp/crm/tracking)

---

<div class="post-metadata">

**Author:** ![emis](https://avatars.discourse-cdn.com/v4/letter/e/977dab/32.png) [@emis](https://community.hubspot.com/u/emis)\
**Post date:** [January 20, 2023, 12:19am UTC](https://community.hubspot.com/t/topic/73150/4 "2023-01-20T00:19:08Z")

</div>

ありがとうございます！

追加でお伺いしたい事があればご連絡させてください。
