You can now edit two parts of the widget:

  • First, the guest view cards found on the bottom of the signup page on the widget.

  • You can also edit the "How it works?" section found on the top of the widget.

How can I edit these texts?

To edit any of the mentioned texts, follow these simple steps. On Gameball Admin Dashboard, got to Widget setting > Widget Guest View. Scroll down to the bottom of the card, then click "click here" next to "Do you want to edit the widget static script?"

Fill in the needed information and click Save.

While editing the text, you need to use the same names of variables that you have set during your previous configurations. Make sure to use the same variable names as saved in your system so that if you decided to change them later on your system, the new name automatically reflects on these texts.

For example, if you later on changed the name of points to be "Coins", automatically the name "points" will change to "coins" on all the texts that has the word "points" in them.

Here is a brief explanation of the variables that need to be saved:

  • points-name: As mentioned in the example, you can choose a different name for points like coins, currency, stars..etc.

  • currency: Incase you changed the currency to a different one, for example, from USD to Euro

  • points-purchase-reward-factor: Amount of points a player is going to earn in certain case.

  • product-name: Name of a certain product you want to mention in your text.

  • free-shipping-points: Amount of points a player is going to use in exchange for free shipping.

  • percentage-discount: The discount percentage player is going to get when exchanged by points.

  • one-point-value: The monetary value of a certain amount of points in your currency, for example, 5000 points equals 2 (one-point-value) currency.

  • free-product-points: Amount of points a player is going to use in exchange for free product items.

  • percentage-points: The amount of points a player is going to use to exchange to with percentage discount.


Did this answer your question?