Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

ActivityHelper - Class in org.piwik.sdk.tools
 
ActivityHelper() - Constructor for class org.piwik.sdk.tools.ActivityHelper
 
add(Event) - Method in class org.piwik.sdk.dispatcher.EventCache
 
addItem(EcommerceItems.Item) - Method in class org.piwik.sdk.extra.EcommerceItems
Adds a product into the ecommerce order.
ApkChecksum(Context) - Constructor for class org.piwik.sdk.extra.DownloadTracker.Extra.ApkChecksum
 
ApkChecksum(PackageInfo) - Constructor for class org.piwik.sdk.extra.DownloadTracker.Extra.ApkChecksum
 
AppTracking(TrackHelper, Application) - Constructor for class org.piwik.sdk.extra.TrackHelper.AppTracking
 

B

breadcrumbsToPath(String) - Static method in class org.piwik.sdk.tools.ActivityHelper
 
build(Tracker) - Method in class org.piwik.sdk.dispatcher.DispatcherFactory
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.CartUpdate
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.ContentImpression
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.ContentInteraction
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.EventBuilder
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.Exception
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.Goal
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.Order
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.Outlink
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.Screen
 
build() - Method in class org.piwik.sdk.extra.TrackHelper.Search
 
buildExtraIdentifier() - Method in class org.piwik.sdk.extra.DownloadTracker.Extra.ApkChecksum
 
buildExtraIdentifier() - Method in interface org.piwik.sdk.extra.DownloadTracker.Extra
Example:
com.example.pkg:1/ABCDEF01234567
"ABCDEF01234567" is the extra identifier here.
buildExtraIdentifier() - Method in class org.piwik.sdk.extra.DownloadTracker.Extra.None
 
BuildInfo - Class in org.piwik.sdk.tools
 
BuildInfo() - Constructor for class org.piwik.sdk.tools.BuildInfo
 
buildPackets(List<Event>) - Method in class org.piwik.sdk.dispatcher.PacketFactory
 

C

cache(List<Event>) - Method in class org.piwik.sdk.dispatcher.EventDiskCache
 
cartUpdate(int) - Method in class org.piwik.sdk.extra.TrackHelper
Tracks a shopping cart.
category(String) - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
category(String) - Method in class org.piwik.sdk.extra.TrackHelper.Search
You can optionally specify a search category with this parameter.
Checksum - Class in org.piwik.sdk.tools
Offers to calculate checksums
Checksum() - Constructor for class org.piwik.sdk.tools.Checksum
 
clear() - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
clear() - Method in class org.piwik.sdk.dispatcher.EventCache
 
clear() - Method in class org.piwik.sdk.extra.EcommerceItems
Clears all items from the ecommerce order
Connectivity - Class in org.piwik.sdk.tools
 
Connectivity(Context) - Constructor for class org.piwik.sdk.tools.Connectivity
 
Connectivity.Type - Enum in org.piwik.sdk.tools
 
count(Integer) - Method in class org.piwik.sdk.extra.TrackHelper.Search
We recommend to set the search count to the number of search results displayed on the results page.
createDefault(String, int) - Static method in class org.piwik.sdk.TrackerConfig
Creates a configuration for the default tracker, implicitly setting the tracker name to "Default Tracker".
CurrencyFormatter - Class in org.piwik.sdk.tools
 
CurrencyFormatter() - Constructor for class org.piwik.sdk.tools.CurrencyFormatter
 
Custom() - Constructor for class org.piwik.sdk.extra.DownloadTracker.Extra.Custom
 
CustomDimension - Class in org.piwik.sdk.extra
Allows you to track Custom Dimensions.
CustomDimension() - Constructor for class org.piwik.sdk.extra.CustomDimension
 
CustomVariables - Class in org.piwik.sdk.extra
A custom variable is a custom name-value pair that you can assign to your users or screen views, and then visualize the reports of how many visits, conversions, etc.
CustomVariables() - Constructor for class org.piwik.sdk.extra.CustomVariables
 
CustomVariables(CustomVariables) - Constructor for class org.piwik.sdk.extra.CustomVariables
 
CustomVariables(String) - Constructor for class org.piwik.sdk.extra.CustomVariables
 

D

description(String) - Method in class org.piwik.sdk.extra.TrackHelper.Exception
 
DeviceHelper - Class in org.piwik.sdk.tools
Helper class to gain information about the device we are running on
DeviceHelper(Context, PropertySource, BuildInfo) - Constructor for class org.piwik.sdk.tools.DeviceHelper
 
dimension(int, String) - Method in class org.piwik.sdk.extra.TrackHelper
 
dimension(int, String) - Method in class org.piwik.sdk.extra.TrackHelper.Dimension
 
dimension(int, String) - Method in class org.piwik.sdk.extra.TrackHelper.Screen
Requires Custom Dimensions plugin (server-side)
discount(Integer) - Method in class org.piwik.sdk.extra.TrackHelper.Order
 
dispatch(Packet) - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
dispatch() - Method in class org.piwik.sdk.Tracker
Processes all queued events in background thread
Dispatcher - Class in org.piwik.sdk.dispatcher
Responsible for transmitting packets to a server
Dispatcher(EventCache, Connectivity, PacketFactory) - Constructor for class org.piwik.sdk.dispatcher.Dispatcher
 
DispatcherFactory - Class in org.piwik.sdk.dispatcher
 
DispatcherFactory() - Constructor for class org.piwik.sdk.dispatcher.DispatcherFactory
 
DispatchMode - Enum in org.piwik.sdk.dispatcher
 
download(DownloadTracker) - Method in class org.piwik.sdk.extra.TrackHelper
Sends a download event for this app.
download() - Method in class org.piwik.sdk.extra.TrackHelper
 
DownloadTracker - Class in org.piwik.sdk.extra
 
DownloadTracker(Tracker) - Constructor for class org.piwik.sdk.extra.DownloadTracker
 
DownloadTracker(Tracker, PackageInfo) - Constructor for class org.piwik.sdk.extra.DownloadTracker
 
DownloadTracker.Extra - Interface in org.piwik.sdk.extra
 
DownloadTracker.Extra.ApkChecksum - Class in org.piwik.sdk.extra
The MD5 checksum of the apk file.
DownloadTracker.Extra.Custom - Class in org.piwik.sdk.extra
Custom exta identifier.
DownloadTracker.Extra.None - Class in org.piwik.sdk.extra
No extra identifier.
drainTo(List<Event>) - Method in class org.piwik.sdk.dispatcher.EventCache
 

E

EcommerceItems - Class in org.piwik.sdk.extra
 
EcommerceItems() - Constructor for class org.piwik.sdk.extra.EcommerceItems
 
EcommerceItems.Item - Class in org.piwik.sdk.extra
 
equals(Object) - Method in class org.piwik.sdk.dispatcher.Event
 
equals(Object) - Method in class org.piwik.sdk.Tracker
 
equals(Object) - Method in class org.piwik.sdk.TrackerConfig
 
Event - Class in org.piwik.sdk.dispatcher
 
Event(Map<String, String>) - Constructor for class org.piwik.sdk.dispatcher.Event
 
Event(String) - Constructor for class org.piwik.sdk.dispatcher.Event
 
Event(long, String) - Constructor for class org.piwik.sdk.dispatcher.Event
 
event(String, String) - Method in class org.piwik.sdk.extra.TrackHelper
Events are a useful way to collect data about a user's interaction with interactive components of your app, like button presses or the use of a particular item in a game.
EventCache - Class in org.piwik.sdk.dispatcher
 
EventCache(EventDiskCache) - Constructor for class org.piwik.sdk.dispatcher.EventCache
 
EventDiskCache - Class in org.piwik.sdk.dispatcher
 
EventDiskCache(Tracker) - Constructor for class org.piwik.sdk.dispatcher.EventDiskCache
 
exception(Throwable) - Method in class org.piwik.sdk.extra.TrackHelper
Caught exceptions are errors in your app for which you've defined exception handling code, such as the occasional timeout of a network connection during a request for data.

F

fatal(boolean) - Method in class org.piwik.sdk.extra.TrackHelper.Exception
 
force() - Method in class org.piwik.sdk.extra.TrackHelper.Download
Normally a download event is only fired once per app version.
forceDispatch() - Method in class org.piwik.sdk.dispatcher.Dispatcher
Starts the dispatcher for one cycle if it is currently not working.
fromString(String) - Static method in enum org.piwik.sdk.dispatcher.DispatchMode
 

G

get(String) - Method in class org.piwik.sdk.TrackMe
Consider using QueryParams instead of raw strings
get(QueryParams) - Method in class org.piwik.sdk.TrackMe
 
getAPIUrl() - Method in class org.piwik.sdk.Tracker
 
getApiUrl() - Method in class org.piwik.sdk.TrackerConfig
 
getApplicationBaseURL() - Method in class org.piwik.sdk.Tracker
 
getApplicationDomain() - Method in class org.piwik.sdk.Piwik
 
getApplicationDomain() - Method in class org.piwik.sdk.Tracker
 
getBreadcrumbs(Activity) - Static method in class org.piwik.sdk.tools.ActivityHelper
 
getBuildId() - Method in class org.piwik.sdk.tools.BuildInfo
 
getCategory() - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
getConnectionTimeOut() - Method in class org.piwik.sdk.dispatcher.Dispatcher
Connection timeout in milliseconds
getContext() - Method in class org.piwik.sdk.Piwik
 
getDefaultExceptionHandler() - Method in class org.piwik.sdk.extra.PiwikExceptionHandler
This will give you the previous exception handler that is now wrapped.
getDefaultTrackMe() - Method in class org.piwik.sdk.Tracker
Piwik will use the content of this object to fill in missing values before any transmission.
getDimension(TrackMe, int) - Static method in class org.piwik.sdk.extra.CustomDimension
 
getDispatcherFactory() - Method in class org.piwik.sdk.Piwik
 
getDispatchGzipped() - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
getDispatchInterval() - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
getDispatchInterval() - Method in class org.piwik.sdk.Tracker
 
getDispatchMode() - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
getDispatchMode() - Method in class org.piwik.sdk.Tracker
The current dispatch behavior.
getDispatchTimeout() - Method in class org.piwik.sdk.Tracker
getDryRunTarget() - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
getDryRunTarget() - Method in class org.piwik.sdk.Tracker
If we are in dry-run mode then this will return a datastructure.
getEncodedQuery() - Method in class org.piwik.sdk.dispatcher.Event
 
getEventCount() - Method in class org.piwik.sdk.dispatcher.Packet
 
getHex(byte[]) - Static method in class org.piwik.sdk.tools.Checksum
Transforms byte into hex representation.
getHttpAgent() - Method in class org.piwik.sdk.tools.PropertySource
 
getInstance(Context) - Static method in class org.piwik.sdk.Piwik
 
getJVMVersion() - Method in class org.piwik.sdk.tools.PropertySource
 
getLastEventX() - Method in class org.piwik.sdk.Tracker
For testing purposes
getMD5Checksum(String) - Static method in class org.piwik.sdk.tools.Checksum
MD5-Checksum for a string.
getMD5Checksum(File) - Static method in class org.piwik.sdk.tools.Checksum
MD5-Checksum for a file.
getModel() - Method in class org.piwik.sdk.tools.BuildInfo
 
getName() - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
getName() - Method in class org.piwik.sdk.Tracker
 
getOfflineCacheAge() - Method in class org.piwik.sdk.Tracker
getOfflineCacheSize() - Method in class org.piwik.sdk.Tracker
Maximum size the offline cache is allowed to grow to.
getPiwik() - Method in class org.piwik.sdk.extra.PiwikApplication
 
getPiwik() - Method in class org.piwik.sdk.Tracker
 
getPiwikPreferences() - Method in class org.piwik.sdk.Piwik
Base preferences, tracker idenpendent.
getPostData() - Method in class org.piwik.sdk.dispatcher.Packet
 
getPreferences() - Method in class org.piwik.sdk.Tracker
 
