I have a website on which other websites owner can list their products. For listing the product they need to manually create the product by providing title
, description
, image
and link
of products.
When any user will visit my website he will be able to view these products and on click of any product he will be redirected to the owner's website and purchase will be done on his website.
Now I need to build a functionality by which I can track the complete transaction of the sale of that particular product, that particular product has been sold or not.
- Whenever any site owner is coming on my site to list his product he needs to first register on my site.
- After registration, I can provide him a chunk of a script that he needs to put on his site header.
- Apart from this, I cannot modify his site. And I just need to track the particular product's transaction.
I have searched and found that Trivago and Skyscanner are using something like this.
I have tried to create some scripts in JS but couldn't track the desired things, as sometime user does not purchase my item and I did not know about this. In some sites, thank you
page does not have enough information about the sale to capture.
If that can be possible just by adding few more things on Marchent's website please let me know.