The Free widget promotes some message or advertisement, but allow to unlock the article for free clicking on a button.
How to do it
So let’s see how to implement it using HTML block.
Create a SmartWall
First, you need to setup a SmartWall. You can find an example in the image bellow.
Create the widget
Second, you need to create an Option Set, you can consider it a “widget”.
In the Option Set configuration create an HTML block and add your code in the HTML text area.
Add an unlock button to the widget
For binding the unlocking method of the SmartWall to a button add the following data tag.