getPrice() - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
getQuantity() - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
getRelease() - Method in class org.piwik.sdk.tools.BuildInfo
 
getResolution() - Method in class org.piwik.sdk.tools.DeviceHelper
Tries to get the most accurate device resolution.
getSessionTimeout() - Method in class org.piwik.sdk.Tracker
Default is 30min (30*60*1000).
getSiteId() - Method in class org.piwik.sdk.Tracker
 
getSiteId() - Method in class org.piwik.sdk.TrackerConfig
 
getSku() - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
getSystemProperty(String) - Method in class org.piwik.sdk.tools.PropertySource
 
getTargetURL() - Method in class org.piwik.sdk.dispatcher.Packet
 
getTimeStamp() - Method in class org.piwik.sdk.dispatcher.Event
 
getTimeStamp() - Method in class org.piwik.sdk.dispatcher.Packet
A timestamp to use when replaying offline data
getTracker() - Method in class org.piwik.sdk.extra.PiwikApplication
Gives you an all purpose thread-safe persisted Tracker object.
getTracker() - Method in class org.piwik.sdk.extra.PiwikExceptionHandler
 
getTrackerName() - Method in class org.piwik.sdk.TrackerConfig
 
getTrackerPreferences(Tracker) - Method in class org.piwik.sdk.Piwik
 
getType() - Method in class org.piwik.sdk.tools.Connectivity
 
getUserAgent() - Method in class org.piwik.sdk.tools.DeviceHelper
Returns android system user agent
getUserId() - Method in class org.piwik.sdk.Tracker
 
getUserLanguage() - Method in class org.piwik.sdk.tools.DeviceHelper
Returns user language
getVersion() - Method in class org.piwik.sdk.extra.DownloadTracker
 
getVisitorId() - Method in class org.piwik.sdk.Tracker
 
goal(int) - Method in class org.piwik.sdk.extra.TrackHelper
By default, Goals in Piwik are defined as "matching" parts of the screen path or screen title.

H

has(QueryParams) - Method in class org.piwik.sdk.TrackMe
 
hashCode() - Method in class org.piwik.sdk.dispatcher.Event
 
hashCode() - Method in class org.piwik.sdk.Tracker
 
hashCode() - Method in class org.piwik.sdk.TrackerConfig
 

I

identifier(DownloadTracker.Extra) - Method in class org.piwik.sdk.extra.TrackHelper.Download
Sets the identifier type for this download
impression(String) - Method in class org.piwik.sdk.extra.TrackHelper
Tracking the impressions
injectVisitVariables(TrackMe) - Method in class org.piwik.sdk.extra.CustomVariables
Sets the custom variables with scope VISIT to a TrackMe.
InstallReferrerReceiver - Class in org.piwik.sdk.extra
 
InstallReferrerReceiver() - Constructor for class org.piwik.sdk.extra.InstallReferrerReceiver
 
interaction(String, String) - Method in class org.piwik.sdk.extra.TrackHelper
Tracking the interactions
isConnected() - Method in class org.piwik.sdk.tools.Connectivity
 
isEmpty() - Method in class org.piwik.sdk.dispatcher.EventCache
 
isEmpty() - Method in class org.piwik.sdk.dispatcher.EventDiskCache
 
isEmpty() - Method in class org.piwik.sdk.TrackMe
 
isIntensiveWork() - Method in class org.piwik.sdk.extra.DownloadTracker.Extra.ApkChecksum
 
isIntensiveWork() - Method in interface org.piwik.sdk.extra.DownloadTracker.Extra
Does your DownloadTracker.Extra implementation do work intensive stuff? Network? IO?
isIntensiveWork() - Method in class org.piwik.sdk.extra.DownloadTracker.Extra.None
 
isOptOut() - Method in class org.piwik.sdk.Tracker
 
Item(String) - Constructor for class org.piwik.sdk.extra.EcommerceItems.Item
If the same sku is used twice, the first item is overwritten.
items(EcommerceItems) - Method in class org.piwik.sdk.extra.TrackHelper.CartUpdate
 
