Matt Fiddles

Life's so vast, there's just so much to do...

User Tools

Site Tools


"`Eddies,' said Ford, `in the space-time continuum.'
`Ah,' nodded Arthur, `is he? Is he?'"

- Arthur failing in his first lesson of galactic physics in four years.

Where will you go today?

“The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails.”
- William Arthur Ward

Wordpress tracking

For the actual site, you can use a plugin.

For other parts of the site, add the following to your theme's functions.php or to a “custom” site plugin:

To track to login page:

add_action( 'login_head', 'synt_ga_login_page');
function synt_ga_login_page() { ?>
    <!-- Your Analytics Code Here -->
<?php }

To track non-admin users on the dash:

add_action( 'admin_head', 'synth_admin_head_script' );
function synth_admin_head_script() {
  if ( !is_super_admin() || !is_admin() ) { ?>
    <!-- Your Analytics Code Here -->
 <?php } }


computers/websites/wordpress/tracking.txt · Last modified: Apr 27, 2014 (5 years ago) by Matt Bagley