digital-analytics-program / gov-wide-code

Provides a set of javascript files and documentation to implement web analytics on US federal websites
http://www.digital.gov/dap
104 stars 55 forks source link

Script Conflict with Mediaelements #72

Closed stphnwlkr closed 5 years ago

stphnwlkr commented 6 years ago

We attempted to add yt=true to our script DAP call ("&yt=true") and it is causing a conflict with the mediaelements.js script. Right now the mediaelements is not used everywhere so we are wondering if there is a way to programmaticly append "yt=true" to the DAP script. Something like

tdlowden commented 6 years ago

Thanks for raising the issue, @stphnwlkr. Passing this issue to the dev team now.

tdlowden commented 6 years ago

@stphnwlkr, can you provide a URL where mediaelements.js is being used, so we can test?

stphnwlkr commented 6 years ago

www.choose.va.gov is one.

tdlowden commented 5 years ago

It took us a while, but this is finally addressed on page 10: https://github.com/digital-analytics-program/gov-wide-code/blob/master/documentation/GSA%20DAP%204.1%20-%20Quick%20Guide.pdf

Sorry for the delay!