mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-11-28 10:36:03 -05:00
Track fragments
This commit is contained in:
parent
dba9d08dc8
commit
7a9721f466
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ $(window).on('hashchange', function(e) {
|
|||
|
||||
|
||||
$(document).on("page:show", function(e, page){
|
||||
ga("send", "pageview", page);
|
||||
ga("send", "pageview", '#' + page);
|
||||
ga("set", "referrer", document.location.origin + document.location.pathname + document.location.hash)
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue