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

Include DAP code for public sites #18

Merged
merged 2 commits into from
Jan 26, 2022
Merged

Include DAP code for public sites #18

merged 2 commits into from
Jan 26, 2022

Conversation

rahearn
Copy link
Contributor

@rahearn rahearn commented Jan 26, 2022

No description provided.


<% if Rails.env.production? %>
<!-- We participate in the US government's analytics program. See the data at analytics.usa.gov. -->
<%= javascript_include_tag "https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA", async: true, id:"_fed_an_ua_tag" %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[suggestion] If we expect this might be used for partner agencies (do we?) I wonder if we should at least flag in the README or a post-install message that GSA is specified as the DAP agency.

Also think it would be helpful to add a small note in the README about DAP inclusion regardless!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also think it would be helpful to add a small note in the README about DAP inclusion regardless!

good call, I'll add that before merging

@rahearn rahearn merged commit fc3021e into main Jan 26, 2022
@rahearn rahearn deleted the dap branch January 26, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants