{
    "version" : "https://jsonfeed.org/version/1",
    "content" : "guides",
    "type" : "single",
    "title" : "Get started with DAP |Digital.gov",
    "description": "Get started with DAP",
    "home_page_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/","feed_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/guides/dap/get-started-with-dap/index.json","item" : [
    {"title" :"Get started with DAP","deck" : "Use DAP to better understand user behavior","summary" : "Learn how to use DAP to better understand user behavior.","date" : "2019-07-31T09:00:00-05:00","date_modified" : "2025-01-27T19:42:55-05:00","primary_image" : { "uid" : "guide-dap", "alt" :
  "Business people working on data analytics for the web", "width" :
  "1200", "height" :
  "630", "credit" :
  "drogatnev/iStock via Getty Images", "caption" :
  "", "format" :
  "png" },"branch" : "bc-archive-content-3",
      "filename" :"get-started-with-dap.md",
      
      "filepath" :"guides/dap/get-started-with-dap.md",
      "filepathURL" :"https://github.com/GSA/digitalgov.gov/blob/bc-archive-content-3/content/guides/dap/get-started-with-dap.md",
      "editpathURL" :"https://github.com/GSA/digitalgov.gov/edit/bc-archive-content-3/content/guides/dap/get-started-with-dap.md","url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/guides/dap/get-started-with-dap/","aliases" : {"0" : "/services/dap/add-your-site-dap/","1" : "/guide/dap/add-your-site-dap/"},"content" :"\u003cp\u003eAre you ready to start using the Digital Analytics Program (DAP) to understand how the public finds, accesses, and uses your agency’s online information and services? Get started in three easy steps:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ca href=\"#step-1-register-as-a-dap-user\"\u003eRegister as a DAP user\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#step-2-add-the-dap-code-to-your-website-to-collect-data\"\u003eAdd the DAP code to collect data\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#step-3-explore-the-data\"\u003eExplore the data\u003c/a\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2 id=\"step-1-register-as-a-dap-user\"\u003eStep 1. Register as a DAP user\u003c/h2\u003e\n\u003cp\u003eAll federal employees and contractors who work for a participating agency can register for access to DAP. After a user fills out the registration form, the DAP team will request approval from the agency\u0026rsquo;s DAP point of contact and grant access once approval is received.\u003c/p\u003e\n\u003cp\u003eEmail the DAP team at \u003ca href=\"mailto:dap@gsa.gov\"\u003edap@gsa.gov\u003c/a\u003e to request a registration form.\u003c/p\u003e\n\n\n\n\u003carticle\n  class=\"dg-note \"\n\u003e\n  \u003ch4 class=\"dg-note__heading\"\u003e\n    \u003csvg\n      class=\"dg-note__icon usa-icon dg-icon dg-icon--large\"\n      aria-hidden=\"true\"\n      focusable=\"false\"\n    \u003e\n      \u003cuse xlink:href=\"/preview/gsa/digitalgov.gov/bc-archive-content-3/uswds/img/sprite.svg#notifications\"\u003e\u003c/use\u003e\n    \u003c/svg\u003e\n    \n      Note\n    \n  \u003c/h4\u003e\n  \u003cp\u003eYou must associate your .gov or .mil email address with Google.\u003c/p\u003e\n\u003cp\u003eIf your agency uses Google, this association is done automatically. You don’t need to do anything.\u003c/p\u003e\n\u003cp\u003eIf your agency does not use Google, visit \u003ca href=\"https://accounts.google.com/SignUpWithoutGmail\"\u003ehttps://accounts.google.com/SignUpWithoutGmail\u003c/a\u003e and follow the prompts to associate your .gov or .mil email account with Google Analytics.\u003c/p\u003e\n\u003cp\u003eDo not use your personal Gmail address or create a new Gmail address.\u003c/p\u003e\n\u003cp\u003eAlso, if applicable, unlink any personal \u003ccode\u003egmail.com\u003c/code\u003e accounts from your government email account in Google Analytics. Linking these addresses could result in your removal from DAP.\u003c/p\u003e\n\n\u003c/article\u003e\n\n\u003ch2 id=\"step-2-add-the-dap-code-to-your-website-to-collect-data\"\u003eStep 2. Add the DAP code to your website to collect data\u003c/h2\u003e\n\u003cp\u003eYou have two options for implementing the DAP code. For both options, the governmentwide DAP data flows into its own separate Google Analytics account; they do not affect any other Google Analytics data you may be collecting.\u003c/p\u003e\n\u003ch3 id=\"option-1-use-the-centrally-hosted-code-recommended\"\u003eOption 1: Use the centrally-hosted code (recommended)\u003c/h3\u003e\n\u003cp\u003eThe DAP team recommends using their centrally-hosted code file. The biggest advantage is that the DAP team updates this file periodically, and your site will always be on the latest version. This option reduces the burden on your team to maintain the code.\u003c/p\u003e\n\u003cp\u003eFollow the instructions in the DAP Quick Technical Guide on GitHub to \u003ca href=\"https://github.com/digital-analytics-program/gov-wide-code/wiki/DAP-Quick-Technical-Guide#dap-centrally-hosted-url-implementation-instructions\"\u003euse the centrally-hosted code\u003c/a\u003e.\u003c/p\u003e\n\u003ch3 id=\"option-2-host-the-code-locally-not-typically-recommended\"\u003eOption 2. Host the code locally (not typically recommended)\u003c/h3\u003e\n\u003cp\u003eThe second option is to host the DAP code locally. Some agencies did this in the past, but it isn’t typically recommended. You will need to upgrade your code each time the DAP team releases a new version. Failure to update your locally-hosted code may impact data quality, security, and functionality.\u003c/p\u003e\n\u003cp\u003eIf you determine this is the best approach for your agency, follow the instructions in the DAP Quick Technical Guide on GitHub to \u003ca href=\"https://github.com/digital-analytics-program/gov-wide-code/wiki/DAP-Quick-Technical-Guide#local-host-implementation-instructions\"\u003ehost the code locally\u003c/a\u003e.\u003c/p\u003e\n\n\n\n\u003carticle\n  class=\"dg-note \"\n\u003e\n  \u003ch4 class=\"dg-note__heading\"\u003e\n    \u003csvg\n      class=\"dg-note__icon usa-icon dg-icon dg-icon--large\"\n      aria-hidden=\"true\"\n      focusable=\"false\"\n    \u003e\n      \u003cuse xlink:href=\"/preview/gsa/digitalgov.gov/bc-archive-content-3/uswds/img/sprite.svg#notifications\"\u003e\u003c/use\u003e\n    \u003c/svg\u003e\n    \n      Note\n    \n  \u003c/h4\u003e\n  \u003cp\u003e\u003cstrong\u003eTechnical examples\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eReview the \u003ca href=\"https://github.com/digital-analytics-program/gov-wide-code/wiki/DAP-Quick-Technical-Guide\"\u003eDAP Quick Technical Guide on GitHub\u003c/a\u003e for more details and examples on how to add the DAP code to your site.\u003c/p\u003e\n\n\u003c/article\u003e\n\n\u003ch3 id=\"determine-where-to-add-the-code\"\u003eDetermine where to add the code\u003c/h3\u003e\n\u003cp\u003eAdd the DAP code to all \u003ccode\u003epublic-facing websites\u003c/code\u003e. Public-facing websites are defined as sites that are primarily intended for public users. In other words, websites with users who are NOT exclusively federal government employees or contractors.\u003c/p\u003e\n\u003cp\u003eAlso, add the DAP code to sign-in pages that serve as the entry point to authenticated content on public-facing websites. Beyond sign-in pages, implementation of the DAP code on authenticated pages is permitted on a case-by-case basis only. Email the DAP team at \u003ca href=\"mailto:dap@gsa.gov\"\u003edap@gsa.gov\u003c/a\u003e to request their approval and coordinate the prerequisite tests.\u003c/p\u003e\n\u003ch2 id=\"step-3-explore-the-data\"\u003eStep 3. Explore the data\u003c/h2\u003e\n\u003cp\u003eEveryone, including the public, can visit \u003ca href=\"https://analytics.usa.gov/\"\u003eanalytics.usa.gov\u003c/a\u003e to see how many people are on government websites right now. Explore this dashboard for a governmentwide view of how the public interacts with federal websites.\u003c/p\u003e\n\n\n\n\n\n\n\n\u003cdiv class=\"image\"\u003e\n  \u003cimg\n        src=\"https://s3.amazonaws.com/digitalgov/analytics-usa-gov-over-1-point-five-million-visitors-at-3-39-pm-may-29-2024.jpg\"alt=\"A May 2024 snapshot of analytics.usa.gov shows 1.5 million people around the world on U.S. federal government websites, and lists of various stats.\"/\u003e\u003cp\u003eA screenshot of the analytics.usa.gov homepage.\u003c/p\u003e\u003c/div\u003e\n\n\n\u003cp\u003eRegistered DAP users can also access more detailed governmentwide and agency-level data in DAP.\u003c/p\u003e\n\u003cp\u003eWatch the video below, Guide to the Digital Analytics Program (DAP): How to access DAP and find your agency data, for a brief introduction on how to access DAP and find your agency data. Then, visit \u003ca href=\"https://google.com/analytics\"\u003ehttps://google.com/analytics\u003c/a\u003e and sign in with your official .gov or .mil email address.\u003c/p\u003e\n\n\n\n\n\n\n\u003cdiv\n  class=\"video\"\n  style=\"position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden;\"\n\u003e\n  \n  \u003ciframe src=\"https://www.youtube.com/embed/tjvQlkVBCqQ\" title=\"Guide to the Digital Analytics Program (DAP): How to access DAP and find your agency data\" style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" allowfullscreen=\"\" frameborder=\"0\" \u003e\u003c/iframe\u003e\n\u003c/div\u003e\n\n\u003cp\u003e\u003ca href=\"https://s3.amazonaws.com/digitalgov/static/dap-video-content-presentation-slides-video-1.pptx\"\u003eView the slides (PowerPoint presentation, 3.9 MB, 22 slides)\u003c/a\u003e\u003c/p\u003e\n\u003ch2 id=\"other-web-analytics-tools\"\u003eOther web analytics tools\u003c/h2\u003e\n\u003cp\u003eThe DAP team encourages participating agencies to implement other web analytics tools in addition to DAP. The DAP code does not interfere with the code for other analytics tools or affect data collection.\u003c/p\u003e\n\u003cp\u003eThe data from other web analytics tools likely will not match the data in DAP because of differences in their configurations. If the variations are significant, email the team at \u003ca href=\"mailto:dap@gsa.gov\"\u003edap@gsa.gov\u003c/a\u003e, and they’ll help you troubleshoot the issue.\u003c/p\u003e\n\u003cdiv class=\"box \"\u003e\n  \u003cstrong\u003eDo you have a question for the DAP team?\u003c/strong\u003e Send an email to \u003ca href=\"mailto:dap@gsa.gov\"\u003edap@gsa.gov\u003c/a\u003e, and they’ll get back to you.\n\u003c/div\u003e\n\n"}
  ]
}
