Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for https://analytics.usa.gov participation #96

Open
mgifford opened this issue Mar 25, 2024 · 1 comment
Open

Check for https://analytics.usa.gov participation #96

mgifford opened this issue Mar 25, 2024 · 1 comment

Comments

@mgifford
Copy link

Is your feature request related to a problem? Please describe.

We should be able to know if a site is collecting traffic in:
https://analytics.usa.gov/

This is a best practice for .gov.

Describe the solution you'd like

I think you can just search for a portion of:

<!-- Analytics for GSA's Office of Strategic Communication (OSC) -->
--
  | <script async src="https://www.googletagmanager.com/gtag/js?id=G-HBYXWFP794"></script>
  | <script>
  | window.dataLayer = window.dataLayer \|\| [];
  | function gtag() { dataLayer.push(arguments); }
  | gtag('js', new Date());
  | gtag('config', 'G-HBYXWFP794');
  | </script>

Describe alternatives you've considered

I think it might also be possible to pull data from:
https://analytics.usa.gov/data/

Additional context

@lukefretwell
Copy link
Member

Similar to #97 (note Digital Analytics Program)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants