Regardless of what I send a 200 response is returned. I'm taking most of the values as a direct copy from the JS counterpart except for Project ID, S value, timestamp and the prop variables. Is this all I require?
I do not recommend to just copy a server call generated by DTM and try to adobt. there are a lot of information which might mess your reporting if not set properly.
I would try to use something like a simple "img tag" which are used to track eg. emails or similar (where you cant include full js). I mean, just use the structure of the corresponding sec and modify for your needs.
Also, is it standard to have the Adobe Analytics server return a 200 response regardless of what you send to it? I can send it complete nonsense and get a 200. It would be useful if it returned a server error if I didn't supply a required parameter instead of having to wait an hour to see if it logs.
With regards to not using the Java library: I found the documentation to be incredibly scarce and was unable to get it working. The only document I could find was the one you linked previously. If you compare that to the JS documentation, I'm sure you'll agree that the Java documentation is severely lacking.
I knew a colleague used the JS implementation successfully and he showed me the request they made so I mimicked the request through Postman, changing my project to his and it logged. The problem is they track a lot of parameters and I would rather not include things I don't have to.
maybe you can just modify the "src" to your needs and send it as a "REST request" to collect the data.
we have some pages where we have a hardcoded IMG tag, works as a simple counter for "impressions", nothing more. I would expect that you can do all this within Java and just add more information to the request.
remark: I would hive the Java library a try - why can't you use the library?
Thanks but I've found that PDF but regrettably it doesn't seem to give much information. Also it's for the Java library (which I've tried to use and the instantiation example doesn't work) whereas I need information on sending a REST request.