items(EcommerceItems) - Method in class org.piwik.sdk.extra.TrackHelper.Order
 

J

joinSlash(List<String>) - Static method in class org.piwik.sdk.tools.ActivityHelper
 

L

LegacySettingsPorter - Class in org.piwik.sdk
 
LegacySettingsPorter(Piwik) - Constructor for class org.piwik.sdk.LegacySettingsPorter
 
LOGGER_PREFIX - Static variable in class org.piwik.sdk.Piwik
 
LOGGER_TAG - Static variable in class org.piwik.sdk.extra.DownloadTracker
 

M

makeRandomVisitorId() - Static method in class org.piwik.sdk.Tracker
 
MAX_LENGTH - Static variable in class org.piwik.sdk.extra.CustomVariables
 
mBaseTrackMe - Variable in class org.piwik.sdk.extra.TrackHelper
 

N

name(String) - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
name(String) - Method in class org.piwik.sdk.extra.TrackHelper.EventBuilder
Defines a label associated with the event.
newTracker(TrackerConfig) - Method in class org.piwik.sdk.Piwik
 
None() - Constructor for class org.piwik.sdk.extra.DownloadTracker.Extra.None
 

O

onCreateTrackerConfig() - Method in class org.piwik.sdk.extra.PiwikApplication
onLowMemory() - Method in class org.piwik.sdk.extra.PiwikApplication
 
onReceive(Context, Intent) - Method in class org.piwik.sdk.extra.InstallReferrerReceiver
 
onTrimMemory(int) - Method in class org.piwik.sdk.extra.PiwikApplication
 
order(String, int) - Method in class org.piwik.sdk.extra.TrackHelper
Tracks an Ecommerce order, including any ecommerce item previously added to the order.
org.piwik.sdk - package org.piwik.sdk
 
org.piwik.sdk.dispatcher - package org.piwik.sdk.dispatcher
 
org.piwik.sdk.extra - package org.piwik.sdk.extra
 
org.piwik.sdk.tools - package org.piwik.sdk.tools
 
outlink(URL) - Method in class org.piwik.sdk.extra.TrackHelper
Tracks an Outlink

P

Packet - Class in org.piwik.sdk.dispatcher
Data that can be send to the backend API via the Dispatcher
Packet(URL) - Constructor for class org.piwik.sdk.dispatcher.Packet
Constructor for GET requests
Packet(URL, JSONObject, int) - Constructor for class org.piwik.sdk.dispatcher.Packet
Constructor for POST requests
PacketFactory - Class in org.piwik.sdk.dispatcher
 
PacketFactory(URL) - Constructor for class org.piwik.sdk.dispatcher.PacketFactory
 
PAGE_SIZE - Static variable in class org.piwik.sdk.dispatcher.PacketFactory
 
parse(URI, String) - Static method in class org.piwik.sdk.tools.UrlHelper
 
parse(List<Pair<String, String>>, Scanner, String) - Static method in class org.piwik.sdk.tools.UrlHelper
 
path(String) - Method in class org.piwik.sdk.extra.TrackHelper.EventBuilder
The path under which this event occurred.
piece(String) - Method in class org.piwik.sdk.extra.TrackHelper.ContentImpression
 
piece(String) - Method in class org.piwik.sdk.extra.TrackHelper.ContentInteraction
 
Piwik - Class in org.piwik.sdk
 
PiwikApplication - Class in org.piwik.sdk.extra
 
PiwikApplication() - Constructor for class org.piwik.sdk.extra.PiwikApplication
 
PiwikExceptionHandler - Class in org.piwik.sdk.extra
An exception handler that wraps the existing exception handler and dispatches event to a Tracker.
PiwikExceptionHandler(Tracker, TrackMe) - Constructor for class org.piwik.sdk.extra.PiwikExceptionHandler
 
port(Tracker) - Method in class org.piwik.sdk.LegacySettingsPorter
 
PREF_KEY_DISPATCHER_MODE - Static variable in class org.piwik.sdk.Tracker
 
PREF_KEY_OFFLINE_CACHE_AGE - Static variable in class org.piwik.sdk.Tracker
 
