Hello!
I have a widget for the callback Pozvonim on my site;
how do I attach a script to the button on the site to open the widget window?
Tell me please
My sitу is snosdom.com , you can see
Hi,
i am not familiar with the specific widget and couldn’t find it on your site, but please have a look here for some examples
Shlomi
On my site this widget is installed
code is set through the section “Analytics Codes”
everything works well,
but I also want that when the “Contacts” button is pressed, the widget window is opened
the callback site has an API section, but unfortunately I do not know how to do it so that when I click on the button, the widget window opens Сервис удержания клиентов POZVONIM | Сервис удержания клиентов, который принесет Вам в 2 раза больше клиентов.
I do not know how to associate the widget API with the WIX code
I will be very grateful for any help!
there is still a link to open the widget window: #pozvonim
but this is why it does not work correctly
Hi,
still i am not aware of this widget, and it doesn’t seem a question which is specifically related to wix code.
currently at wix you can add ‘pixel’ of javascript code of an external widget in an iframe, which is an embed html object in the html editor
please contact wix support and the specific widget provider for further details,
good luck!
Shlomi
Hi Shlomi,
Support wix makes a helpless gesture, says that they can not help you, and sends you to the forum to you
Thank you!
Hi,
‘Free Call’ is a third party app
Integrating wix code with third party wix marketplace apps is not possible
Feel free to post your request in the feature request forum .
Hi,
Why? If I will be have a script to open this widget via API, can I assign this script to a button (so that this widget works when I click on the button) ?
Hi,
Wix allow a third party script to be open only within an iframe to avoid issues with the Wix component renderer code. you can inject such a code to be opened on a button click
shlomi
Shlomi,
Link to open the widget window: #pozvonim
How do I assign it to a button across WIX code?
Still this code opens the widget window
how do I attach it to a button across WIX code?
Thank you so much!
Hi,
You will need to write some code for that.
Create an embed html - iframe object, in your editor, set it ip as hidden on load. Then when clicking a button make it visible
See the link i sent you before Velo Tutorial: Adding Custom Interactivity with Events | Help Center | Wix.com
Shlomi
Hello Shlomi,
Unfortunately I do not know how to do it.
How can I make a button by linking an HTML tag?
Hi,
create a button (you can look in the previous link i sent) and add an onclick event (look in wix code reference) to make the html element visible. see details about the component here: Wix Editor: Embedding a Site or a Widget | Help Center | Wix.com
good luck,
Shlomi
Hi,
if I in the personal cabinet of the widget set the selector to open the widget via the API,
how do I make it so that when I click on the button (WIX onclick) this selector is triggered, how do I write the code to trigger the selector? unfortunately I did not find the exact instructions in this regard.
help me please
Thank you very much!
Hi
if I in the personal cabinet of the widget set the selector to open the widget via the API - can you please share an image or code? i didn’t understand the question
Shlomi
Shlomi,
Hi Alexei.
Do you have the HTML code of the widget?
The API configuration on page Сервис удержания клиентов POZVONIM | Сервис удержания клиентов, который принесет Вам в 2 раза больше клиентов. is not enough to start the widget without it’s HTML code.
Regards,
Genry.
Hello Genry,
Yes, I installed the code through “Analytics Codes”,
all works well, but I also want to run the widget using the button created in the constructor
Thank you!