This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(cookieName, domain){ | |
var traffic_source_COOKIE_TOKEN_SEPARATOR = ">>"; //separating between concatenated lead source | |
var traffic_source_meta_SEPARATOR = ">"; | |
var traffic_source_date_SEPARATOR = "|"; | |
var NONE = "(none)"; | |
domain = domain || window.location.hostname; | |
function getCookie(cookieName){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Oauth strategy for Tictail authentication | |
# You will need additional code to handle the logins | |
# If using Devise follow this guide - https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview | |
require 'omniauth-oauth2' | |
module OmniAuth | |
module Strategies | |
class TictailOauth2 < OmniAuth::Strategies::OAuth2 | |
# Give your strategy a name. |