Event API Example
Prerequisites
Please ensure you have read the Event Basics documentation
Transaction with Value
After programmatically building up the URI, including data about the transaction you want to fire into Infinity, you should end up with something like;
https://ict.infinity-tracking.net/event?igrp=0&act=SALE&t=CaribbeanHoliday&txv=100&txc=GBP&txr=1453466&dt=2012-09-18%2014:32:00&vid=505b384c-e55a-45ed-b0ae-5819de41b549
Looking at each parameter individually, you will see that we are tracking an event with the following properties
- The Event will be stored against IGRP 0
- The action will be SALE
- The title will be CaribbeanHoliday
- There is a transaction value of 100
- In the GBP currency
- The unique reference for this transaction is 1453466
- The event we are tracking happened at 14:32 on the 18th of September 2012 (UTC)
- And the event will be associated to an Infinity Tracked visitor with the ID 505b384c-e55a-45ed-b0ae-5819de41b549