GSA-TTS / tts.gsa.gov

Making the website work for people who make websites work
https://federalist-a2423046-fe43-4e75-a2ef-2651e5e123ca.sites.pages.cloud.gov/preview/gsa-tts/tts.gsa.gov/staging/
Other
7 stars 4 forks source link

DAP #88

Closed wesley-dean-gsa closed 2 months ago

wesley-dean-gsa commented 3 months ago

Digital Analytics Program (DAP) is a shared service used to generate metrics regarding site usage.

DAP needs to be included and configured.

wesley-dean-gsa commented 3 months ago

#dap channel on Slack

wesley-dean-gsa commented 3 months ago

form to request DAP access

wesley-dean-gsa commented 2 months ago

User account requested for Wes Dean with a contract end date of January 10th, 2025; hopefully we'll have the account setup by then and the only access needed will be to view the results.

DAP configuration lives here: https://github.com/GSA-TTS/tts.gsa.gov/blob/main/_data/site.yaml#L48-L52

wesley-dean-gsa commented 2 months ago

@wesley-dean-gsa confirm that inclusion with DAP gets the site included with the federal website index so site-scanner can pick it up

wesley-dean-gsa commented 2 months ago

The prototype site already includes:

<!-- Digital Analytics Program roll-up, see https://analytics.usa.gov for data -->

<script
  id="_fed_an_ua_tag"
  src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA"
></script>

...which appears to be similar to the current / live site:

<script src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA&amp;sp=s&amp;enhlink=true&amp;yt=false" async id="_fed_an_ua_tag"></script>

Let's confirm that they're getting data and, if so, we can call this done.

wesley-dean-gsa commented 2 months ago

DAP support provided access to my wesley.dean@gsa.gov email address:

You have been granted access to DAP. Please go to analytics.google.com/analytics and hit “Sign In To Google Analytics” to view the data. Please make sure that the top right hand corner displays the agency email address that was granted access, and not a personal email address. Your data will be included in your department-level agency profile.

wesley-dean-gsa commented 2 months ago

I can confirm that the new/demo/prototype site is, in fact, sending data back to DAP:

Screenshot_20240723_084926

Stick a fork in this ticket, it's done!