theiconic / php-ga-measurement-protocol

Send data to Google Analytics from the server using PHP. Implements GA measurement protocol.
MIT License
655 stars 136 forks source link

how do I add my own parameters? #82

Closed i4j5 closed 4 years ago

i4j5 commented 4 years ago

cd1, cm1 ...

alberto-bottarini commented 4 years ago
 * @method \TheIconic\Tracking\GoogleAnalytics\Analytics setCustomDimension($value, $index)
 * @method \TheIconic\Tracking\GoogleAnalytics\Analytics setCustomMetric($value, $index)
jorgeborges commented 4 years ago

As @alberto-bottarini pointed out, you can use the custom dimension methods.