mirror of
https://github.com/discourse/discourse.git
synced 2025-04-10 11:00:56 +08:00
If both GA endpoints are provided, don't use both.
This commit is contained in:
parent
3f6bf2fda0
commit
00fefb8e45
@ -15,6 +15,7 @@ export default {
|
|||||||
pageTracker.on('change', function() {
|
pageTracker.on('change', function() {
|
||||||
window._gaq.push(['_trackPageview']);
|
window._gaq.push(['_trackPageview']);
|
||||||
});
|
});
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Also use Universal Analytics if it is present
|
// Also use Universal Analytics if it is present
|
||||||
|
Loading…
x
Reference in New Issue
Block a user