Skip to content

Commit

Permalink
Set gaGtag to true in website siteConfig.js (pytorch#1873)
Browse files Browse the repository at this point in the history
Summary:
With Google Analytics 4 we need to use Google Tag Manager, so this should be required now.

Pull Request resolved: pytorch#1873

Reviewed By: saitcakmak

Differential Revision: D46536115

Pulled By: Balandat

fbshipit-source-id: 48620ec42675fa8f6d6c2c27059e751b148ccb71
  • Loading branch information
Balandat authored and facebook-github-bot committed Jun 7, 2023
1 parent 667b2eb commit 7c0cdf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ const siteConfig = {
// Google analytics
gaTrackingId: 'G-CXN3PGE3CC',

// Use global site tags (gtag.js) to be compatible with Google Analytics 4
gaGtag: true,

// links that will be used in the header navigation bar
headerLinks: [
{doc: 'introduction', label: 'Docs'},
Expand Down

0 comments on commit 7c0cdf6

Please sign in to comment.