The FairShare APIs provides documentation for FairShare tracking and analytics services
E-mail support@fluid.app
License MIT
The FairShare APIs provides documentation for FairShare tracking and analytics services
curl -i -X POST \ https://docs.fluid.app/_mock/docs/apis/fairshare_swagger/api/v1/fairshare/activities \ -H 'Content-Type: application/json' \ -d '{ "activity_type": "viewed_page", "visitor_token": "test_visitor_token", "trackable_type": "FairShare::PageVisit", "trackable_token": "test_token", "metadata": { "url": "https://example.com" } }'
curl -i -X POST \ https://docs.fluid.app/_mock/docs/apis/fairshare_swagger/api/v1/fairshare/chat \ -H 'Content-Type: application/json' \ -d '{ "visitor_token": "HzjitJgRQNgLq9LZvTDNHyoj", "message": "Hello, I need assistance.", "contact": { "full_name": "John Doe", "phone": "+1-1234567890", "email": "test.dsl@gmail.com" }, "attribution": { "id": 1, "share_guid": "credit01" } }'
curl -i -X POST \ https://docs.fluid.app/_mock/docs/apis/fairshare_swagger/api/v1/fairshare/popup \ -H 'Content-Type: application/json' \ -d '{ "visitor_token": "HzjitJgRQNgLq9LZvTDNHyoj", "popup_id": 1, "contact": { "full_name": "John Doe", "phone": "+1-1234567890", "email": "test@gmail.com" }, "attribution": { "id": null, "share_guid": "share_guid_12345" } }'
curl -i -X POST \ https://docs.fluid.app/_mock/docs/apis/fairshare_swagger/api/v1/fairshare/view \ -H 'Content-Type: application/json' \ -d '{ "fluid_v": "visitor_token_12345", "fluid_c": "visitor_c_12345", "fingerprint": "fingerprint123", "url": "https://danphe.fluid.app/home/shop", "utm_params": { "utm_source": "google", "utm_medium": "cpc", "utm_campaign": "spring_sale", "utm_term": "shoes", "utm_content": "banner_ad" } }'