Skip to content

Commit 1fea1a7

Browse files
committed
#394 Add more tracking parameters
1 parent 42427f7 commit 1fea1a7

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ The following properties are supported:
265265
| matomo.tracker.log-failed-tracking | Will send errors to the log if the Matomo Tracking API responds with an erroneous HTTP code |
266266
| matomo.tracker.connect-timeout | allows you to change the default connection timeout of 10 seconds. 0 is interpreted as infinite, null uses the system default |
267267
| matomo.tracker.socket-timeout | allows you to change the default socket timeout of 10 seconds. 0 is interpreted as infinite, null uses the system default |
268-
| matomo.tracker.user-agent | used by the request made to the endpoint is `MatomoJavaClient` per default. You can change it by using this builder method. |
268+
| matomo.tracker.user-agent | The user agent used by the request made to the endpoint. Default: `MatomoJavaClient` |
269269
| matomo.tracker.proxy-host | The hostname or IP address of an optional HTTP proxy. `proxyPort` must be configured as well |
270270
| matomo.tracker.proxy-port | The port of an HTTP proxy. `proxyHost` must be configured as well. |
271271
| matomo.tracker.proxy-username | If the HTTP proxy requires a username for basic authentication, it can be configured with this method. Proxy host, port and password must also be set. |
@@ -412,7 +412,7 @@ public class ConsumerExample {
412412
413413
```
414414

415-
If you have multiple requests to wish to track, it may be more efficient to send them in a single HTTP call. To do this,
415+
If you have multiple requests you wish to track, it may be more efficient to send them in a single HTTP call. To do this,
416416
send a bulk request. Place your requests in an _Iterable_ data structure and call
417417

418418
```java
@@ -474,7 +474,7 @@ Per default every request has the following default parameters:
474474
| apiVersion | 1 |
475475
| responseAsImage | false |
476476

477-
Overwrite these properties as desired. We strongly recommend your to determine the visitor id for every user using
477+
Overwrite these properties as desired. We strongly recommend you to determine the visitor id for every user using
478478
a unique identifier, e.g. an email address. If you do not provide a visitor id, a random visitor id will be generated.
479479

480480
Ecommerce requests contain ecommerce items, that can be fluently build:
@@ -667,9 +667,9 @@ following breaking changes:
667667
* `setEcommerceLastOrderTimestamp` requires an `Instant` parameter
668668
* `headerAcceptLanguage` is of type `AcceptLanguage`. You can build it easily
669669
using `AcceptLanguage.fromHeader("de")`
670-
* `visitorCountry` is of type `Country`. You can build it easily using `AcceptLanguage.fromCode("fr")`
670+
* `visitorCountry` is of type `Country`. You can build it easily using `Country.fromCode("fr")`
671671
* `deviceResolution` is of type `DeviceResolution`. You can build it easily
672-
using `DeviceResolution.builder.width(...).height(...).build()`. To easy the migration, we added a constructor
672+
using `DeviceResolution.builder.width(...).height(...).build()`. To ease the migration, we added a constructor
673673
method `DeviceResolution.fromString()` that accepts inputs of kind _width_x_height_, e.g. `100x200`
674674
* `pageViewId` is of type `UniqueId`. You can build it easily using `UniqueId.random()`
675675
* `randomValue` is of type `RandomValue`. You can build it easily using `RandomValue.random()`. However, if you
@@ -713,7 +713,7 @@ mvn install
713713
```
714714

715715
The built jars and javadoc can be found in `target`. By using
716-
the Maven goal `install, a snapshot
716+
the Maven goal `install`, a snapshot
717717
version can be used in your local Maven repository for testing purposes, e.g.
718718

719719
```xml
@@ -757,7 +757,7 @@ docker-compose exec matomo sh -c 'echo -e "\n\n[Tracker]\ndebug = 1\n" >> /var/w
757757
To test the servlet integration, run `MatomoServletTester` in your favorite IDE. It starts an embedded Jetty server
758758
that serves a simple servlet. The servlet sends a request to the local Matomo instance if you call the URL
759759
http://localhost:8090/track.html. Maybe you need to disable support for the Do Not Track preference in Matomo to get the
760-
request tracked: Go to _Administration > Privacy > Do Not Track_ and disable the checkbox _Respect Do Not Track.
760+
request tracked: Go to _Administration > Privacy > Do Not Track_ and disable the checkbox _Respect Do Not Track_.
761761
We also recommend to install the Custom Variables plugin from Marketplace to the test custom variables feature and
762762
setup some dimensions.
763763

@@ -774,7 +774,7 @@ free to:
774774
* Fork this project
775775
* Create a feature branch from the _master_ branch
776776
* Write awesome code that does awesome things
777-
* Write awesome test to test your awesome code
777+
* Write awesome tests to test your awesome code
778778
* Verify that everything is working as it should by running _mvn test_. If everything passes, you may
779779
want to make sure that your tests are covering everything you think they are!
780780
Run `mvn verify` to find out!

0 commit comments

Comments
 (0)