Snippet injection not working (with WeGlot and Fathom Analytics)

I’m struggling with injecting the code snippet for WeGlot, the translation plugin on our website - somehow its code is not being injected into the head successfully by Netlify, nor via the _document.js file.

  • That is urgent because we published a job ad in English for English natives but our website is not translated to English right now, not even the language switcher button from WeGlot is appearing.
  • Despite being added correctly in Netlify snippet injections, the snippet does not end up in the head tags…
    We tried a fix yesterday that worked locally and in Stackbit (the static site builder we use) interface, but fails building on Netlify. For some reason, we can’t get the _document.js method to work, even if that’s what’s usually recommended by next.js (see this page) so we added the code to the page base template instead. I would like to know why Netlify injection does not work and fix this urgently, maybe somebody can help?

Site name: https://futuremattersproject2022-ca0da.netlify.app

Full build log below and build settings screenshot here:

Build log:

2:33:22 AM: Waiting for other deploys from your team to complete. Check the queue: https://app.netlify.com/teams/hello-bfvs240/builds
2:36:30 AM: Build ready to start
2:36:36 AM: build-image version: 122b31996ccaffd45d820a452d6227f8312110cc (focal)
2:36:36 AM: build-image tag: v4.5.3
2:36:36 AM: buildbot version: c68dbedb54f97d2ade6b8aa44f524f50c2bf9351
2:36:37 AM: Fetching cached dependencies
2:36:37 AM: Starting to download cache of 347.0MB
2:36:45 AM: Finished downloading cache in 8.262593737s
2:36:45 AM: Starting to extract cache
2:36:54 AM: Finished extracting cache in 8.585461316s
2:36:54 AM: Finished fetching cache in 16.897489077s
2:36:54 AM: Starting to prepare the repo for build
2:36:54 AM: Preparing Git Reference refs/heads/master
2:36:55 AM: Parsing package.json dependencies
2:36:56 AM: Starting build script
2:36:56 AM: Installing dependencies
2:36:56 AM: Python version set to 2.7
2:36:56 AM: Started restoring cached node version
2:36:57 AM: Finished restoring cached node version
2:36:57 AM: Attempting node version 'v14' from .nvmrc
2:36:58 AM: v14.19.0 is already installed.
2:36:58 AM: Now using node v14.19.0 (npm v6.14.16)
2:36:58 AM: Started restoring cached build plugins
2:36:58 AM: Finished restoring cached build plugins
2:36:58 AM: Attempting ruby version 2.7.2, read from environment
2:36:59 AM: Using ruby version 2.7.2
2:37:00 AM: Using PHP version 8.0
2:37:00 AM: Started restoring cached node modules
2:37:00 AM: Finished restoring cached node modules
2:37:00 AM: Started restoring cached go cache
2:37:00 AM: Finished restoring cached go cache
2:37:00 AM: go version go1.16.5 linux/amd64
2:37:00 AM: go version go1.16.5 linux/amd64
2:37:00 AM: Installing missing commands
2:37:00 AM: Verify run directory
2:37:01 AM: ​
2:37:01 AM: ────────────────────────────────────────────────────────────────
2:37:01 AM:   Netlify Build                                                 
2:37:01 AM: ────────────────────────────────────────────────────────────────
2:37:01 AM: ​
2:37:01 AM: ❯ Version
2:37:01 AM:   @netlify/build 26.3.14
2:37:01 AM: ​
2:37:01 AM: ❯ Flags
2:37:01 AM:   baseRelDir: true
2:37:01 AM:   buildId: 6222bde2aaf223000864f4e5
2:37:01 AM:   deployId: 6222bde2aaf223000864f4e7
2:37:01 AM: ​
2:37:01 AM: ❯ Current directory
2:37:01 AM:   /opt/build/repo
2:37:01 AM: ​
2:37:01 AM: ❯ Config file
2:37:01 AM:   /opt/build/repo/netlify.toml
2:37:01 AM: ​
2:37:01 AM: ❯ Context
2:37:01 AM:   production
2:37:02 AM: ​
2:37:02 AM: ❯ Loading plugins
2:37:02 AM:    - netlify-plugin-subfont@6.0.0 from Netlify app
2:37:02 AM:    - netlify-plugin-minify-html@0.3.1 from Netlify app
2:37:02 AM:    - netlify-plugin-checklinks@4.1.1 from Netlify app
2:37:02 AM:    - netlify-plugin-image-optim@0.4.0 from Netlify app
2:37:02 AM:    - netlify-plugin-inline-critical-css@2.0.0 from Netlify app
2:37:02 AM:    - netlify-plugin-submit-sitemap@0.2.3 from Netlify app
2:37:10 AM: ​
2:37:10 AM: ────────────────────────────────────────────────────────────────
2:37:10 AM:   1. build.command from netlify.toml                            
2:37:10 AM: ────────────────────────────────────────────────────────────────
2:37:10 AM: ​
2:37:10 AM: $ npm run build
2:37:10 AM: > starter-nextjs-theme@0.1.0 build /opt/build/repo
2:37:10 AM: > next build && next export
2:37:12 AM: info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
2:37:13 AM: [sourcebit-source-filesystem] loading stackbit.yaml and models...
2:37:13 AM: warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
2:37:13 AM: Browserslist: caniuse-lite is outdated. Please run:
2:37:13 AM: npx browserslist@latest --update-db
2:37:13 AM: Why you should do it regularly:
2:37:13 AM: https://github.com/browserslist/browserslist#browsers-data-updating
2:37:13 AM: info  - Checking validity of types...
2:37:18 AM: info  - Creating an optimized production build...
2:37:18 AM: Browserslist: caniuse-lite is outdated. Please run:
2:37:18 AM: npx browserslist@latest --update-db
2:37:18 AM: Why you should do it regularly:
2:37:18 AM: https://github.com/browserslist/browserslist#browsers-data-updating
2:37:23 AM: warn - You have enabled the JIT engine which is currently in preview.
2:37:23 AM: warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
2:37:28 AM: [sourcebit-source-filesystem] loaded stackbit.yaml, found 43 models
2:37:28 AM: [sourcebit-source-filesystem] loading content files...
2:37:28 AM: [sourcebit-source-filesystem] loaded 24 files
2:37:29 AM: [sourcebit-source-filesystem] matching files to models...
2:37:29 AM: [sourcebit-source-filesystem] 24 of 24 files were matched to models
2:37:43 AM: info  - Compiled successfully
2:37:43 AM: info  - Collecting page data...
2:37:44 AM: info  - Generating static pages (0/12)
2:37:46 AM: The 'content/pages/blog/post-four.md' referenced in file 'content/pages/lagerplatz.md' in field 'sections.6.posts.0' was not found
2:37:46 AM: The 'content/pages/blog/post-three.md' referenced in file 'content/pages/lagerplatz.md' in field 'sections.6.posts.1' was not found
2:37:46 AM: info  - Generating static pages (3/12)
2:37:46 AM: info  - Generating static pages (6/12)
2:37:46 AM: info  - Generating static pages (9/12)
2:37:46 AM: info  - Generating static pages (12/12)
2:37:46 AM: info  - Finalizing page optimization...
2:37:46 AM: Page                                      Size     First Load JS
2:37:46 AM: β”Œ   /_app                                 0 B            68.4 kB
2:37:46 AM: β”œ ● /[[...slug]] (9440 ms)                26 kB          94.4 kB
2:37:46 AM: β”œ   β”œ /datenschutz (1491 ms)
2:37:46 AM: β”œ   β”œ /blog (1323 ms)
2:37:46 AM: β”œ   β”œ /blog/einstiegsliteratur (1291 ms)
2:37:46 AM: β”œ   β”œ /blog/rueckblick-2021 (1248 ms)
2:37:46 AM: β”œ   β”œ / (1199 ms)
2:37:46 AM: β”œ   β”œ /bewerben (1178 ms)
2:37:46 AM: β”œ   β”œ /faq (1090 ms)
2:37:46 AM: β”œ   β”” [+3 more paths]
2:37:46 AM: β”” β—‹ /404                                  194 B          68.6 kB
2:37:46 AM: + First Load JS shared by all             68.4 kB
2:37:46 AM:   β”œ chunks/framework.717d42.js            42.2 kB
2:37:46 AM:   β”œ chunks/main.234717.js                 23.6 kB
2:37:46 AM:   β”œ chunks/pages/_app.8f76b3.js           589 B
2:37:46 AM:   β”œ chunks/webpack.e97c62.js              1.99 kB
2:37:46 AM:   β”” css/eae5743ab0a9a6044c95.css          6.61 kB
2:37:46 AM: Ξ»  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
2:37:46 AM: β—‹  (Static)  automatically rendered as static HTML (uses no initial props)
2:37:46 AM: ●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
2:37:46 AM:    (ISR)     incremental static regeneration (uses revalidate in getStaticProps)
2:37:47 AM: info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
2:37:48 AM: [sourcebit-source-filesystem] loading stackbit.yaml and models...
2:37:48 AM: Browserslist: caniuse-lite is outdated. Please run:
2:37:48 AM: npx browserslist@latest --update-db
2:37:48 AM: Why you should do it regularly:
2:37:48 AM: https://github.com/browserslist/browserslist#browsers-data-updating
2:37:48 AM: info  - using build directory: /opt/build/repo/.next
2:37:48 AM: info  - Copying "static build" directory
2:37:48 AM: info  - No "exportPathMap" found in "next.config.js". Generating map from "./pages"
2:37:48 AM: info  - Launching 7 workers
2:37:48 AM: info  - Exporting (0/1)
2:37:48 AM: info  - Copying "public" directory
2:37:49 AM: info  - Exporting (1/1)
2:37:49 AM: [sourcebit-source-filesystem] loaded stackbit.yaml, found 43 models
2:37:49 AM: [sourcebit-source-filesystem] loading content files...
2:37:49 AM: [sourcebit-source-filesystem] loaded 24 files
2:37:49 AM: [sourcebit-source-filesystem] matching files to models...
2:37:49 AM: [sourcebit-source-filesystem] 24 of 24 files were matched to models
2:37:49 AM: Export successful. Files written to /opt/build/repo/out
2:37:49 AM: ​
2:37:49 AM: (build.command completed in 39.4s)
2:37:49 AM: ​
2:37:49 AM: ────────────────────────────────────────────────────────────────
2:37:49 AM:   2. Functions bundling                                         
2:37:49 AM: ────────────────────────────────────────────────────────────────
2:37:49 AM: ​
2:37:49 AM: Packaging Functions from .netlify/functions directory:
2:37:49 AM:  - submission_created.js
2:37:49 AM: ​
2:37:50 AM: ​
2:37:50 AM: (Functions bundling completed in 684ms)
2:37:50 AM: ​
2:37:50 AM: ────────────────────────────────────────────────────────────────
2:37:50 AM:   3. netlify-plugin-subfont (onPostBuild event)                 
2:37:50 AM: ────────────────────────────────────────────────────────────────
2:37:50 AM: ​
2:37:50 AM: Running subfont version 6.4.1
2:37:50 AM:  βœ” 0.001 secs: logEvents
2:37:50 AM:  βœ” 0.485 secs: loadAssets
2:37:53 AM:  βœ” 2.300 secs: populate
2:37:53 AM:  βœ” 0.018 secs: checkIncompatibleTypes
2:37:53 AM:  βœ” 0.012 secs: applySourceMaps
2:37:53 AM:  βœ” 0.016 secs: populate
2:38:42 AM:  βœ” 0.015 secs: populate
2:38:44 AM:  β„Ή INFO: Missing glyph fallback detected.
2:38:44 AM:          When your primary webfont doesn't contain the glyphs you use, browsers that don't support unicode-range will load your fallback fonts, which will be a potential waste of bandwidth.
2:38:44 AM:          These glyphs are used on your site, but they don't exist in the font you applied to them:
         - \u{2764} (❀) in font-family 'Open Sans' (400/normal) at out/index.html:2:1970
