Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/open-web-analytics/owa-php-sdk
Add user tracking to your PHP application with the official Open Web Analytics SDK for PHP.
https://github.com/open-web-analytics/owa-php-sdk
analytics openwebanalytics owa php sdk usertracking webanalytics
Last synced: 4 days ago
JSON representation
Add user tracking to your PHP application with the official Open Web Analytics SDK for PHP.
- Host: GitHub
- URL: https://github.com/open-web-analytics/owa-php-sdk
- Owner: Open-Web-Analytics
- License: gpl-2.0
- Created: 2020-05-02T20:56:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T20:36:51.000Z (over 1 year ago)
- Last Synced: 2024-04-29T03:21:16.464Z (7 months ago)
- Topics: analytics, openwebanalytics, owa, php, sdk, usertracking, webanalytics
- Language: PHP
- Homepage:
- Size: 78.1 KB
- Stars: 16
- Watchers: 4
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Open Web Analytics SDK for PHP
The OWA Software Development Kit for PHP makes it easy to use [Open Web Analytics](https://github.com/Open-Web-Analytics/Open-Web-Analytics) in your PHP code enabled you to easily as web analytics tracking to any PHP application. You can get started by installing The SDK via composer or downloading a tarball of our latest release. The SDK is licensed under GLP v2.0.## Resource
- [User Guide](https://github.com/Open-Web-Analytics/owa-php-sdk/wiki)
- [Issues](https://github.com/Open-Web-Analytics/owa-php-sdk/wiki)## Getting Help
We use Github for managing bugs and feature requests and have limited bandwidth to provide general support. If you do require support [please consider sponsoring the project](https://github.com/sponsors/padams).
- If you have found a bug please [open a new issue](https://github.com/Open-Web-Analytics/owa-php-sdk/wiki).
## Opening Issues
If you find a bug in the SDK, please let us know about it. However, before you create the ticket please search through the existing issues to make sure you it's not someting we already know nabout or have encountered in the past. When creating a new issue be sure to include the version of SDK, the PHP version, and operating system you are using. Also include a stack trace and detailed steps to reproduce the bug when appropriate.
## Getting Started
- **Minimum requirements** - to use the SDK you must be using OWA core v1.7.0 or later as well as PHP 7+. We highly recommend having your PHP compiled with the cURL extension.
- **Install the SDK with composer** - composer require open-web-analytics/owa-php-sdk
- **User Guide** - read the [user guide](https://github.com/Open-Web-Analytics/owa-php-sdk/wiki) in order to learn how to work wit the SDK.
## Quick Example
### Create a Tracker ###
```php
$config = [
'instance_url' => 'http://your.domain.com/owa/',
'cookie_domain' => 'your.domain.com'
];$sdk = new OwaSdk\sdk($config);
$tracker = $sdk->createTracker();
$tracker->setSiteId('9ceefbab8a804bc03cb0be196abe12f8');
$tracker->setPageTitle('Standalone PHP Test Page3');
$tracker->trackPageView();?>
```
## Realted OWA Products
- [Open Web Analytics Core](https://github.com/Open-Web-Analytics/open-web-analytics)
- [WordPress Integration Plugin](https://github.com/Open-Web-Analytics/owa-wordpress-plugin)
- [MediaWiki Integration Extension](https://github.com/Open-Web-Analytics/owa-mediawiki-extension/)