According to the DAP documentation YouTube tracking via the yt parameter is disabled by default. But the module gives the yt parameter a default of true. usfedgov_google_analytics_library_info_build() then strips any parameters with the defaults out of the query string. In other words, a yt set to true gets removed. So if someone wants YouTube tracking to be enabled, then they have no way to turn it on.
This same problem may apply to other settings with defaults of true. I haven't checked yet.
Issue fork usfedgov_google_analytics-3457038
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
dcam commentedI'm not going to worry about the other settings with
truedefaults right now. One of them defaults to true in DAP. The other two aren't documented anymore, making me think they may need to be removed. The entire array of settings and the form needs to be overhauled anyway.