Safe Haskell | None |
---|---|
Language | Haskell98 |
- 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
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 |