Skip to content

Instantly share code, notes, and snippets.

@eLafo
Created February 28, 2014 12:37
Show Gist options
  • Save eLafo/9270354 to your computer and use it in GitHub Desktop.
Save eLafo/9270354 to your computer and use it in GitHub Desktop.
def set_project_and_token_from_request request
@project_number = request.project_number
@token = request.token
@ga_data.merge_dimensions userID: @project_number
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment