Contact buttons

The Contact buttons element adds a sticky contact block to your website. Its main button expands a list: visitors can open a messenger, make a call, compose an email, follow a link or open a UX Rocket widget. The block stays on screen as the visitor scrolls.

A widget can have one Contact buttons element containing several buttons. It appears over the page rather than inside the banner. If there are no other visible elements, the widget works as a standalone contact block.

The screenshots below show the implemented builder with example data. Replace the addresses and labels with your own.

Contact buttons settings and preview with Telegram, phone, WhatsApp, email and a form action

Adding the element

  1. Open a widget and select the Builder tab.
  2. Click + Add element. Under BANNER ELEMENTS, choose Contact buttons.
  3. To edit the element later, click Contact buttons in the elements list.

Selecting Contact buttons under Banner elements

The panel contains the BUTTONS list and APPEARANCE sections: Main button, Button style and Behavior. The element's common Display conditions and Show on settings appear below.

Buttons

The BUTTONS heading shows the enabled and total button counts. A new Telegram button is created with the element. Fill in its address: until then, the builder displays Check the channel address.

Adding a button

Select a Channel below the list, then click + Add button. Eight channels are available in the current interface:

ChannelValueAction on the website
MAXA chat or channel link from the MAX appOpens the specified MAX link
Telegram@username, a t.me/… link or a phone numberOpens the Telegram link
WhatsAppA phone number in international formatOpens a chat; a message can be prefilled
VKA community address at vk.com/…Opens community messages
PhoneA phone number in international formatStarts a call on a phone; desktop behavior is configured separately
EmailAn email addressOpens a new message; subject and body can be prefilled
Custom linkAn https://… URLOpens the specified page
Open widgetThis widget or another widget from the listOpens the selected UX Rocket widget
The eight channels available for Contact buttons

For another social network, use Custom link and upload its icon.

Button settings

Click a button's row to expand its settings.

  1. Use Enabled to enable or disable the button without deleting it. The ▲ / ▼ arrows change its position in the list.
  2. Change the Channel if needed. Switching channels replaces its label, icon, color and initial value, so review them before saving.
  3. Fill in Value. The resulting Link appears below. For example, @uxrocket, t.me/uxrocket and https://t.me/uxrocket become a Telegram link. For Open widget, select a widget instead of entering an address.
  4. Enter the Button text. WhatsApp supports a Prefilled message; Email also provides Email subject. The [page_url] and [page_title] placeholders insert the current page's address and title. The message is prepared in the visitor's app and is not sent automatically.
  5. Configure the Icon, Channel color, and Text and icon color. Disable the channel color to reveal the individual Button color field.
  6. Use Show on to choose all devices, desktop or mobile. MAX and custom links also offer In a new tab.

Click Delete button to remove the contact. Changes update the preview immediately. Done at the top of the panel returns to the elements list.

Configuring a Telegram button address, label and appearance

Icons

Expand Icon and choose an icon from the library. Upload… accepts SVG or PNG files up to 200 KB. Reset icon restores the channel's icon. The main button uses the same picker.

A single-color SVG can follow the text color. PNG retains the colors in the uploaded image.

Icon library with Upload and Reset icon actions

Main button

Expand APPEARANCE → Main button to configure the label, icon, position and appearance of the button that opens the contact list.

General settings include:

  • Style: fill or outline; button, text and icon colors.
  • Shape: circle, square or pill; Corner radius. Changing a circular button's radius switches it to a square shape.
  • Button size: S — 44 px, M — 56 px, L — 68 px or Custom size. A custom height ranges from 32 to 96 px and width from 32 to 240 px.
  • Animation: none, glow, pulse, shake or bounce. The animation stops while the list is open.
  • Icon when expanded: cross, arrow or the original icon.
  • Shadow.

The main button's text is shown with the Pill shape. Leave the text empty for an icon-only button.

Main button shape, size, animation and shadow settings

Desktop and mobile position

  1. Under Main button → DESKTOP, click Position.
  2. Choose one of the eight positions around the screen diagram.
  3. Set the edge offsets from 0 to 200 px. Available offsets depend on the position: vertical at the top or bottom center, horizontal at the left or right center, and both at the corners.
  4. Use Separate mobile position to configure phones independently. It is enabled by default. Open Position under MOBILE to set the mobile location and offsets.

For example, increase the bottom offset to keep the block clear of a website's mobile navigation.

Separate desktop and mobile positions for Contact buttons
Screen position picker and edge offset controls

Button style

Button style controls the contacts in the expanded list:

  • View: Tiles with text or Icons only.
  • Icon: left or right. Labels: always or on hover.
  • Animation duration: 100 to 1500 ms; the default is 500 ms.
  • Button background: a single color or channel colors; button and text colors, shadow.
  • Font and a font size from 11 to 20 px.
  • Button height from 32 to 72 px. Width can follow the text or be the same for every button; a shared width ranges from 120 to 360 px.
  • Corner radius, spacing between buttons, and the gap from the main button.
  • Expand animation: cascade, fade or none.

Individual button colors are configured in that button's own settings. Check the preview after changing the shared style.

Contact list view, labels, animation duration and colors
Button dimensions, corner radius, spacing and expand animation

Behavior

The Behavior section provides four settings:

  • Direction: auto, up, down, left or right. Auto takes the block's screen-edge position into account.
  • Close on outside click: collapses the contact list when the visitor clicks outside it.
  • One button — direct action: on the website, the main button performs the only available contact's action without opening the list. The editor still opens the list so you can inspect the button's appearance.
  • Phone on desktop: Number and QR code or Open tel:. The first option displays the number, a copy action and a QR code. The second opens the computer's application associated with tel: links.
Contact list direction, outside-click behavior, direct action and desktop phone settings

Contact buttons triggers

Open the Triggers tab. Once the element is added, Contact buttons appears among the additional settings.

Contact buttons in the widget builder Triggers tab

The section provides:

  1. When to show: Immediately on page load or With widget triggers.
  2. After button click: continue showing, hide until the end of the session, or hide for one day.
  3. Do not show on pages: URLs and URL masks. Use + Add URL to add exclusions such as /checkout*. Review the initial list: this mask may already be present when the element is added.

Configure the widget's common rules in Triggers. Configure the element's devices and conditions in its own settings panel. Test page exclusions and post-click restrictions on the website as well as inspecting the editor.

Contact block timing, post-click restrictions and excluded URLs

If Reopen is enabled in Layouts, the builder warns about two floating buttons. In the reopen settings, choose Replace button to add Open widget → This widget (reopen) to the contact block and disable the separate reopen button.

Preview and publishing

Collapse and expand the block in the preview canvas. Check the order, label readability and distance from the screen edges.

Collapsed Contact buttons block in the widget builder preview

Expanded contact list in the widget builder preview

For desktop phone actions, inspect the number, QR code and Копировать (Copy) button. The phone preview currently uses Russian system labels, including Позвонить (Call).

Desktop phone preview with the number, QR code and copy action

Switch to phone preview using the button in the top toolbar and check the mobile position.

Contact buttons in the widget builder mobile preview

Clicking a contact item in the editor preview does not follow its external link: it lets you inspect appearance and interact with the element. The desktop phone popover does contain a working tel: link. Save and publish the widget, then test real links, triggers and events on the website. Save and publish actions depend on the user's permissions.

Analytics

The element sends interaction events on the website:

EventWhen it is sent
sticky_shownThe contact block appears on the page
sticky_openThe visitor expands the contact list
sticky_item_clickThe visitor selects a contact; parameters include channel, label and button position
sticky_item_click:tg, sticky_item_click:phone and similar namesAn additional click event for the selected channel
sticky_copyThe visitor copies a number

Interaction parameters are passed in the sticky_contacts_params attribute. Use the events to analyze contacts and configure experiment goals after confirming that events arrive from the published website. Clicking a contact does not by itself confirm that the visitor sent a message or completed a call.

FAQ

Why is the block missing from the website?

Check widget publication, button addresses and enabled states, devices and display conditions. Under “Triggers → Contact buttons”, check page exclusions and post-click hiding. An incomplete button can appear in the editor without being shown to website visitors.

Why does a QR code appear instead of a call on desktop?

The default is “Phone on desktop → Number and QR code”. Visitors can copy the number or scan the code. Choose “Open tel:” to open a calling application instead.

How do I add another social network?

Choose the “Custom link” channel, enter the page address and optionally upload an SVG or PNG icon up to 200 KB.

Why does a single button open a list in the editor?

The editor opens the list so you can inspect the button's label and style. On the published website, “One button — direct action” performs the only available contact's action without opening the list.

How do I reopen a banner or form?

Add an “Open widget” button and select “This widget (reopen)”. You can also select another widget from the available list.