Skip to content

Commit d1ed572

Browse files
committed
Drop support for google analytics tracking
1 parent 980f635 commit d1ed572

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

jquery.pjax.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,6 @@ function pjax(options) {
271271
if (typeof options.scrollTo === 'number')
272272
$(window).scrollTop(options.scrollTo)
273273

274-
// Google Analytics support
275-
if ( (options.replace || options.push) && window._gaq )
276-
_gaq.push(['_trackPageview'])
277-
278274
// If the URL has a hash in it, make sure the browser
279275
// knows to navigate to the hash.
280276
if ( hash !== '' ) {

0 commit comments

Comments
 (0)