Temporarily available content
Important to remember:
Links are generated in the calculator;
Each link is unique to a specific dialogue and cannot be forwarded;
Variables work inside the links.
To restrict access to your links based on time, you can use proxy links by adding them to the buttons in blocks.
Step 1. To do this, add a variable in the calculator—for example, link—in which you'll store the proxy link (see example in Figure 2).
Step 2. Add a button in the block, and in the button settings, insert the variable into the URL field:

Short links with click notification
One-time links If you pass an additional parameter (other than zero) to the "proxy", "proxy_date", or "proxy_timeout" function, the link will become one-time use.

On the second attempt to open the link, the user will see the following message:

Links with timer
proxy_date() — this function takes a link as its first parameter and returns a link with click notification. The second and third parameters specify the date and time when the link will expire.
If you pass an additional parameter after the minutes (that is not zero), the link will become one-time use.

After the link expires, the person will see this message when they try to open it.

Time-limited links
proxy_timeout() — this function takes a link as its parameter and returns a link with click notification.
An additional parameter specifies the number of minutes the link is valid.
If you pass another parameter after the minutes that is not zero, the link will become one-time use.


Short links without click notifications
All short links can be created without a callback—that is, as classic short links. For this, there are functions with the same parameters that do not trigger a callback.
proxy
short
proxy_timeout
short_timeout
proxy_date
short_date
Accordingly, if you need to use short links without a callback, use a variable to store the link, just like with the proxy link functions:

Smart proxy links
These are regular proxy links but called "smart" because they allow passing parameters using #{}. When someone clicks such a link, the placeholders are replaced with the client’s corresponding variable values. This way, you can direct the user to the right section of the site without changing the link itself:

url = proxy('https://yandex.ru/search/?clid=9582&text=salebot&lr=53&p=#{page}')
page = 0
In this example (Figure 8), we create a link with one parameter, but there can be any number of parameters.
Please note!
It’s important to plan parameter values in the funnel in advance so that the “smart” proxy link works smoothly. Each parameter must be assigned a value before the link is provided to the client.
With a well-designed funnel, you only need to update the necessary client variables, and when the client clicks the same link, they’ll be directed exactly where needed.
Link deletion
remove_links() — deactivates all short links sent to the client
remove_one_time_links() — deactivates all one-time links sent to the client
remove_timer_links() — deactivates all time-limited links sent to the client
Example of use


Live stream on the functionality:
Last updated