\JGoogleEmbedAnalytics
Google Analytics embed class for the Joomla Platform.
Synopsis
class JGoogleEmbedAnalytics
extends JGoogleEmbed
{
- // methods
- public string getCode()
- public JGoogleEmbedAnalytics setCode()
- public boolean isAsync()
- public JGoogleEmbedAnalytics useAsync()
- public JGoogleEmbedAnalytics useSync()
- public array addCall()
- public array listCalls()
- public array deleteCall()
- public string createCall()
- public array addCustomVar()
- public string createCustomVar()
- public array addEvent()
- public string createEvent()
- public string getHeader()
- public null getBody()
- // Inherited methods from JGoogleEmbed
- public void __construct()
- public string isSecure()
- public abstract string getHeader()
- public abstract string getBody()
- public null echoHeader()
- public null echoBody()
- public mixed getOption()
- public JGoogleEmbed setOption()
Hierarchy
Extends
Members
Methods
public
- addCall() — Add an analytics call
- addCustomVar() — Add a custom variable to the analytics
- addEvent() — Track an analytics event
- createCall() — Create a javascript function from the call parameters
- createCustomVar() — Get the code to create a custom analytics variable
- createEvent() — Get the code to track an analytics event
- deleteCall() — Delete a call from the stack
- getBody() — Google Analytics only needs to be included in the header
- getCode() — Method to get the tracking code
- getHeader() — Get code to load Google Analytics javascript
- isAsync() — Checks if the javascript is set to be asynchronous
- listCalls() — List the analytics calls to be executed
- setCode() — Method to set the tracking code
- useAsync() — Load javascript asynchronously
- useSync() — Load javascript synchronously
Inherited from JGoogleEmbed
public
- echoBody() — Method to output the body for the API
- echoHeader() — Method to output the javascript header for the embed API
- getBody() — Method to retrieve the body for the API
- getHeader() — Method to retrieve the header for the API
- getOption() — Get an option from the JGoogleEmbed instance.
- isSecure() — Method to retrieve the javascript header for the embed API
- setOption() — Set an option for the JGoogleEmbed instance.