Department Of Driver Services, Alcohol And Drug Awareness Program (Adap/Eadap)

Launching Visual Studio

If nothing happens, download the travelhome.vn extension for Visual Studio and try again.

Đang xem: Department of driver services

Go back
Digital Analytics Program government-wide code Participating in the DAP Known implementation issues Transport security Data integrity Appropriate Placement Access controls

Digital Analytics Program government-wide code

Provides a JavaScript file for US federal agencies to link or embed in their websites to participate in the Digital Analytics Program.

The most current version of DAP GA code is:

Participating in the DAP

On November 8, 2016, the Office of Management and Budget (OMB) released a memorandum on “Policies for Federal Agency Public Websites and Digital Services”, which requires federal agencies to implement the DAP javascript code on all public facing federal websites.

The Digital Analytics Program offers a central hosting server for its minified JavaScript file at https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js. As of August 2018, the file is gzipped and served compressed by default, but will be served uncompressed where Accept-Encoding: gzip is not present in the viewer.

Agencies are encouraged to use the following HTML snippet to participate in the Digital Analytics Program:

script async type=”text/javascript” src=”https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=AGENCY” id=”_fed_an_ua_tag”>script>
Replace AGENCY with your agency”s standard abbreviation, such as DHS or EPA.

For more details on implementing the DAP script on your site, including implementing with a tag manager and adding other custom parameters, please refer to:

Known implementation issuesIssue: The Federated code is designed to work on all government sites whetherthey already have inline site specific GA trackers or not. There is only one scenariothat is not fully supported by the Federated code, which is when a UniversalAnalytics tracking code (that is using a custom/non-default tracking object) is addedright after the Federated code. In this specific scenario the Federated code will failin reporting the first page hit and will be able to track normally all the consecutivehits.

Supported Scenarios:

UA Site Specific before the Federated code (Default Tracking Object)UA Site Specific after the Federated code (Default Tracking Object)UA Site Specific before the Federated code (Custom Tracking Object)Classic GA Site Specific before the Federated codeClassic GA Site Specific after the Federated code

Issue: The Federated tracking code doesn’t fully support the older versions ofMicrosoft Internet Explorer. While the Federated tracking code works with allknown browsers, some features (e.g. the YouTube tracker) may not work properlyon IE 8 and earlier versions because of YouTube API limitations

Transport securityThe centrally hosted DAP JS is only available over HTTPS. Agencies should use only https:// URLs, not protocol-relative URLs.

Additionally, an HTTP Strict Transport Security header is set with a length of 1 year, and is prepared for preloading into major web browsers. As of this writing, that header looks like this:

Strict-Transport-Security: max-age=31536000;preloadBrowsers that support HSTS and which have observed this HSTS policy (either from a prior visit or through HSTS preloading) will not issue HTTP requests to dap.digitalgov.gov at all, even if instructed.

Together, HTTPS and HSTS offer a strong, necessary level of transport security and integrity.

Xem thêm: aperitivo thao dien

Data integrityThe dap.digitalgov.gov domain is currently served by a third party content delivery network (CDN) that serves the current JavaScript referenced in the master branch of this travelhome.vn repository.

Before any change of the JavaScript being served by the CDN, the owners of this repository will update the file located in the master branch of the repo.

This means that, barring the compromise of travelhome.vn”s systems or the CDN”s systems, all changes to the code that appears on dap.digitalgov.gov should be publicly reflected in this repository”s commit history.

Appropriate PlacementThe Digital Analytics Program Javascript code is intended to be implemented on “public-facing” federal government webpages. In this sense, “public-facing” webpages are defined as those that can be accessed without any authentication/login, and are not part of an otherwise “privileged session”.

As such, the DAP script tag should not be placed on pages visited during logged-in sessions. Notably, other seemingly “public” pages that can be accessed without authentication may also be part of “privileged sessions”; for example, a “password reset” page that is accessed by clicking a link in an email is not appropriate for DAP code, because it assumes the visitor has the privilege of control over the email account used to provide the link.

This decision tree may help:

*

Access controlsThis repository is maintained in its own travelhome.vn organization, digital-analytics-program, and is operated by the Digital Analytics Program team.

Only Digital Analytics Program staff have been granted write access to this repository.

Xem thêm: resort phương nam

All members of the digital-analytics-program travelhome.vn organization are required to have two-factor authentication enabled.

Khai Trương Trung Tâm Thương Mại Mipec Long Biên, Hà Nội, Trung Tâm Thương Mại
Ngân Hàng Sacombank Quận 10, Tp Hcm, Ngân Hàng Sacombank Pgd Quận 10
Tác giả

Bình luận

LarTheme