happstack-hsp-7.3.7.5: Support for using HSP templates in Happstack

Safe HaskellNone
LanguageHaskell2010

HSP.Google.Analytics

Synopsis

Documentation

newtype UACCT Source #

Constructors

UACCT String

The UACCT provided to you by Google (looks like: UA-XXXXX-X)

Instances
Eq UACCT Source # 
Instance details

Defined in HSP.Google.Analytics

Methods

(==) :: UACCT -> UACCT -> Bool #

(/=) :: UACCT -> UACCT -> Bool #

Data UACCT Source # 
Instance details

Defined in HSP.Google.Analytics

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UACCT -> c UACCT #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UACCT #

toConstr :: UACCT -> Constr #

dataTypeOf :: UACCT -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UACCT) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UACCT) #

gmapT :: (forall b. Data b => b -> b) -> UACCT -> UACCT #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UACCT -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UACCT -> r #

gmapQ :: (forall d. Data d => d -> u) -> UACCT -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UACCT -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UACCT -> m UACCT #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UACCT -> m UACCT #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UACCT -> m UACCT #

Ord UACCT Source # 
Instance details

Defined in HSP.Google.Analytics

Methods

compare :: UACCT -> UACCT -> Ordering #

(<) :: UACCT -> UACCT -> Bool #

(<=) :: UACCT -> UACCT -> Bool #

(>) :: UACCT -> UACCT -> Bool #

(>=) :: UACCT -> UACCT -> Bool #

max :: UACCT -> UACCT -> UACCT #

min :: UACCT -> UACCT -> UACCT #

Read UACCT Source # 
Instance details

Defined in HSP.Google.Analytics

Show UACCT Source # 
Instance details

Defined in HSP.Google.Analytics

Methods

showsPrec :: Int -> UACCT -> ShowS #

show :: UACCT -> String #

showList :: [UACCT] -> ShowS #

analytics :: (XMLGenerator m, StringType m ~ Text) => UACCT -> GenXMLList m Source #

create the (even older) google analytics script tags

NOTE: you must put the analytics yourUACCT % immediately before the /body tag

You probably want to use analyticsAsync instead.

See also: addAnalytics, analyticsAsync, universalAnalytics

analyticsAsync Source #

Arguments

:: (XMLGenerator m, StringType m ~ Text) 
=> UACCT

web property ID (looks like: UA-XXXXX-X)

-> GenXML m 

create the google analytics asynchronous tracking script tag

This uses the now dubbed 'classic google analytics'

NOTE: you must put this right before the </head> tag see also: universalAnalytics

universalAnalytics Source #

Arguments

:: (XMLGenerator m, StringType m ~ Text) 
=> UACCT

web property ID (looks like: UA-XXXXX-X)

-> GenXML m