PREF_KEY_OFFLINE_CACHE_SIZE - Static variable in class org.piwik.sdk.Tracker
 
PREF_KEY_TRACKER_FIRSTVISIT - Static variable in class org.piwik.sdk.Tracker
 
PREF_KEY_TRACKER_OPTOUT - Static variable in class org.piwik.sdk.Tracker
 
PREF_KEY_TRACKER_PREVIOUSVISIT - Static variable in class org.piwik.sdk.Tracker
 
PREF_KEY_TRACKER_USERID - Static variable in class org.piwik.sdk.Tracker
 
PREF_KEY_TRACKER_VISITCOUNT - Static variable in class org.piwik.sdk.Tracker
 
price(int) - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
priceString(Integer) - Static method in class org.piwik.sdk.tools.CurrencyFormatter
 
PropertySource - Class in org.piwik.sdk.tools
 
PropertySource() - Constructor for class org.piwik.sdk.tools.PropertySource
 
put(int, String, String) - Method in class org.piwik.sdk.extra.CustomVariables
Custom variable names and values are limited to 200 characters in length each.
put(String, JSONArray) - Method in class org.piwik.sdk.extra.CustomVariables
 
putAll(CustomVariables) - Method in class org.piwik.sdk.extra.CustomVariables
 
putAll(TrackMe) - Method in class org.piwik.sdk.TrackMe
Adds TrackMe to this TrackMe, overriding values if necessary.

Q

quantity(int) - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
QueryParams - Enum in org.piwik.sdk
Query parameters supported by the tracking HTTP API.

R

remove(String) - Method in class org.piwik.sdk.extra.EcommerceItems
Remove a product from an ecommerce order.
remove(EcommerceItems.Item) - Method in class org.piwik.sdk.extra.EcommerceItems
 
requeue(List<Event>) - Method in class org.piwik.sdk.dispatcher.EventCache
 
revenue(Float) - Method in class org.piwik.sdk.extra.TrackHelper.Goal
Tracking request will trigger a conversion for the goal of the website being tracked with this ID

S

screen(String) - Method in class org.piwik.sdk.extra.TrackHelper
To track a screenview.
screen(Activity) - Method in class org.piwik.sdk.extra.TrackHelper
Calls TrackHelper.screen(String) for an activity.
screens(Application) - Method in class org.piwik.sdk.extra.TrackHelper
This method will bind a tracker to your application, causing it to automatically track Activities with TrackHelper.screen(Activity) within your app.
search(String) - Method in class org.piwik.sdk.extra.TrackHelper
Tracks an site search
set(String, String) - Method in class org.piwik.sdk.TrackMe
Consider using QueryParams instead of raw strings
set(QueryParams, String) - Method in class org.piwik.sdk.TrackMe
You can set any additional Tracking API Parameters within the SDK.
set(QueryParams, int) - Method in class org.piwik.sdk.TrackMe
 
set(QueryParams, float) - Method in class org.piwik.sdk.TrackMe
 
set(QueryParams, long) - Method in class org.piwik.sdk.TrackMe
 
