How to connect analytics services

How it works

Connect analytics to track events related to user actions on your site and payment UI events. The site builder supports automatic integration with the Google Analytics service, with the ability to receive advanced analytics of site events and payment interface. In addition, you can connect any other analytics service using Google Tag Manager and receive an extended list of events for your website and payment interface. You can set up analytics with:

Note
If analytics for the Pay Station product is already configured, when you set up Google Analytics or Google Tag Manager, payments interface events will come twice with a landing mark in the name of the event.
Notice

Xsolla complies with international data protection standards. When integrating third-party analytics services, not all user data may be collected due to GDPR and CCPA regulations.

To lawfully collect data, user consent must be obtained. Users can review data collection terms in the cookie banner. Depending on the user’s region and legislative restrictions, data is collected in one of the following cases:

  • The user has agreed to tracking and accepted all cookie files.
  • The user has not opted out of tracking.

Also, analytics collection can be influenced by:

  • Ad blockers can block analytical systems and hinder tracking.
  • Browsers such as Safari, Firefox, and Brave may block third-party cookie files or restrict tracking by default.

Glossary

Event
User action that sends information to Google Analytics 4.
Event category
Special parameter event_category, the value of which is passed when sending events from sites created with Site Builder. Parameter values are names of the site blocks.
Event label
Special parameter event_label, the value of which is passed when sending events from sites created with Site Builder. The parameter values ​​are additional information that refines the events.
Description
A description of the user action upon completion of which the event is sent to the Google Analytics system.

Google Analytics connection

Note
Events that can be tracked on your site using Google Analytics are listed in the Extended List of Events section.

  1. Create a Google Analytics account with the Google Analytics 4 resource type.

  1. Get service ID:
    1. In the sidebar, choose Admin.
    2. On the Admin tab, choose the account and resource.
    3. Go to the Data Streams tab.
    4. Click the data stream.
    5. Copy Measurement ID.
  1. Open your project in Publisher Account and go to the Storefronts > Websites section.
  2. Select your site and click Configure.
  1. Go to the Apps section, and in the Google Analytics block, click Connect.
  1. In the modal window, specify the analytics service ID and click Connect.
  2. In the modal window, click Publish.
Note
If site publication is not available, make sure all the required conditions are met:
  • There are no empty sections in Builder (marked with a red dot).
  • The Licensing Agreement with Xsolla has been signed.
  • A section for user authorization has been added to the site if you use the Store block or Web Shop template.

Connecting other analytics services

Note
Events, which you can track on your site with Google Tag Manager, are in the capture Extended list of events.

  1. Create an account with your chosen analytics service.
  2. Create a Google Tag Manager account (GTM account).

  1. Set up a GTM account for your analytics system:
    1. Set up tags.
    2. Set up events and settings.
    3. Publish changes to GTM.

  1. In your project in Publisher Account and go to the Storefronts > Websites section.
  2. In the Sites section, select your site and click Configure.
  3. Go to the Apps section and in the Google Tag Manager block, click Connect.
  1. Specify the GTM container ID and click Connect. To find the container ID, use the instruction in the How to get your ID input box.
  1. In the modal window, click Publish.
Note
If site publication is not available, make sure all the required conditions are met:
  • There are no empty sections in Builder (marked with a red dot).
  • The Licensing Agreement with Xsolla has been signed.
  • A section for user authorization has been added to the site (if there is a Store block on the site).

Extended list of events

Connecting Google Analytics or GTM allows you to track an extended list of events.

Payment UI events

Note

Category for all payment UI events is Paystation_landing.

Site Builder uses Google Analytics 4 (GA4) event model: the event_category and event_label parameters are custom GA4 event parameters preserved for backward compatibility after migration from Universal Analytics. They are not processed by GA4 as event categories or labels and can be used as regular custom parameters in reports and explorations.

Event nameevent_category parameterevent_label parameterDescription
openPaystation_landingstateOpening the payment UI page. The name of the page is passed as the Label parameter.
closePaystation_landingstateClosing the payment UI page. The name of the page is passed as the event_label parameter.
sharePaystation_landingnameClicking the button to share. The name of the social network is passed as the event_label parameter.
payment_method_namePaystation_landingpayment_method_namePressing the Pay Now button on the payment data entry form. The name of the selected payment method is passed as the event_label parameter.
choose-widgetPaystation_landingpayment_widget_nameClicking on the payment method widget. The name of the widget is passed as the event_label parameter.
choose-methodPaystation_landingpayment_method_nameChoice of payment method.The name of the payment method is passed as the event_label parameter.
change-statusPaystation_landingstatusChange of payment status. If the user closes the page or payment UI and the status changes after it is closed, no event message is sent. The payment status is passed as the Label parameter (created, error, successful, etc.).
purchase-successPaystation_landingdoneSuccessful payment. Similar to the event Change of payment status, but only sent if the status is done.

Header block events

Event nameevent_category parameterevent_label parameterDescription
click-loginHeader_landingClicking on the login button.
open-loginHeader_landingOpening the authorization widget when the authorization button is clicked.
open-uid-widgetHeader_landingOpening the ID input widget when clicking on the authorization button.
click-buyHeader_landingskuClicking on the buy button. The item SKU is passed as the event_label parameter.
click-googleplayHeader_landingClicking on a button with a Google Play link.
click-appstoreHeader_landingClicking on a button with an App Store link.

User ID input widget events

Event nameevent_category parameterevent_label parameterDescription
closeUID_widget_landingClosing the modal ID input window.
inputUID_widget_landingStart entering a value in the ID input field.
confirmUID_widget_landingPressing the ID confirmation button.
click-instructionUID_widget_landingClicking on a collapsed instruction.
errorUID_widget_landingIdentification error (invalid ID).
success_idUID_widget_landingSuccessful identification.

Packs block events

Event nameevent_category parameterevent_label parameterDescription
click-buyPacks_landingskuClicking on the buy button. In the Label parameter, the item SKU is passed.
open-loginPacks_landingOpening the authorization widget when the buy button is clicked.
open-uid-widgetPacks_landingOpening the ID input widget when the buy button is clicked.
click-googleplayPacks_landingClicking on a button with a Google Play link.
click-appstorePacks_landingClicking on a button with an App Store link.

Promo slider ​block events

Event nameevent_category parameterevent_label parameterDescription
click-buyPromo_landingskuClicking on the buy button on the slide. In the Label parameter, the item SKU is passed.
open-loginPromo_landingOpening the authorization widget when the buy button on the slide is clicked.
open-uid-widgetPromo_landingOpening the ID input widget when clicking on the buy button on the slide.
click-googleplayPromo_landingClicking on a button with a Google Play link on a slide.
click-appstorePromo_landingClicking on a button with an App Store link on a slide.
enter-emailPromo_landingClicking on the confirmation email button to subscribe to the newsletter.

Store block events

Event nameevent_category parameterevent_label parameterDescription
authStore_landing_buy_button-Opening the authorization modal window after a user clicks the buy button.
open-psStore_landing_buy_buttonskuInitializing the payment interface after a user clicks the buy button in an item card. The item SKU is passed in the Label parameter.
authStore_landing_pop-up-Opening the authorization modal window after an unauthorized user clicks the buy button in an item modal window.
openStore_landing_pop-upskuOpening the item card modal window after the user clicks the card.
open-psStore_landing_pop-upskuInitializing the payment interface after an unauthorized user clicks the buy button in an item modal window.

Store block in other templates events

Event nameevent_category parameterevent_label parameterDescription
click-buyStore_landingskuClicking on the buy button. In the Label parameter, the item SKU is passed.
open-loginStore_landingOpening an authorization widget or ID input widget when the purchase button is clicked.
open-uid-widgetStore_landingOpening the ID input widget when clicking on the buy button in the Packs block.
addStore_landingskuClicking on the add to cart button. In the Label parameter, the item SKU is passed.
add-vcStore_landingClicking on the button to add the amount of virtual currency.
reduce-vcStore_landingClicking on the button to reduce the amount of virtual currency.
click-checkoutStore_landingClicking on the payment via Checkout button on the item card.
open-cartStore_landingOpening a shopping cart by clicking on the payment via Checkout button on the item card.

