Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

google-analytics

Installing Google analytics to home page

This depends on your theme. Most themes have a call the wp_footer hook at the bottom of every page – which means it’s at the bottom of every single post, every single page, and the home page. Rather than editing all of your theme files to include your tracking code, use a plugin that ties … Read more

Categories homepage Tags google-analytics, homepage

Download statistics for WordPress site?

I solved the problem, and the download statistics now works in Google Analytics. Using the plugin mentioned above, download statistics are readily available, but it didn’t work out for me until now. This was because I had made all the links for downloadable files on my site with relative paths – for instance with <a … Read more

Categories google-analytics Tags google-analytics, statistics

Tracking multiple tags or categories

You can follow different approaches, I will show you a simple one, that hooks into wp_footer action. The lack of this approach is that it slows down the page loading. To avoid this lack you can use the same logic but implemented via ajax. So, you can use an option to store category popularity, it … Read more

Categories categories Tags categories, google-analytics, tags

Allow authors to use their own Google Analytics code

Use conditional tags for each author with their tracking code in a custom function. is_author( ‘4’ ) && is_single() )

Categories google-analytics Tags google-analytics

Popular posts – based on pageviews

Popular posts – based on pageviews

Categories plugin-jetpack Tags google-analytics, plugin-jetpack, popular-posts

Google analytic issue in wordpress

Google analytic issue in wordpress

Categories plugins Tags google-analytics, plugin-development, plugins

adding google analytics via echo or between tags

As long as you’re quotes are escaped to render the final code correctly, you should be fine either way. That just a matter of preference. If you go with the first route, you’ll be able to migrate your scripts to an external source with very little extra effort. The second way can get a little … Read more

Categories functions Tags functions, google-analytics

New accounts daily at WP Multi-User site under development, Analytics reports no traffic. What gives?

I kindly and respectfully ask the community to take 30 seconds out of your day and please explain this phenomenon to me. I get that it’s cool to either ignore or ridicule those who are not savvy with this sort of stuff, but I need to know how this is happening, who’s behind it and … Read more

Categories buddypress Tags buddypress, google-analytics, spam

Cannot locate wp_footer() included scripts [closed]

I finally found the answer buried in deep inside the Admin panel for customizing the particular theme that’s being used. Funny, because I looked there already, but missed it the first time around. Evidently, these particular options are saved into a database which explains why scanning for keywords found in all the site files came … Read more

Categories google-analytics Tags google-analytics

Tracking sales/conversions in Woocommerce using Google Analytics

I normally use the official WooCommerce Google Analytics plugin, it has been developed by WooCommerce, so that’s always nice. There is a free version and a paid version. Sometimes you get what you pay for, I think the paid version is worth it but I guess it depends on your needs. Here is a comparison … Read more

Categories plugins Tags e-commerce, google-analytics, plugins, woocommerce-offtopic
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page12 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress