Mautic Community Forums

Track behavior via POST curl script

I would like to follow the behavior of a leadership in several sites, integrating with the registration tool they already have.



For this I have created a PHP script that passes the data to the mautic. However, I am not managing to track leadership behavior, perhaps because the “record” was not done via standard HTML form, but by a curl call in a third PHP script.



Does anyone know why PHP registration does not work in the same way as a regular HTML file?



PS: I am using a registration code provided by escopecz at https://github.com/escopecz/mautic-form-submit.



With regard to capture everything works correctly. Just the trail that does not. Can someone help me?

I would like to follow the behavior of a leadership in several sites, integrating with the registration tool they already have.

For this I have created a PHP script that passes the data to the mautic. However, I am not managing to track leadership behavior, perhaps because the “record” was not done via standard HTML form, but by a curl call in a third PHP script.

Does anyone know why PHP registration does not work in the same way as a regular HTML file?

PS: I am using a registration code provided by escopecz at https://github.com/escopecz/mautic-form-submit.

With regard to capture everything works correctly. Just the trail that does not. Can someone help me?