Profile cover photo
Profile photo
Ryan Long
88 followers
88 followers
About
Ryan's posts

Post has attachment
#googleanalytics #ga duplicate page entries and URL variable stripping. #wspapp #mediawiki
For quite a while now I have noticed that my Google Analytics #pageviews have been showing some pages
as duplicates when they are in fact the same page. For example, these would all be listed as separate pages:

/products
/products/
/products?wspapp=13821878233

The first part of the solution was to make sure all pages are consistent and end in slashes. This was a slight problem because of the way we were using #drupal and #mediawiki. I was able to add the following lines to our main #htaccess file and solve that issue so that the drupal pages add a slash and the mediawiki ones don't.

  RewriteCond %{REQUEST_URI} !(/$|\.)
  RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] 

With that in place, I also wanted to make sure to remove all query parameters from the URLs. To do this, I used an advanced profile filter with the following settings:

Field A -> Extract A - Request URI - (.*?)\?
Output To -> Constructor - Request URI - $A1

After that, I simply added filters to modify a few mediawiki pages and some non-cms pages and filter my local IP address.

I found the following two really valuable sources:

http://online-behavior.com/analytics/filters

http://www.lunametrics.com/blog/2010/12/17/cleaning-urls-google-analytics/#utm_source=(direct)&utm_medium=(none)&utm_campaign=(direct)&utm_content=-slb&ts=1374689440

Post has attachment
#wordpress  "schedule missed" issue: Recently started noticing that schedule posts stopped working. Troubleshooted by deactivating plugins and theme but nothing worked. Then I noticed the problem started around the time we switched hosting services. After some investigating, we realized that the local #hostfile  needed to be updated so that the wordpress #cronjob  would run and not seem like a #securityrisk  to the server. 

http://wordpress.org/support/topic/scheduled-posts-arent-being-published?replies=6

I'm considering joining #ingress  Anyone use it?

Love that my custom segments in  #googleanalytics  are now sorted in alphabetical order! Progress! +Google Analytics 

Post has attachment
#drupal #drupal-clean-urls Getting clean URLs to work with Drupal 7. After recently installing a new installation of Drupal 7 in a subdirectory, clean URLs weren't working. When running the Clean URL Test (Administer > Configuration > Search and metadata > Clean URL Test), the page would run for a bit and then didn't do anything but refresh. With the help of the below referenced URL, I was able to modify my httpd.conf and .htaccess files to allow clean URLs to function. After going through the suggestions on the page, the test still didn't bring back results. :( So, I went to the suggested settings URL anyway (http://example.com/admin/config/search/clean-urls) and enabled the clean URLs, and it worked! In my experience with Drupal, I ran across a few things like that which seem to be minor UX problems. :)

http://drupal.org/getting-started/clean-urls

Post has attachment
Adding trailing slahes to URLs.  #trailingslahes   #htaccess   #drupal   #duplicatepages   #googleanalytics   #ga   Quick code to adding trailing slashes to those pages that need them to help avoid duplicate pages in Google Analytics.

  RewriteCond %{REQUEST_URI} !(/$|\.)
  RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]  

http://stackoverflow.com/questions/11829714/add-trailing-slash-htaccess

http://www.lunametrics.com/blog/2010/12/17/cleaning-urls-google-analytics/

Post has attachment
Enabling  #swipe  functionality on a  #html   #javascript   #quotesslider . I recently finished a small  #responsive  quotes slider for a  #bookwebsite  I'm working on. The slider takes in 5 quotes and displays between 1 and 3 quotes on the screen depending on the screen size, using  #mediaqueries . I originally just had two side buttons allowing users to rotate through the quotes but decided it would be better to include a #swipefunctionality  for  #mobileusers .  I chose to use the #jquery  plug-in  #TouchSwipe  to add this functionality. It was simple and quick to use.

http://labs.rampinteractive.co.uk/touchSwipe/demos/

Post has attachment
Here's Fishbowl's homepage!

Post has shared content
Coolest #CSS3  creator i've found. Isn't limited to buttons or one type of style, it contains a bunch of different options. It uses the newer technologies and is cutting edge. Can't wait to start using some of this in my new designs!
#webdesign   #webdevelopment   #html5   #responsivedesign  

Post has attachment
#smule is doing some pretty cool stuff at the crossroads of technology and music! Watch video #7 (Smule) in this iTunes University series and check out their website. http://www.smule.com/
Wait while more posts are being loaded