# Referrer is empty

**URL:** <https://community.hubspot.com/t/referrer-is-empty/17913>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, events\
**Created:** [January 6, 2020, 1:02pm UTC](https://community.hubspot.com/t/referrer-is-empty/17913 "2020-01-06T13:02:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdvoulety](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdvoulety/32/64675_2.png) [@tdvoulety](https://community.hubspot.com/u/tdvoulety)\
**Post date:** [January 6, 2020, 1:02pm UTC](https://community.hubspot.com/t/referrer-is-empty/17913/1 "2020-01-06T13:02:20Z")

</div>

Hello,

we implemented HubSpot according to this tutorial.

> **[How to install the HubSpot tracking code using Google Tag Manager - Install the...](https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code#how-to-install-the-tracking-code-using-google-tag-manager)**
>
> Last updated: July 6, 2026 | If you're not hosting your entire website with HubSpot, learn how to install the tracking code on your website following the instructions specific to your website host.

We are sending page view and events from Google Tag Manager.

Hubspot recieves the triggered event, but the `Referrer` field is empty.

We have no idea why maybe you can help us?

Best regards,

Tomas Dvoulety

 ![Screenshot 2020-01-06 at 12.20.36.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/5/d5d0d5d2a6252089ecdd3e1e950174da7d9dc14c.png)

 ![Image Pasted at 2020-1-6 11-57.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/a/aa6cde60eb487e7147d6bbe59ee8bf41a85f0010.jpeg)

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [January 6, 2020, 7:22pm UTC](https://community.hubspot.com/t/referrer-is-empty/17913/2 "2020-01-06T19:22:50Z")

</div>

Welcome, @tdvoulety.

Looking at that event’s logs in your account, I now see referrer data populating:

 ![Referral Data.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/2/120b0f3f441785d51a1cd678074a3e36e480f2f7.jpeg)

Did you get this working?

---

<div class="post-metadata">

**Author:** ![tomasdvoulety](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomasdvoulety/32/43030_2.png) [@tomasdvoulety](https://community.hubspot.com/u/tomasdvoulety)\
**Post date:** [January 10, 2020, 11:11am UTC](https://community.hubspot.com/t/referrer-is-empty/17913/3 "2020-01-10T11:11:58Z")

</div>

Hello Isaac,

thanks for your reply. 🙂 But I still don’t see Referrer for Direct Traffic source.

Best Regards

Tomas Dvoulety

 ![Screenshot 2020-01-10 at 12.09.07.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/8/f8507605686f45464686e39f9ff93131dd9ddc44.jpeg)

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [January 10, 2020, 12:14pm UTC](https://community.hubspot.com/t/referrer-is-empty/17913/4 "2020-01-10T12:14:47Z")

</div>

Hi, @tomasdvoulety.

Thanks for clarifying.

In the case of “Direct Traffic,” I would expect the referrer to be empty, since [HubSpot defines “Direct Traffic”](https://knowledge.hubspot.com/reports/understand-hubspots-traffic-sources-in-the-traffic-analytics-tool) sources as:

“Traffic bucketed under _Direct traffic_ do not have an indication of their source. Typically, these are people who typed the URL directly in their browser, or removed all query parameters before entering a site. To view the entrance URLs for these visitors, click the **Direct traffic source**.”

See this related article as well: [More direct traffic in sources report than expected](https://knowledge.hubspot.com/reports/why-do-i-have-more-direct-traffic-than-expected)
