There are several parameters that can be used to track a conversion using our REST API. Among these is the visitor id. Using the visitor id has an important caveat that you will need to consider before deciding which approach you will take for tracking conversions.
As explained in the API docs, you can read the
Now, if you are planning on storing the content of
tap.vid, to use for a conversion on a later date, for example, because you have a long sales funnel or want to award recurring commission, the last affiliate which is tied to the visitor id might have changed. This means that the commission will get awarded to the wrong affiliate. In other words: only use the
tap.vid property in conjunction with the REST conversion API if you will track the conversion at the actual moment that it happens.
We have other means of dealing with long sales funnels (namely a commission approval API) and recurring/lifetime commissions. The simple workflow for recurring/lifetime commissions is described in this article.