Skip to content

Commit

Permalink
Merge pull request IQSS#6726 from QualitativeDataRepository/IQSS/6725…
Browse files Browse the repository at this point in the history
…-analytics-bug

Iqss/6725 analytics bug
  • Loading branch information
kcondon authored Mar 6, 2020
2 parents e03ba54 + 3597435 commit 7ed6519
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/release-notes/6725-analytics-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Google Analytics Download Tracking Bug

The button tracking capability discussed in the installation guide (http://guides.dataverse.org/en/4.20/installation/config.html#id88) relies on an analytics-code.html file that must be configured using the :WebAnalyticsCode setting. The example file provided in the installation guide is no longer compatible with recent Dataverse releases (>v4.16). Installations using this feature should update their analytics-code.html file by following the installation instructions using the updated example file. (Alternately, sites can modify their existing files to include the one-line change made in the example file at line 120.)
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
var row = target.parents('tr')[0];
if(row != null) {
//finds the file id/DOI in the Dataset page
label = $(row).find('td.col-file-metadata > a').attr('href');
label = $(row).find('div.file-metadata-block > a').attr('href');
} else {
//finds the file id/DOI in the file page
label = $('#fileForm').attr('action');
Expand Down

0 comments on commit 7ed6519

Please sign in to comment.