Skip to content
Permalink
56d52b6fe6
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
9 lines (8 sloc) 298 Bytes
(ns ulysses.lib.analytics
(:require [cljsjs.google-analytics]
[ulysses.config :as config]
[autotrack])) ; so that goog compiler includes it
(defn start []
(js/ga "create" config/google-analytics-code "auto")
(js/ga "require" "autotrack")
(js/ga "send" "pageview"))