public static class TrackHelper.ContentImpression
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
TrackMe |
build()
May throw an
IllegalArgumentException if the TrackMe was build with incorrect arguments. |
TrackHelper.ContentImpression |
piece(java.lang.String contentPiece) |
boolean |
safelyWith(MatomoApplication matomoApplication) |
boolean |
safelyWith(Tracker tracker)
build() can throw an exception on illegal arguments. |
TrackHelper.ContentImpression |
target(java.lang.String contentTarget) |
void |
with(MatomoApplication matomoApplication) |
void |
with(Tracker tracker) |
public TrackHelper.ContentImpression piece(java.lang.String contentPiece)
contentPiece - The actual content. For instance the path to an image, video, audio, any textpublic TrackHelper.ContentImpression target(java.lang.String contentTarget)
contentTarget - The target of the content. For instance the URL of a landing page.public TrackMe build()
IllegalArgumentException if the TrackMe was build with incorrect arguments.public void with(MatomoApplication matomoApplication)
public void with(Tracker tracker)
public boolean safelyWith(MatomoApplication matomoApplication)