User-related variables are designed for our partners to push user-behavioral data to 3rd party platforms.
Usage:
You should navigate to your Dashboard > Spring app > Partner Config > Data Tracking. Here you see a list of options that you can turn on and reassign custom variables using the @@ sign.
Otherwise, you can use any of the Add custom code fields in different elements, like Accounts or Betslip allowing pasting custom tracking codes.
Please find the available variables below:
1. After Successful Login
@@user_id
@@name
@@first_name
@@last_name
@@email
@@phone
@@username
@@currency
@@balance
@@casino_balance
@@btag
@@bonus_money
@@last_login_date
@@is_verified
2. After Successful Registration
@@name
@@first_name
@@last_name
@@email
@@phone
@@username
@@currency_name
3. After Successful Withdraw
@@user_id
@@first_name
@@last_name
@@email
@@phone
@@username
@@name
@@currency
@@amount
@@last_login_date
4. After Successful Deposit
@@user_id
@@first_name
@@last_name
@@email
@@phone
@@username
@@name
@@currency
@@amount
@@last_login_date
createdAt:
dataParams:
icon:
id:
name:
order:
paymentId:
status:
symbol:
type:
5. After Successful Profile Update
@@user_id
@@name
@@first_name
@@last_name
@@email
@@phone
@@username
@@currency
@@balance
@@casino_balance
@@btag
@@bonus_money
@@last_login_date
6. After a Successfully Bet
amount: “@@amount”,
currency: “@@currency”,
bet_id: “@@bet_id”,
k: “@@k”,
is_superbet: “@@is_superbet”,
bet_type: “@@bet_type”,
name: “@@name”,
first_name: “@@first_name”,
last_name: “@@last_name”,
email: “@@email”,
username: “@@username”,
btag: “@@btag”,
userId: “@@user_id”
phone: @@phone
Example:
@@{varible_name}
@@user_id
So in your script, you may find something like this:
user_id=put_your_user_id_here;
In this case, you will need to declare the user_id like this:
user_id=@@user_id
Here is an example of the code if you want to integrate Facebook Pixel into your SpringBuilder website.
For more insight on appending custom codes, you can check out this article.
Hope this helps!