Skip to content

Instantly share code, notes, and snippets.

View adrianrf's full-sized avatar

Adrian Falla adrianrf

  • Two Birds One Stone
  • Bremerton WA
View GitHub Profile
@adrianrf
adrianrf / gist:1135868
Created August 10, 2011 01:52
Why Isn't Google Analytics Tracking My Website?
If it has been more than 24 hours since you installed the tracking code and you're still not seeing any data, take a look at the list of possible reasons below.
Incorrect tracking code
The most common reason why you're not seeing any data in your reports is because of an error in the Analytics tracking code. Copying the tracking code from your account to a word processor may add an extra space or change the quotation marks in the tracking code by the time you paste it to your website. We suggest copying the code again and pasting it directly onto your website.
The Google Analytics tracking code is account- and profile- specific, so verify that the tracking code installed on your website matches the code shown in the account.
Click here to view a video on how to check for the correct tracking code
Incorrect filter settings
@adrianrf
adrianrf / BDSM errors?
Created August 8, 2011 20:46
bdsm unbalanced braces and quotes list in my fork as of 20110808 13.45.34
possible syntax issues from unbalanced braces and quotes:
bdsm/extensions/builtin/ext/modules/shell/defaults/dsl line 84
bdsm/extensions/builtin/ext/modules/shell/extensions/manipulation/dsl line 39
bdsm/extensions/builtin/ext/modules/shell/logging/dsl line 103
bdsm/extensions/builtin/ext/modules/shell/package/dsl lines 239, 1750
@adrianrf
adrianrf / ffmpeg-php compile error
Created August 8, 2011 01:28
brew install -vd ffmpeg-php - compile error
$ brew install -vd ffmpeg-php
==> Checking out http://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php/trunk/ffmpeg-php
/usr/bin/svn up --force http://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php/trunk/ffmpeg-php /Users/adrian/Library/Caches/Homebrew/ffmpeg-php--svn
Skipped 'http://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php/trunk/ffmpeg-php'
At revision 677.
Summary of conflicts:
Skipped paths: 1
/usr/bin/svn export --force /Users/adrian/Library/Caches/Homebrew/ffmpeg-php--svn /private/tmp/homebrew-ffmpeg-php-HEAD-Yejx
Export complete.
==> phpize
@adrianrf
adrianrf / GA multiuser access recipe
Created August 6, 2011 22:29
Setting up Google Analytics for multiple users
Click User Manager
Click Add User
Enter the user's email address, last name, and first name. The email address must be a Google Account.
Select the Access type for this user: View reports only, or Account Administrator, which allows the user to edit account settings
Select the profiles to which this user should have access. Reports for profiles that are not selected will not be available to this user
Click Add to move these profiles into the Selected Website Profiles list
Click Finish to create the new user. They can now log in using their Google Account email address and password.
@adrianrf
adrianrf / bdsm-test.sh
Created August 3, 2011 20:51
bdsm-test.sh script as I try out BDSM
#!/usr/bin/env bdsm
source "/usr/local/bdsm/extensions/builtin/core/modules/shell/core/initialize" # Load BDSM framework
modules filesystem # We're going to use the system module.
if file_is_nonempty "$HOME/.bashrc" # Provided by the filesystem module
then
log "$HOME/.bashrc is nonempty! " # log() is provided by logging module
else