Multiple Google Analytics codes for individual pages

Sure, that’s possible. Are you including the GA-code anywhere on your site today? If not, you can add the following code to your theme’s functions.php-file: add_action(‘wp_head’, ‘add_google_analytics’); function add_google_analytics(){ global $post; if (is_page(‘page1’)){ ?> <!– Analytics code #1 –> <?php } else if (is_page(‘page2’)) { ?> <!– Analytics code #2 –> <?php } else { … Read more

Invalid plugin installation directory, Google Analytics [closed]

If you rename the plugins folder googleanalytics into something else, e.g. OLDgoogleanalytics then refresh your website, the error is gone. Now you can access your backend plugins page (optional: rename the folder OLDgoogleanalytics back to googleanalytics) and you can see that trying to enable the Google Analytics plugin gives the error you mentioned. I temporarily … Read more

Track tags in Google Analytics? [closed]

Take a look at custom variables for Google Analytics. In that case you would need to parse all used tags as one string (maybe separated by | for example), because it’s better to use one variable name and each variable can take one value per pageview. Another option would be using events, using a category … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)