Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype UACCT = UACCT String
- analytics :: (XMLGenerator m, StringType m ~ Text) => UACCT -> GenXMLList m
- analyticsAsync :: (XMLGenerator m, StringType m ~ Text) => UACCT -> GenXML m
- universalAnalytics :: (XMLGenerator m, StringType m ~ Text) => UACCT -> GenXML m
Documentation
Instances
Eq UACCT Source # | |
Data UACCT Source # | |
Defined in HSP.Google.Analytics 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 # 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 # | |
Read UACCT Source # | |
Show UACCT Source # | |
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
:: (XMLGenerator m, StringType m ~ Text) | |
=> UACCT | web property ID (looks like: |
-> 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
:: (XMLGenerator m, StringType m ~ Text) | |
=> UACCT | web property ID (looks like: |
-> GenXML m |