Comments (6)
Hi @nd4p90x,
I use Segment via composer. I do it as described in the original Segment PHP docs.
I initialize Segment like this:
class_alias('Segment', 'Analytics');
\Segment::init(MY_WRITE_KEY_HERE);
Then I call the track
event like this: \Segment::track($payload)
where payload is the data structure as per this gist (see both the payload creation code and the actual depersonalized payload data copied from Segment debugger).
from analytics-php.
@WhereJuly Thank you for pointing this out. We will investigate this issue and get back with you asap.
from analytics-php.
@WhereJuly Hello, I am actively testing this issue you have presented. I always try to test in multiple ways before I respond since there are many ways to implement the library. Currently I have tested via straight up scripting, using laravel via the analytics object and via the internal queue process and I am unable to reproduce loss of "track" events. Can you please provide my with the type of implementation you are using and without divulging any proprietary data, can you provide me a snippet of your code which builds out the Segment::track object? I want to do my best to duplicate your setup while testing. Thank you.
from analytics-php.
@WhereJuly Here is the payload and RAW response that I get using your data in the array, (Hardcoded of course). I know this does not exactly help you, but just so you can see that I am using the latest, via composer in my Laravel test project, and I am getting what is expected. I will continue to work on this for the time being, however, if I am unable to duplicate the issue, I am not sure what the next steps are for me to help resolve your issue.
from analytics-php.
@nd4p90x I see. Thanks for investigation. I will keep v1.7 for the time being. Just close the issue then if you cannot repeat my error. Thanks again.
from analytics-php.
@WhereJuly My apologies for not being able to assist you more with the issue. I will keep this issue in the forefront, just in case others customers see the same thing. So far, I have not heard of any others with this issue using v1.8.0. If you do find a solution or a cause, please open a new ticket or re-open this one. Thanks again.
from analytics-php.
Related Issues (20)
- Undefined index: type in segmentio/analytics-php/send.php on line 75 HOT 2
- Error: Uncaught Error: Class Segment not found HOT 2
- Socket TLS option HOT 1
- Lib_curl configure timeouts HOT 1
- Laravel integration question HOT 2
- Vendor/autoload.php is not found HOT 7
- Update Badges and codecov GH integration
- Deprecate HTTP ingestion
- Make `max_queue_size_bytes` and `max_item_size_bytes` configurable HOT 3
- v1.8/v2.0 Class 'Segment' not found HOT 14
- Batch size checking is 32KB instead of 500KB HOT 1
- Support for Regulations HOT 2
- Segment tracking doesn't work with Laravel Queues HOT 2
- Timeline for next release HOT 4
- Missing version information on latest release.
- send.php loading autoload.php relatively causes fatal error HOT 1
- Start testing on PHP 8.1 and more importantly: 8.2 HOT 7
- Request timeouts for consumers are too long HOT 1
- Multiple calls to identify for same userId on server-side? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from analytics-php.