Skip to content

Commit

Permalink
Fixed link tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Isler committed Jul 24, 2018
1 parent 8018ec0 commit 3cf32af
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/ga-legacy-cookie-parser.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ga-legacy-cookie-parser.pack.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "GA Legacy Cookie Parser",
"name": "ga-legacy-cookie-parser-js",
"version": "0.1.0",
"version": "0.1.1",
"author": "Matthias Isler <[email protected]>",
"description": "A workaround for accessing GA data in Universal Analytics environments.",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions src/ga-legacy-cookie-parser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* GA Legacy Cookie Parser v0.1.0
* GA Legacy Cookie Parser v0.1.1
*
* A workaround for accessing GA data in Universal Analytics environments.
* https://github.com/spiritix/ga-legacy-cookie-parser
Expand Down Expand Up @@ -63,7 +63,7 @@

links[i].setAttribute('onclick',
'' + ((onClick != null) ? onClick + '; ' : '') +
"_gaq.push(['sfga._link', '" + links[i].href + "']); return false;"
"_gaq.push(['xxga._link', '" + links[i].href + "']); return false;"
);
}
}
Expand Down

0 comments on commit 3cf32af

Please sign in to comment.