# Coupon Wheel

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXckY-5YiccCAO9TPA38akokgJdsCXYk1ndIlms1FAPdOORUlzEOH3QIDGhWTXos6w-GHqt6-AGPhey13dWdC5CCDZoEoM-jCXCIJfxJGwAOb70ip1AXY-NyVnIwZci5f67PiM2v4PbzzyrV-CUfCKoNljsq?key=McWN_Lv9ZK-QuQzVrY3nVw" alt=""><figcaption></figcaption></figure>

## Content

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdy2g-XozU_fcgdvJkq3OCxwv7nnQHLlpxokmNzrvbzAnBPfyysRaGACU7TfWvbWXwCjKfbuCGtUXrjVLSYgMMSTI79DCgMsWGaiSZ9SA36W1wNzd8PFtD6s4p4hI-W_5Idaqqfh7qJ82AOooWKUfDT3G-7?key=McWN_Lv9ZK-QuQzVrY3nVw" alt=""><figcaption></figcaption></figure>

### Coupon Wheel Setting

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdosZC3S4xS5HJjo39butECOOoaWr59I6QXE62jNDt4gD5okjGND5HOmwZiys8k2OL02N-jtXCAiv6itF7my_K6RdPP7l73mOPKQbOeRA5pttdAkJDrN4LfEnMHCAAJDICr8DZ70Pc4OdgiAMUsYFUzi-qX?key=McWN_Lv9ZK-QuQzVrY3nVw" alt=""><figcaption></figcaption></figure>

#### Customize Wheel Sections

The settings have

* ![](/files/5JWAA4aqUxYByqGZY0HA) or <img src="/files/qQgTVZLtw80TpfsKdupZ" alt="" data-size="original">: adding or deleting sections
* Label: naming sections
* Internal code: is the name managed by the system of CDP 365 which is automatically generated by Label
* Can Win and Win Chance (%): Managing the win probability of each section. Can Win must turn on if the section can be won.
* Pool and Coupon code: Managing the promotion pool is used by each section. Pool must turn on if the section uses a promotion pool to send out prizes.
* Limit Spinning: Managing the number of win times of each section. It includes
  * Out of code is available if Pool is on. The setting means audiences stop winning the section when the codes in the selected promotion run out.
  * Set value means audiences stop winning the section when reaching the number of winning times set. For example, if the set value is 1, then all audiences spinning the wheel can win the section only one time. If selecting Set value, then set
    * Capping level: has Journey, Campaign, and Variant.&#x20;
    * Frequency: includes This Hour, This Day, This Week, This Month, and Lifetime. Lifetime means the whole time that a journey is active.
    * The requirement of the campaign is the section can win 2 times in the journey. Then Limit Spinning selects Set value - 2, Capping Level selects Journey, and Frequency selects Lifetime.
  * Unlimited means audiences can win the section unlimitedly.

For example, the wheel sends out 2 TVs, 10 backpacks, 20 glasses of water, 1,000 20% off codes, and an unlimited number of 10K discount codes. Set Win chance is 10%, 15%, 25%, 20%, and 30% respectively. Limit Spinning is 2, 10, 20, 1,000, and Unlimited respectively.

***Notes**: Limit Spinning is different from Can Win and Win Chance. Can Win allows the audience would win the section at the probability of winning set in Win Chance. Limit Spinning allows setting the actual number of times that audiences would win the section.*

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf08gLcWpahBG91Wf1XR2Rsyv35SjwkSE2DJEpjkc10Y0ulAoW7I-nN01DdEMMWQN1gL3-P96CLhoc4YYn1NdIzrNSrZ99669846-Eg4QIYBm3z4Np5NFQD2lcIO-RrVKj8XRKVr3Cwty54uevnYmjluJK4?key=McWN_Lv9ZK-QuQzVrY3nVw" alt=""><figcaption></figcaption></figure>

#### Section colors

You can set the color of each section

#### Wheel color

You can adjust the Outer Wheel Color, Inner Wheel Color, and Flipper Color

### Coupon Setting

<figure><img src="/files/U3NDfxgI1ZVXkTsHqZ1C" alt=""><figcaption></figcaption></figure>

#### Error Message

Enter the text of the Error Message

#### Position

The position displays the Error Message

## Advanced

<figure><img src="/files/FYDitjJWHlbu1TqzEcP2" alt=""><figcaption></figcaption></figure>

### Coupon Wheel Styling

<figure><img src="/files/Sbx4YuussaetPP5BZia3" alt=""><figcaption></figcaption></figure>

