Dale's Take

Everything is open for discussion…

  • General
  • Social Policy
  • Psychology
  • Science
    • Mathematics
    • Technology
  • Programming
    • VBA – Excel
    • HTML / CSS / JS
    • PHP / WordPress
    • R for Statistics
    • MySQL

tracking code

General PHP Wordpress 

WordPress – Google Analytics (ga) tracking code as a plugin

March 26, 2019May 25, 2019 dradma 0 Comments google analytics, plugin, tracking code, wordpress

For wordpress sites I build, I insert the google analytics (ga) tracking code into the html head section via a plugin. I prefer this ‘cleaner’ approach of separating the code into a separate file. I also use the Wordpress function ‘is_user_logged_in’ to remove most of my visits to the site as I am typically signed in to my WP admin account. This post describes the steps I use…

Read more

Recent Posts

  • Frydenberg is an evil fucker
  • CSS – Responsive design details
  • WordPress – Merge wp_postmeta table (local version with online)
  • WordPress – Add Custom Content Plugin
  • WordPress – Add Custom Content Plugin

Recent Comments

    Categories

    • Excel
    • General
    • html – css & js related
    • Javascript
    • Mathematics
    • MySQL
    • Philosophy
    • PHP
    • Politics
    • Programming
    • Psychology
    • R for Statistics
    • Science
    • Software
    • VBA – Excel
    • Wordpress

    Archives

    • December 2020
    • February 2020
    • December 2019
    • November 2019
    • September 2019
    • July 2019
    • June 2019
    • April 2019
    • March 2019
    • September 2017
    • August 2017
    • June 2017
    • February 2017
    • January 2017
    • December 2016
    • November 2016
    • September 2016
    • July 2013
    • May 2013
    • April 2013

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Copyright © 2021 Dale's Take. All rights reserved.
    Theme: ColorMag by ThemeGrill. Powered by WordPress.