Topic on Extension talk:Google Analytics Integration

Updated LocalSettings syntax?

4
Summary by Tacsipacsi
Knomanii (talkcontribs)

Hello! I notice the tutorial recommends the following LocalSettings syntax:

require_once "$IP/extensions/googleAnalytics/googleAnalytics.php";


Can I use the newer syntax to be consistent on my wiki?

wfLoadExtension( 'googleAnalytics' );


Thanks!

Dinoguy1000 (talkcontribs)
Tacsipacsi (talkcontribs)
Knomanii (talkcontribs)

Thanks for the help @Dinoguy1000 and @Tacsipacsi!


I did install the extension using the require_once format but unfortunately it doesn't seem to be working that way either.


I might give Extension:GTag a try to see if it works any better, but I'll stay tuned for updates on this one too. Thanks again for the info.

Reply to "Updated LocalSettings syntax?"