#### Font Settings

You can change the Font family, Font color, Font size, Font weight, Line height, Letter spacing, etc.

#### Wheel Width

You can set the width of the Wheel

#### Pull Direction

You can change the position of the Wheel

### Container Styling

<figure><img src="/files/NIriyX824qnkxgVwdsPU" alt=""><figcaption></figcaption></figure>

1. ***Solid***: Applies a single color uniformly within the whole of an object by selecting the ***Background color***
2. ***Gradient:*** It applies a continuous blend of two or more colors, where one color gradually fades and changes into another. You can choose the ***Gradient Style***:&#x20;
   * ***Linear***: Change the angle of the gradient
   * ***Radial***: Change the positioning (right center, left top, left center, etc)
   * ***First color & first color location***
   * ***Second color & second color location***

#### **Box Shadow**

It allows you to add shadow effects around an element's frame by selecting a shadow style (None, Light, Custom)

#### **Border**

It allows you to specify the style, width, and color of an element's border

#### **Rounded Corners**

It allows you to define the radius of an element's corners

#### **Spacing**

* ***Inner Spacing (Padding):*** \
  Padding is inside the border (or edge) of your element. Increasing the padding will “push” your content into the middle of your box, away from your borders. If you remove the padding, your content will take up the entire box
* ***Outer Spacing (Margin):*** \
  Margin is on the outside of the border of your element. If you increase the margin, it will increase the space between this element and the ones next to it. If you remove your margin, there will be no extra space between your elements

#### Position

It allows you to adjust the position of elements in the block

#### Z-Index

* The z-index property specifies the stack order of an element
* An element with greater stack order is always in front of an element with a lower stack order

#### Custom ID attribute

The ID of a block, which is used in ***Custom CSS, Custom Javascript***

#### Custom Class attribute

The class of a block, which is used in ***Custom CSS, Custom Javascript***

#### Hover Styles

You can configure the ***Hover Styles*** by turning off the status of ***Default Hover Styles***

<figure><img src="/files/Kna9qW3SSODfjO1gPYGG" alt=""><figcaption></figcaption></figure>

**a. Background**

1. ***Solid***: Applies a single color uniformly within the whole of an object by selecting the ***Background color***
2. ***Gradient:*** It applies a continuous blend of two or more colors, where one color gradually fades and changes into another. You can choose the ***Gradient Style***:&#x20;
   * ***Linear***: Change the angle of the gradient
   * ***Radial***: Change the positioning (right center, left top, left center, etc)
   * ***First color & first color location***
   * ***Second color & second color location***

#### **b. Box Shadow**

It allows you to add shadow effects around an element's frame by selecting a shadow style (***None, Light, Custom***)

#### **c. Border**

It allows you to specify the style, width, and color of an element's border

#### **d. Rounded Corners**

It allows you to define the radius of an element's corners

#### **e. Spacing**

* ***Inner Spacing (Padding)***: \
  Padding is inside the border (or edge) of your element. Increasing the padding will “push” your content into the middle of your box, away from your borders. If you remove the padding, your content will take up the entire box
* ***Outer Spacing (Margin)***: \
  Margin is on the outside of the border of your element. If you increase the margin, it will increase the space between this element and the ones next to it. If you remove your margin, there will be no extra space between your elements

#### f. Position

It allows you to adjust the position of the hover

#### g. Z-Index

* The z-index property specifies the stack order of an element
* An element with greater stack order is always in front of an element with a lower stack order

### Display Condition

You can set the condition to display the button

<figure><img src="/files/gAYZlTztFvf1UE1nfiJp" alt=""><figcaption></figcaption></figure>

* ***Condition***: It includes ***None, Show when, Hidden when***
* ***Field***: It contains ***Business Object attributes***
* ***Index***: The number of the row in the ***Business Objects Data table***
* ***Operator***: It includes ***contains, does not contain, starts with, doesn't start with, ends with, doesn't end with***, etc.
* ***Value***: you can input the value or select an ***attribute from Business Object or Event***

{% hint style="info" %}

* The Business Object attributes in Field are selected Business Object in Template Setting

  <figure><img src="/files/ldUycQU0D7wrry9v5a1z" alt=""><figcaption></figcaption></figure>
* If Business Object in Template Setting does not be selected, a popup of ***Select Source*** will appear

![](/files/dDxtieIPDgBJuQpD765Z)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.antsomi.com/cdp-365-user-guide-en/marketing-hub/media-template/settings/blocks-and-settings/coupon-wheel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