2:38:44 AM:          - \u{fe0f} (️) in font-family 'Open Sans' (400/normal) at out/index.html:2:1971
2:38:45 AM:  βœ” 0.011 secs: serializeSourceMaps
2:38:46 AM:  βœ” 0.151 secs: writeAssetsToDisc
2:38:46 AM: out/index.html: 2 fonts (2 variants) in use, 175 kB total. Created subsets: 16.5 kB total
2:38:46 AM:   Open Sans:
2:38:46 AM:     400 : 95/1011 codepoints used (76 on this page), 122 kB (ttf) => 11.4 kB (woff2)
2:38:46 AM:   Public Sans:
2:38:46 AM:     700 : 64/ 565 codepoints used (47 on this page), 53 kB (ttf) => 5.06 kB (woff2)
2:38:46 AM: out/ueber-uns/index.html: 2 fonts (2 variants) in use, 175 kB total. Created subsets: 16.5 kB total
2:38:46 AM:   Open Sans:
2:38:46 AM:     400 : 95/1011 codepoints used (70 on this page), 122 kB (ttf) => 11.4 kB (woff2)
2:38:46 AM:   Public Sans:
2:38:46 AM:     700 : 64/ 565 codepoints used (38 on this page), 53 kB (ttf) => 5.06 kB (woff2)
2:38:46 AM: out/bewerben/index.html: 2 fonts (2 variants) in use, 175 kB total. Created subsets: 16.5 kB total
2:38:46 AM:   Open Sans:
2:38:46 AM:     400 : 95/1011 codepoints used (61 on this page), 122 kB (ttf) => 11.4 kB (woff2)
2:38:46 AM:   Public Sans:
2:38:46 AM:     700 : 64/ 565 codepoints used (49 on this page), 53 kB (ttf) => 5.06 kB (woff2)
2:38:46 AM: out/faq/index.html: 2 fonts (2 variants) in use, 175 kB total. Created subsets: 16.5 kB total
2:38:46 AM:   Open Sans:
2:38:46 AM:     400 : 95/1011 codepoints used (69 on this page), 122 kB (ttf) => 11.4 kB (woff2)
2:38:46 AM:   Public Sans:
2:38:46 AM:     700 : 64/ 565 codepoints used (40 on this page), 53 kB (ttf) => 5.06 kB (woff2)
2:38:46 AM: out/datenschutz/index.html: 2 fonts (2 variants) in use, 175 kB total. Created subsets: 16.5 kB total
2:38:46 AM:   Open Sans:
2:38:46 AM:     400 : 95/1011 codepoints used (87 on this page), 122 kB (ttf) => 11.4 kB (woff2)
2:38:46 AM:   Public Sans:
2:38:46 AM:     700 : 64/ 565 codepoints used (50 on this page), 53 kB (ttf) => 5.06 kB (woff2)
2:38:46 AM: HTML/SVG/JS/CSS size increase: 4.94 kB
2:38:46 AM: Total savings: 788 kB
2:38:46 AM: Output written to file:///opt/build/repo/out/
2:38:46 AM: ​
2:38:46 AM: (netlify-plugin-subfont onPostBuild completed in 55.7s)
2:38:46 AM: ​
2:38:46 AM: ────────────────────────────────────────────────────────────────
2:38:46 AM:   4. netlify-plugin-minify-html (onPostBuild event)             
2:38:46 AM: ────────────────────────────────────────────────────────────────
2:38:46 AM: ​
2:38:46 AM: Minifiying HTML in the deploy context: production
2:38:46 AM: Minifiying HTML with these options: Default
2:38:46 AM: ​
2:38:46 AM: (netlify-plugin-minify-html onPostBuild completed in 443ms)
2:38:46 AM: ​
2:38:46 AM: ────────────────────────────────────────────────────────────────
2:38:46 AM:   5. netlify-plugin-checklinks (onPostBuild event)              
2:38:46 AM: ────────────────────────────────────────────────────────────────
2:38:46 AM: ​
2:38:46 AM:  ⚠  warning (DeprecationWarning)  Invalid 'main' field in '/opt/build/repo/.netlify/plugins/node_modules/tap-spot/package.json' of './bin/dot.js'. Please either fix that or report it to the module author
2:38:46 AM: [DEP0128]
2:38:46 AM:     at tryPackage (node:internal/modules/cjs/loader:364:15)
2:38:46 AM:     at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
2:38:46 AM:     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
2:38:46 AM:     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
2:38:46 AM:     at Module.require (node:internal/modules/cjs/loader:1005:19)
2:38:46 AM:     at require (node:internal/modules/cjs/helpers:102:18)
2:38:46 AM:     at Object.<anonymous> (/opt/build/repo/.netlify/plugins/node_modules/netlify-plugin-checklinks/lib/index.js:3:14)
2:38:46 AM:     at Module._compile (node:internal/modules/cjs/loader:1103:14)
2:38:46 AM:     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
2:38:46 AM:     at Module.load (node:internal/modules/cjs/loader:981:32)
2:38:46 AM:     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2:38:46 AM:     at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:168:29)
2:38:46 AM:     at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
2:38:46 AM:     at processTicksAndRejections (node:internal/process/task_queues:96:5)
2:38:46 AM:     at async Promise.all (index 0)
2:38:46 AM:     at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
2:38:46 AM:     at async importLogic (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/logic.js:29:25)
2:38:46 AM:     at async getLogic (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/logic.js:11:17)
2:38:46 AM:     at async Object.load (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/load.js:14:17)
2:38:46 AM:     at async handleEvent (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/main.js:41:38)
2:38:46 AM:     at async process.<anonymous> (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/ipc.js:112:16)
2:38:49 AM: ....................................................................
2:38:49 AM:   68 tests
2:38:49 AM:   68 passed
2:38:49 AM: ​
2:38:49 AM: (netlify-plugin-checklinks onPostBuild completed in 2.6s)
2:38:49 AM: ​
2:38:49 AM: ────────────────────────────────────────────────────────────────
2:38:49 AM:   6. netlify-plugin-image-optim (onPostBuild event)             
2:38:49 AM: ────────────────────────────────────────────────────────────────
2:38:49 AM: ​
2:39:08 AM: β”‚ File                                             β”‚ Before    β”‚ After     β”‚ Reduction β”‚
2:39:08 AM: β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
2:39:08 AM: β”‚ /favicon.svg                                     β”‚ 1.22 KB   β”‚ 742 B     β”‚ 505 B     β”‚
2:39:08 AM: β”‚ /starter-nextjs-theme-capture.png                β”‚ 82.92 KB  β”‚ 82.92 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /starter-nextjs-theme-screenshot-2x.jpg          β”‚ 64.81 KB  β”‚ 64.81 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /starter-nextjs-theme-screenshot-2x.png          β”‚ 67.37 KB  β”‚ 67.37 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /starter-nextjs-theme-screenshot.jpg             β”‚ 23.12 KB  β”‚ 23.12 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /starter-nextjs-theme-screenshot.png             β”‚ 24.6 KB   β”‚ 24.6 KB   β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/144-Civil-Protest(1).png                 β”‚ 102.52 KB β”‚ 37.59 KB  β”‚ 64.93 KB  β”‚
2:39:08 AM: β”‚ /images/144-Civil-Protest.png                    β”‚ 192.68 KB β”‚ 76.16 KB  β”‚ 116.52 KB β”‚
2:39:08 AM: β”‚ /images/20211005_105200.jpg                      β”‚ 2.39 MB   β”‚ 2.22 MB   β”‚ 174.19 KB β”‚
2:39:08 AM: β”‚ /images/Future Matters Project(1).jpg            β”‚ 57.42 KB  β”‚ 28.3 KB   β”‚ 29.13 KB  β”‚
2:39:08 AM: β”‚ /images/Future Matters Project-9f22c2b6.jpg      β”‚ 67.27 KB  β”‚ 38.52 KB  β”‚ 28.75 KB  β”‚
2:39:08 AM: β”‚ /images/Future Matters Project.jpg               β”‚ 43.68 KB  β”‚ 20.84 KB  β”‚ 22.84 KB  β”‚
2:39:08 AM: β”‚ /images/IMG_0456_2.jpg                           β”‚ 827.81 KB β”‚ 796.48 KB β”‚ 31.34 KB  β”‚
2:39:08 AM: β”‚ /images/Justus Baumann (3)(1).jpg                β”‚ 57.6 KB   β”‚ 44.93 KB  β”‚ 12.67 KB  β”‚
2:39:08 AM: β”‚ /images/KS5qcGc.jpg                              β”‚ 8.07 KB   β”‚ 8.07 KB   β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/Kai Simmerl.png                          β”‚ 87.95 KB  β”‚ 24.66 KB  β”‚ 63.29 KB  β”‚
2:39:08 AM: β”‚ /images/MENyb3BwZWQuanBn.jpg                     β”‚ 6.9 KB    β”‚ 6.9 KB    β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/MichaelKlabunde.jpeg                     β”‚ 13.87 KB  β”‚ 13.5 KB   β”‚ 378 B     β”‚
2:39:08 AM: β”‚ /images/MichaelKlabunde.jpg                      β”‚ 97.42 KB  β”‚ 97.42 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/Rosa-9 Kopie 10.46.07(1)(1).jpg          β”‚ 224.64 KB β”‚ 224.64 KB β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/Sam Nellessen.png                        β”‚ 125.1 KB  β”‚ 32.18 KB  β”‚ 92.92 KB  β”‚
2:39:08 AM: β”‚ /images/Sina Arndt-4fc499a1.jpg                  β”‚ 1.14 MB   β”‚ 1.14 MB   β”‚ 688 B     β”‚
2:39:08 AM: β”‚ /images/Sina Arndt.jpg                           β”‚ 10.99 KB  β”‚ 10.63 KB  β”‚ 375 B     β”‚
2:39:08 AM: β”‚ /images/Webp.net-resizeimage(1).jpg              β”‚ 52.98 KB  β”‚ 42.24 KB  β”‚ 10.75 KB  β”‚
2:39:08 AM: β”‚ /images/aGFsbWFubi5qcGVn.jpg                     β”‚ 7.37 KB   β”‚ 7.37 KB   β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/apple.svg                                β”‚ 686 B     β”‚ 661 B     β”‚ 25 B      β”‚
2:39:08 AM: β”‚ /images/bg.jpg                                   β”‚ 87.95 KB  β”‚ 87.95 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/careers.jpg                              β”‚ 44.03 KB  β”‚ 44.03 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/carla.jpg                                β”‚ 30.09 KB  β”‚ 30.09 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/desmond-eagle.jpg                        β”‚ 50.22 KB  β”‚ 50.22 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/dianne-ameter.jpg                        β”‚ 22.82 KB  β”‚ 22.82 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/faster.svg                               β”‚ 216 B     β”‚ 216 B     β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/favicon-32x32.ico.png                    β”‚ 582 B     β”‚ 521 B     β”‚ 61 B      β”‚
2:39:08 AM: β”‚ /images/favicon-32x32.png                        β”‚ 582 B     β”‚ 521 B     β”‚ 61 B      β”‚
2:39:08 AM: β”‚ /images/focused.svg                              β”‚ 261 B     β”‚ 256 B     β”‚ 5 B       β”‚
2:39:08 AM: β”‚ /images/gabriel-benois-qnWPjzewewA-unsplash2.jpg β”‚ 222.24 KB β”‚ 195.66 KB β”‚ 26.58 KB  β”‚
2:39:08 AM: β”‚ /images/gatsby.svg                               β”‚ 712 B     β”‚ 391 B     β”‚ 321 B     β”‚
2:39:08 AM: β”‚ /images/google-play.svg                          β”‚ 619 B     β”‚ 353 B     β”‚ 266 B     β”‚
2:39:08 AM: β”‚ /images/grafik.png                               β”‚ 598.32 KB β”‚ 158.67 KB β”‚ 439.65 KB β”‚
2:39:08 AM: β”‚ /images/hero-1.png                               β”‚ 31.39 KB  β”‚ 31.39 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/hero-2.png                               β”‚ 27.87 KB  β”‚ 27.87 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/hero-3.jpg                               β”‚ 98.75 KB  β”‚ 92.88 KB  β”‚ 5.87 KB   β”‚
2:39:08 AM: β”‚ /images/hero-4.jpg                               β”‚ 75.9 KB   β”‚ 75.9 KB   β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/hero.png                                 β”‚ 28.66 KB  β”‚ 28.66 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/hilary-ouse.jpg                          β”‚ 32.03 KB  β”‚ 32.03 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/hugh-saturation.jpg                      β”‚ 18.55 KB  β”‚ 18.55 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/imgs-app-gycmo-wr85ZL-xjb-01856965.jpg   β”‚ 52.62 KB  β”‚ 23.4 KB   β”‚ 29.22 KB  β”‚
2:39:08 AM: β”‚ /images/imgs-app-gycmo-wr85ZL-xjb.jpg            β”‚ 20.88 KB  β”‚ 20.4 KB   β”‚ 486 B     β”‚
2:39:08 AM: β”‚ /images/logo.svg                                 β”‚ 283 B     β”‚ 269 B     β”‚ 14 B      β”‚
2:39:08 AM: β”‚ /images/markus-spiske-ZJ64TPcM14c-unsplash.jpg   β”‚ 9.45 MB   β”‚ 9.45 MB   β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/microscope-solid.svg                     β”‚ 775 B     β”‚ 740 B     β”‚ 35 B      β”‚
2:39:08 AM: β”‚ /images/playstation.svg                          β”‚ 976 B     β”‚ 826 B     β”‚ 150 B     β”‚
2:39:08 AM: β”‚ /images/post-1.jpg                               β”‚ 47.29 KB  β”‚ 47.29 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-10.jpg                              β”‚ 74.02 KB  β”‚ 74.02 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-11.jpg                              β”‚ 39.97 KB  β”‚ 39.97 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-12.jpg                              β”‚ 25.12 KB  β”‚ 25.12 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-2.jpg                               β”‚ 45.46 KB  β”‚ 45.46 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-3.jpg                               β”‚ 93.85 KB  β”‚ 93.85 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-4.jpg                               β”‚ 44.23 KB  β”‚ 44.23 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-5.jpg                               β”‚ 48.51 KB  β”‚ 48.51 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-6.jpg                               β”‚ 50.78 KB  β”‚ 50.78 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-7.jpg                               β”‚ 55.95 KB  β”‚ 55.88 KB  β”‚ 69 B      β”‚
2:39:08 AM: β”‚ /images/post-8.jpg                               β”‚ 35.26 KB  β”‚ 35.26 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/post-9.jpg                               β”‚ 46.26 KB  β”‚ 46.26 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/rsz_img_5805_2.jpg                       β”‚ 91.62 KB  β”‚ 25.3 KB   β”‚ 66.32 KB  β”‚
2:39:08 AM: β”‚ /images/rsz_justus_baumann_31-85c1cfac.jpg       β”‚ 20.41 KB  β”‚ 7.43 KB   β”‚ 12.98 KB  β”‚
2:39:08 AM: β”‚ /images/rsz_justus_baumann_31.jpg                β”‚ 20.41 KB  β”‚ 7.43 KB   β”‚ 12.98 KB  β”‚
2:39:08 AM: β”‚ /images/rsz_rosa-9_kopie_1046071.jpg             β”‚ 18.78 KB  β”‚ 9.96 KB   β”‚ 8.82 KB   β”‚
2:39:08 AM: β”‚ /images/signal-2021-04-30-165221.jpeg            β”‚ 95.79 KB  β”‚ 68.26 KB  β”‚ 27.52 KB  β”‚
2:39:08 AM: β”‚ /images/skype.svg                                β”‚ 1.27 KB   β”‚ 718 B     β”‚ 586 B     β”‚
2:39:08 AM: β”‚ /images/smarter.svg                              β”‚ 277 B     β”‚ 269 B     β”‚ 8 B       β”‚
2:39:08 AM: β”‚ /images/team_1.jpg                               β”‚ 1.7 MB    β”‚ 1.7 MB    β”‚ 636 B     β”‚
2:39:08 AM: β”‚ /images/work-book-cover-2.jpg                    β”‚ 25.08 KB  β”‚ 25.08 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/work-book-cover-3.jpg                    β”‚ 33.93 KB  β”‚ 33.93 KB  β”‚ 0 B       β”‚
2:39:08 AM: β”‚ /images/xbox.svg                                 β”‚ 1.1 KB    β”‚ 868 B     β”‚ 262 B     β”‚
2:39:08 AM: β”‚ /images/zcool.svg                                β”‚ 1.18 KB   β”‚ 897 B     β”‚ 307 B     β”‚
2:39:08 AM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
2:39:08 AM: β”‚   Images optimized - 1.25 MB saved   β”‚
2:39:08 AM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
2:39:08 AM: ​
2:39:08 AM: (netlify-plugin-image-optim onPostBuild completed in 18.9s)
2:39:08 AM: ​
2:39:08 AM: ────────────────────────────────────────────────────────────────
2:39:08 AM:   7. netlify-plugin-inline-critical-css (onPostBuild event)     
2:39:08 AM: ────────────────────────────────────────────────────────────────
2:39:08 AM: ​
2:39:20 AM: Critical CSS successfully inlined!
2:39:20 AM: ​
2:39:20 AM: (netlify-plugin-inline-critical-css onPostBuild completed in 12s)
2:39:20 AM: ​
2:39:20 AM: ────────────────────────────────────────────────────────────────
2:39:20 AM:   8. Deploy site                                                
2:39:20 AM: ────────────────────────────────────────────────────────────────
2:39:20 AM: ​
2:39:20 AM: Starting to deploy site from 'out'
2:39:20 AM: Creating deploy tree 
2:39:20 AM: Creating deploy upload records
2:39:21 AM: 11 new files to upload
2:39:21 AM: 0 new functions to upload
2:39:24 AM: Starting post processing
2:39:24 AM: Post processing - HTML
2:39:28 AM: Processing form - jobs-interest-form
2:39:28 AM: Detected form fields:
2:39:28 AM:  - form-destination
2:39:28 AM:  - first-name
2:39:28 AM:  - last-name
2:39:28 AM:  - email
2:39:30 AM: Processing form - newsletter-form
2:39:30 AM: Detected form fields:
2:39:30 AM:  - form-destination
2:39:30 AM:  - email
2:39:32 AM: Processing form - sign-up-form
2:39:32 AM: Detected form fields:
2:39:32 AM:  - form-destination
2:39:32 AM:  - email
2:39:34 AM: Post processing - header rules
2:39:34 AM: Post processing - redirect rules
2:39:34 AM: Post processing done
2:39:38 AM: Site is live ✨
2:39:38 AM: Finished waiting for live deploy in 16.092462898s
2:39:38 AM: Site deploy was successfully initiated
2:39:38 AM: ​
2:39:38 AM: (Deploy site completed in 18.6s)
2:39:38 AM: ​
2:39:38 AM: ────────────────────────────────────────────────────────────────
2:39:38 AM:   9. netlify-plugin-submit-sitemap (onSuccess event)            
2:39:38 AM: ────────────────────────────────────────────────────────────────
2:39:38 AM: ​
2:39:38 AM: Going to submit sitemap to google
2:39:38 AM:  --> URL: https://www.google.com/ping?sitemap=https://futuremattersproject.org/sitemap.xml
2:39:38 AM: Going to submit sitemap to bing
2:39:38 AM:  --> URL: https://www.bing.com/ping?sitemap=https://futuremattersproject.org/sitemap.xml
2:39:38 AM: Going to submit sitemap to yandex
2:39:38 AM:  --> URL: https://webmaster.yandex.ru/ping?sitemap=https://futuremattersproject.org/sitemap.xml
2:39:39 AM:  βœ“  DONE! Sitemap submitted succesfully to google 
2:39:39 AM:  βœ“  DONE! Sitemap submitted succesfully to bing 
2:39:39 AM:  βœ“  DONE! Sitemap submitted succesfully to yandex 
2:39:39 AM: ​
2:39:39 AM: (netlify-plugin-submit-sitemap onSuccess completed in 718ms)
2:39:40 AM: ​
2:39:40 AM: ────────────────────────────────────────────────────────────────
2:39:40 AM:   Netlify Build Complete                                        
2:39:40 AM: ────────────────────────────────────────────────────────────────
2:39:40 AM: ​
2:39:40 AM: (Netlify Build completed in 2m 38.2s)
2:39:40 AM: Caching artifacts
2:39:40 AM: Started saving node modules
2:39:40 AM: Finished saving node modules
2:39:40 AM: Started saving build plugins
2:39:40 AM: Finished saving build plugins
2:39:40 AM: Started saving pip cache
2:39:40 AM: Finished saving pip cache
2:39:40 AM: Started saving emacs cask dependencies
2:39:40 AM: Finished saving emacs cask dependencies
2:39:40 AM: Started saving maven dependencies
2:39:40 AM: Finished saving maven dependencies
2:39:40 AM: Started saving boot dependencies
2:39:40 AM: Finished saving boot dependencies
2:39:40 AM: Started saving rust rustup cache
2:39:40 AM: Finished saving rust rustup cache
2:39:40 AM: Started saving go dependencies
2:39:40 AM: Finished saving go dependencies
2:39:40 AM: Build script success
2:40:32 AM: Finished processing build request in 3m55.388635619s

Hey @kolanuts,

Netlify Snippet Injection would only work for static HTML page, not for any server-side rendered page or any page rendered using Netlify Functions (which is typically the case with next.js).

1 Like

Hey there @kolanuts,

Can you please reach out to us at support@weglot.com so we can help you resolve your issue?

Thanks!

1 Like

Thank you, Max! I’m in touch with Nicolas from your support team already, and have just told him about all the latest insights here and whether I could add a WeGlot support engineer to our Stackbit setup, to help them look into our code… we’ve made it half-work, but if you’re anywhere on German version except the landing page, clicking the language switcher to go to English version only redirects to the landing page (without translating anything but the top navbar). So it still does not work properly despite lots of work

Yes, our support team has also informed me that they’re working on the issue. Thank you for contacting us and we’ll do our best to resolve the issue fully as soon as possible. Have a great day!

1 Like