1
0
Fork 0
hugo/docs/content/en/methods/site/GoogleAnalytics.md

484 B

title description categories keywords params expiryDate
GoogleAnalytics Returns the Google Analytics tracking ID as defined in the site configuration.
functions_and_methods
returnType signatures
string
SITE.GoogleAnalytics
2025-10-30

{{< deprecated-in 0.120.0 >}} Use Site.Config.Services.GoogleAnalytics.ID instead.

{{< /deprecated-in >}}