Class JGoogleEmbedAnalytics
Google Analytics embed class for the Joomla Platform.
- JGoogleEmbed
- JGoogleEmbedAnalytics
Package: Joomla\Platform\Google
Deprecated: 4.0 Use the
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved
License: General Public License version 2 or later; see LICENSE
Since: 12.3
Located at joomla/google/embed/analytics.php
Deprecated: 4.0 Use the
joomla/google
package via Composer insteadCopyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved
License: General Public License version 2 or later; see LICENSE
Since: 12.3
Located at joomla/google/embed/analytics.php
Methods summary
public
string
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
string
|
#
createCall( string $method, array $params = array() )
Create a javascript function from the call parameters |
public
array
|
#
addCustomVar( integer $slot, string $name, string $value, integer $scope = 3 )
Add a custom variable to the analytics |
public
string
|
#
createCustomVar( integer $slot, string $name, string $value, integer $scope = 3 )
Get the code to create a custom analytics variable |
public
array
|
|
public
string
|
#
createEvent( string $category, string $action, string $label = null, string $value = null, boolean $noninteract = false )
Get the code to track an analytics event |
public
string
|
|
public
null
|
Methods inherited from JGoogleEmbed
__construct()
,
echoBody()
,
echoHeader()
,
getOption()
,
isSecure()
,
setOption()