hugo/docs/content/en/methods/site/GoogleAnalytics.md
2025-02-13 10:40:34 +01:00

469 B

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

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

{{% /deprecated-in %}}