Skip to content

Commit

Permalink
Rename var to be more general
Browse files Browse the repository at this point in the history
  • Loading branch information
chao-xian committed Apr 24, 2020
1 parent 316dad6 commit 2286cca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/set-ga-client-id-on-url-in-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

window.ga(function (tracker) {
var clientId = tracker.get('clientId')
var href = linkedElement.attr(attribute)
linkedElement.attr(attribute, href + "?_ga=" + clientId)
var attributeUrl = linkedElement.attr(attribute)
linkedElement.attr(attribute, attributeUrl + "?_ga=" + clientId)
})
}

Expand Down

0 comments on commit 2286cca

Please sign in to comment.