# Build error on v0.125.2 Calling internal template "\_internal/google\_analytics\_async.html"

**URL:** https://discourse.gohugo.io/t/build-error-on-v0-125-2-calling-internal-template-internal-google-analytics-async-html/49410
**Category:** support
**Created:** [April 21, 2024, 3:09pm UTC](https://discourse.gohugo.io/t/build-error-on-v0-125-2-calling-internal-template-internal-google-analytics-async-html/49410 "2024-04-21T15:09:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vichudson1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/vichudson1/32/9750_2.png) [@vichudson1](https://discourse.gohugo.io/u/vichudson1)
#### Post date: [April 21, 2024, 3:09pm UTC](https://discourse.gohugo.io/t/build-error-on-v0-125-2-calling-internal-template-internal-google-analytics-async-html/49410/1 "2024-04-21T15:09:00Z")

</div>

Upgraded to the latest version of hugo, 0.125.2, and now several of my sites are failing to build with errors that end in the following…

`no such template "_internal/google_analytics_async.html"`

Was this deprecated?

Any help is appreciated. Thanks!

---

<div class="post-metadata">

### Author: ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)
#### Post date: [April 21, 2024, 3:13pm UTC](https://discourse.gohugo.io/t/build-error-on-v0-125-2-calling-internal-template-internal-google-analytics-async-html/49410/2 "2024-04-21T15:13:06Z")

</div>

Yes, this was deprecated. We’ve been emitting a deprecation notice for a while…

Which theme?

Use this instead:

```plaintext
{{ template "_internal/google_analytics.html" . }}

```

---

<div class="post-metadata">

### Author: ![vichudson1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/vichudson1/32/9750_2.png) [@vichudson1](https://discourse.gohugo.io/u/vichudson1)
#### Post date: [April 21, 2024, 4:08pm UTC](https://discourse.gohugo.io/t/build-error-on-v0-125-2-calling-internal-template-internal-google-analytics-async-html/49410/3 "2024-04-21T16:08:54Z")

</div>

That fixed it. Thanks.

It was several themes. I needed to pull their changes and update a few of mine. The server updates hugo automatically and I haven’t done a manual build or server preview in a while to see the warnings. My mistake.

Thanks again.

---

<div class="post-metadata">

### Author: ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)
#### Post date: [April 23, 2024, 4:09pm UTC](https://discourse.gohugo.io/t/build-error-on-v0-125-2-calling-internal-template-internal-google-analytics-async-html/49410/4 "2024-04-23T16:09:27Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