setApplicationDomain(String) - Method in class org.piwik.sdk.Tracker
Domain used to build required parameter url (http://developer.piwik.org/api-reference/tracking-api) If domain wasn't set `Application.getPackageName()` method will be used
setConnectionTimeOut(int) - Method in class org.piwik.sdk.dispatcher.Dispatcher
Timeout when trying to establish connection and when trying to read a response.
setDimension(TrackMe, int, String) - Static method in class org.piwik.sdk.extra.CustomDimension
This method sets a tracking API parameter dimension%dimensionId%=%dimensionValue%.
setDispatchGzipped(boolean) - Method in class org.piwik.sdk.dispatcher.Dispatcher
Packets are collected and dispatched in batches.
setDispatchGzipped(boolean) - Method in class org.piwik.sdk.Tracker
Defines if when dispatched, posted JSON must be Gzipped.
setDispatchInterval(long) - Method in class org.piwik.sdk.dispatcher.Dispatcher
Packets are collected and dispatched in batches, this intervals sets the pause between batches.
setDispatchInterval(long) - Method in class org.piwik.sdk.Tracker
Set the interval to 0 to dispatch events as soon as they are queued.
setDispatchMode(DispatchMode) - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
setDispatchMode(DispatchMode) - Method in class org.piwik.sdk.Tracker
Sets the dispatch mode.
setDispatchTimeout(int) - Method in class org.piwik.sdk.Tracker
setDryRunTarget(List<Packet>) - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
setDryRunTarget(List<Packet>) - Method in class org.piwik.sdk.Tracker
Set a data structure here to put the Dispatcher into dry-run-mode.
setOfflineCacheAge(long) - Method in class org.piwik.sdk.Tracker
For how long events should be stored if they could not be send.
setOfflineCacheSize(long) - Method in class org.piwik.sdk.Tracker
How large the offline cache may be.
setOptOut(boolean) - Method in class org.piwik.sdk.Tracker
Use this to disable this Tracker, e.g.
setSessionTimeout(int) - Method in class org.piwik.sdk.Tracker
 
setUserId(String) - Method in class org.piwik.sdk.Tracker
Defines the User ID for this request.
setVersion(String) - Method in class org.piwik.sdk.extra.DownloadTracker
 
setVisitorId(String) - Method in class org.piwik.sdk.Tracker
The unique visitor ID, must be a 16 characters hexadecimal string.
shipping(Integer) - Method in class org.piwik.sdk.extra.TrackHelper.Order
 
size() - Method in class org.piwik.sdk.extra.CustomVariables
 
startNewSession() - Method in class org.piwik.sdk.Tracker
 
submit(TrackMe) - Method in class org.piwik.sdk.dispatcher.Dispatcher
 
subTotal(Integer) - Method in class org.piwik.sdk.extra.TrackHelper.Order
 

T

target(String) - Method in class org.piwik.sdk.extra.TrackHelper.ContentImpression
 
target(String) - Method in class org.piwik.sdk.extra.TrackHelper.ContentInteraction
 
tax(Integer) - Method in class org.piwik.sdk.extra.TrackHelper.Order
 
title(String) - Method in class org.piwik.sdk.extra.TrackHelper.Screen
The title of the action being tracked.
toJson() - Method in class org.piwik.sdk.extra.EcommerceItems.Item
 
toJson() - Method in class org.piwik.sdk.extra.EcommerceItems
 
toMap() - Method in class org.piwik.sdk.TrackMe
The tracker calls this to get the final data that will be transmitted
toString() - Method in enum org.piwik.sdk.dispatcher.DispatchMode
 
toString() - Method in class org.piwik.sdk.dispatcher.Event
 
toString() - Method in class org.piwik.sdk.extra.CustomVariables
 
toString() - Method in enum org.piwik.sdk.QueryParams
 
toVisitVariables() - Method in class org.piwik.sdk.extra.CustomVariables
 
track() - Static method in class org.piwik.sdk.extra.TrackHelper
 
track(TrackMe) - Static method in class org.piwik.sdk.extra.TrackHelper
 
track(TrackMe) - Method in class org.piwik.sdk.Tracker
 
Tracker - Class in org.piwik.sdk
Main tracking class This class is threadsafe.
Tracker(Piwik, TrackerConfig) - Constructor for class org.piwik.sdk.Tracker
Use Piwik.newTracker() method to create new trackers
TrackerConfig - Class in org.piwik.sdk
Configuration details for a Tracker
TrackerConfig(String, int, String) - Constructor for class org.piwik.sdk.TrackerConfig
Use Piwik.newTracker() method to create new trackers
TrackHelper - Class in org.piwik.sdk.extra
 
TrackHelper.AppTracking - Class in org.piwik.sdk.extra
 
TrackHelper.CartUpdate - Class in org.piwik.sdk.extra
 
TrackHelper.ContentImpression - Class in org.piwik.sdk.extra
 
TrackHelper.ContentInteraction - Class in org.piwik.sdk.extra
 
TrackHelper.Dimension - Class in org.piwik.sdk.extra
 
TrackHelper.Download - Class in org.piwik.sdk.extra
 
TrackHelper.EventBuilder - Class in org.piwik.sdk.extra
 
TrackHelper.Exception - Class in org.piwik.sdk.extra
 
TrackHelper.Goal - Class in org.piwik.sdk.extra
 
TrackHelper.Order - Class in org.piwik.sdk.extra
 
TrackHelper.Outlink - Class in org.piwik.sdk.extra
 
TrackHelper.Screen - Class in org.piwik.sdk.extra
 
TrackHelper.Search - Class in org.piwik.sdk.extra
 
TrackHelper.UncaughtExceptions - Class in org.piwik.sdk.extra
 
TrackHelper.VisitVariables - Class in org.piwik.sdk.extra
 
TrackMe - Class in org.piwik.sdk
This objects represents one query to Piwik.
TrackMe() - Constructor for class org.piwik.sdk.TrackMe
 
TrackMe(TrackMe) - Constructor for class org.piwik.sdk.TrackMe
 
trackNewAppDownload(TrackMe, DownloadTracker.Extra) - Method in class org.piwik.sdk.extra.DownloadTracker
 
trackOnce(TrackMe, DownloadTracker.Extra) - Method in class org.piwik.sdk.extra.DownloadTracker
 
tryNewSession() - Method in class org.piwik.sdk.Tracker
 
trySet(QueryParams, int) - Method in class org.piwik.sdk.TrackMe
Only sets the value if it doesn't exist.
trySet(QueryParams, float) - Method in class org.piwik.sdk.TrackMe
Only sets the value if it doesn't exist.
trySet(QueryParams, long) - Method in class org.piwik.sdk.TrackMe
 
trySet(QueryParams, String) - Method in class org.piwik.sdk.TrackMe
Only sets the value if it doesn't exist.

U

uncache() - Method in class org.piwik.sdk.dispatcher.EventDiskCache
 
uncaughtException(Thread, Throwable) - Method in class org.piwik.sdk.extra.PiwikExceptionHandler
 
uncaughtExceptions() - Method in class org.piwik.sdk.extra.TrackHelper
This will create an exception handler that wraps any existing exception handler.
updateState(boolean) - Method in class org.piwik.sdk.dispatcher.EventCache
 
UrlHelper - Class in org.piwik.sdk.tools
Helps us with Urls.
UrlHelper() - Constructor for class org.piwik.sdk.tools.UrlHelper
 

V

value(Float) - Method in class org.piwik.sdk.extra.TrackHelper.EventBuilder
Defines a numeric value associated with the event.
valueOf(String) - Static method in enum org.piwik.sdk.dispatcher.DispatchMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.piwik.sdk.QueryParams
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.piwik.sdk.tools.Connectivity.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.piwik.sdk.dispatcher.DispatchMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.piwik.sdk.QueryParams
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.piwik.sdk.tools.Connectivity.Type
Returns an array containing the constants of this enum type, in the order they are declared.
variable(int, String, String) - Method in class org.piwik.sdk.extra.TrackHelper.Screen
Deprecated.
Consider using Custom Dimensions
version(String) - Method in class org.piwik.sdk.extra.TrackHelper.Download
To track specific app versions.
visitVariables(int, String, String) - Method in class org.piwik.sdk.extra.TrackHelper
Deprecated.
Consider using Custom Dimensions
visitVariables(CustomVariables) - Method in class org.piwik.sdk.extra.TrackHelper
Deprecated.
Consider using Custom Dimensions
VisitVariables(TrackHelper, CustomVariables) - Constructor for class org.piwik.sdk.extra.TrackHelper.VisitVariables
 
visitVariables(int, String, String) - Method in class org.piwik.sdk.extra.TrackHelper.VisitVariables
 

W

with(Tracker) - Method in class org.piwik.sdk.extra.TrackHelper.AppTracking
 
with(Tracker) - Method in class org.piwik.sdk.extra.TrackHelper.Download
 
with(Tracker) - Method in class org.piwik.sdk.extra.TrackHelper.UncaughtExceptions
 
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links