Call-to-action block events

Event nameevent_category parameterevent_label parameterDescription
click-buyCTA_landingskuClicking on the buy button. In the Label parameter, the item SKU is passed.
open-loginCTA_landingOpening the authorization widget when the buy button is clicked.
open-uid-widgetCTA_landingOpening the ID input widget when clicking on the buy button.
enter-emailCTA_landingClicking on the confirmation email button to subscribe to the newsletter.
Event nameevent_category parameterevent_label parameterDescription
socialFooter_landingnameClicking on the social network button. The name of the social network is passed as the event_label parameter.

Offer chain block events

Event nameevent_category parameterevent_label parameterDescription
open-authOffer_chain_buy_buttonItem SKU.Opening the authorization modal window after a user clicks the buy button. In the event_label parameter, the item SKU is passed.
open-psOffer_chain_buy_buttonItem SKU.Initializing the payment interface after a user clicks the buy button in an item card. In the event_label parameter, the item SKU is passed.
claimOffer_chain_buy_buttonItem SKU.An offer was claimed after the user clicks the claim button in an item card. In the event_label parameter, the item SKU is passed.
open-authOffer_chain_pop-upItem SKU.Opening the authorization modal window after an unauthorized user clicks the buy button in an item modal window. In the event_label parameter, the item SKU is passed.
open-psOffer_chain_pop-upInitializing the payment interface after the user clicks the buy button in an item modal window. In the event_label parameter, the item SKU is passed.
claimOffer_chain_pop-upAn offer was claimed. In the event_label parameter, the item SKU is passed.
openOffer_chain_pop-upOpening the item card modal window after the user clicks the card. In the event_label parameter, the item SKU is passed.
scroll-rightOffer_chain_landingScroll right by clicking a right arrow in the offer chain cards slider.
scroll-leftOffer_chain_landingScroll left by clicking the left arrow in the offer chain cards slider.

Daily rewards block events

Event nameevent_category parameterevent_label parameterDescription
open-authDaily_reward_landingOpening the authorization widget or ID input widget when clicking the claim button on the step card.
open-psDaily_reward_landingItem SKU.Daily reward was claimed. In the event_label parameter, the item SKU is passed.
expandDaily_reward_landingAction name, possible values: more, less.Clicking button expanding or collapsing list of daily rewards. In the event_label parameter, the action name is passed.

Rewards block events

Event nameevent_category parameterevent_label parameterDescription
loadRewards_landingReward chain type. Possible values: standard, clan.Loading of the reward system for an authorized user. In the event_label parameter, the type of reward chain is passed.
vp-addedRewards_landingReward chain type. Possible values: standard, clan.Value points are added to the user’s balance. In the event_label parameter, the type of reward chain is passed.
step-achievedRewards_landingReward chain type. Possible values: standard, clan.A new step of the reward system becomes available. In the event_label parameter, the type of reward chain is passed.
step-collectedRewards_landingReward chain type. Possible values: standard, clan.A reward is successfully claimed. In the event_label parameter, the type of reward chain is passed.
step-openedRewards_landingReward chain type. Possible values: standard, clan.Opening the step card modal window after the user clicks the card. In the event_label parameter, the type of reward chain is passed.
reward-tab-clickRewards_landingReward chain type. Possible values: standard, clan.Switching between the reward chains by clicking tabs. In the event_label parameter, the type of reward chain is passed.
reward-button-open-authRewards_landingReward chain type. Possible values: standard, clan.Opening authorization widget or ID input widget when clicking the claim button on the step card. In the event_label parameter, the type of reward chain is passed.
steps-scroll-rightRewards_landingType of the reward chain the user switched to. Possible values: standard, clan.Scroll right by clicking the right arrow in the steps cards slider. In the event_label parameter, the type of reward chain is passed
steps-scroll-leftRewards_landingReward chain type. Possible values: standard, clan.Scroll left by clicking the right arrow in the steps cards slider. In the event_label parameter, the type of reward chain is passed.
Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: January 22, 2026

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!
We couldn't send your feedback
Try again later or contact us at doc_feedback@xsolla.com.