Skip to content

Commit

Permalink
Merge pull request #113 from XDgov/revert-gsa-preconnect
Browse files Browse the repository at this point in the history
Revert GSA DAP to script instead of preconnect link
  • Loading branch information
curt-mitch-census authored Jun 5, 2024
2 parents 230d40d + e2ce89d commit fdff09c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/lighthouse/lighthouserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ module.exports = {
"image-size-responsive": "off",
"link-text": "off",
"maskable-icon": "off",
"offscreen-images": "off",
"service-worker": "off",
"splash-screen": "off",
"themed-omnibox": "off",
"unsized-images": "off",
"unused-css-rules": "off",
"unused-javascript": "off",
"uses-optimized-images": "off",
"uses-rel-preconnect": "off", // can't use with GSA DAP script
"uses-responsive-images": "off",
"uses-text-compression": "off"
}
Expand Down
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@

gtag('config', 'G-3P989H6XN2');
</script>
<link rel="preconnect" href="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=DOC&amp;subagency=CEN" />
<script async type="text/javascript" id="_fed_an_ua_tag" src=https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=DOC&amp;subagency=CEN></script>
</head>

0 comments on commit fdff09c

Please sign in to comment.