mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 09:41:26 -08:00
Add analytics script (#707)
* Add analytics script - also add the geoplatform official site to yml file * update analytics link
This commit is contained in:
parent
58f4102d6f
commit
aaf304fc89
2 changed files with 8 additions and 1 deletions
1
.github/workflows/deploy_main.yml
vendored
1
.github/workflows/deploy_main.yml
vendored
|
@ -95,3 +95,4 @@ jobs:
|
|||
echo "Github pages: https://usds.github.io/justice40-tool/$DESTINATION_FOLDER/en"
|
||||
echo "Standard S3 bucket version (http only) : http://usds-geoplatform-justice40-website.s3-website-us-east-1.amazonaws.com/justice40-tool/$DESTINATION_FOLDER/en"
|
||||
echo "Cloudfront https: https://d2zjid6n5ja2pt.cloudfront.net"
|
||||
echo "Geoplatform official site: https://screeningtool.geoplatform.gov/en/"
|
||||
|
|
|
@ -14,7 +14,13 @@ const Layout = ({children, location, title}: ILayoutProps) => {
|
|||
// @ts-ignore
|
||||
return (
|
||||
<>
|
||||
<Helmet title={title} defer={false} />
|
||||
<Helmet title={title} defer={false}>
|
||||
<script async
|
||||
type="text/javascript"
|
||||
id="_fed_an_ua_tag"
|
||||
src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=DOI&sitetopic=cejst&enhlink=true">
|
||||
</script>
|
||||
</Helmet>
|
||||
<URLFlagProvider location={location}>
|
||||
<J40Header />
|
||||
<main id={'main-content'}>
|
||||
|
|
Loading…
Add table
Reference in a new issue