Using GTM for tracking all user actions
Using GTM (Google tag manager) on your site for tracking all user actions and affiliates is a great way to keep all of your rules and settings in once place.
1. you can use these 3 url parameters to trigger GTM and add any action\script you want:
registration: page=ThankYou (for registraion)
First deposit: page=SuccessfulFirstDeposit (first time deposit)
Additional deposit: page=SuccessfulDeposit (regular deposit)
2. lets take the deposit for an example,
you can simulate a user deposit with this url:
https://payments.v8options.com/index/dummy/status/approved/first/1
once user made a deposit you can use these cookies which are valid for 60 seconds:
you can retrieve any data that you want about the deposite using the cookies.
you have one cookie that all all data: "deposit"
you also have other separated cookies that hold each data separately (e.g depositAmount)
this way you can add a script\action on GTM and use the cookies to do anything you want.