Connecting analytics services

Glossary

Event
User action that triggers sending information to Google Analytics 4.
Description
A description of the user action that triggered the event sent to Google Analytics 4.

How it works

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

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.

Analytics collection can also be influenced by:

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

Google Analytics connection

Note
Events that can be tracked on your site using Google Analytics are listed in the Site events and Ecommerce events sections.
  1. Create a Google Analytics account with the Google Analytics 4 resource type.
  2. 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. In your project in Publisher Account, go to the Storefronts > Websites section.
  2. Select your site and click Configure.
  3. 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 the 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.

Registration of custom event parameters

Note

You can use the following custom parameters to refine your analytics events:

  • event_category — identifies the section or block from which the event was sent.
  • event_label — contains event-specific data, such as item SKU, payment methods, and more.

The event_category and event_label parameters are inherited from Universal Analytics and have been retained for backward compatibility with existing dashboards. In Google Analytics 4, they are passed as custom event parameters and don’t appear in standard reports by default. Register them in Google Analytics 4 to use them when building funnels and custom reports.

To register event parameters:

  1. In the sidebar, choose Admin.

  2. On the Admin tab, go to Custom definition.

  3. Click Create custom definition.

  4. In the Definition name field, enter the name of the parameter you want to see when setting up the event funnel.

    Example: Category.

  5. In the drop-down Scope list, choose Event.

  6. In the Description field, enter a description (optional).

  7. In the Event parameter field, enter the parameter name: event_category or event_label.

  8. Click Save.

Connecting other analytics services

  1. Create an account with your chosen analytics service.
  2. Create a Google Tag Manager account (GTM account).
  3. Set up a GTM account for your analytics system:
    1. Set up tags.
    2. Set up events and settings.
    3. Publish changes to GTM.
  4. In your project in Publisher Account, go to the Storefronts > Websites section.
  5. In the Sites section, select your site and click Configure.
  6. 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. Click Connect.
  2. In the modal window, click Publish.

Site events

Site events reflect user actions on the site’s pages such as button clicks, opening widgets, scrolling sliders, etc. These events consist only of an event name and the custom parameters event_category and event_label.

If you require detailed purchase data, refer to the Ecommerce events section. These events provide full context, including purchase amounts and currencies, item SKU, payment methods, transaction IDs, and etc.

Payment UI events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
openPaystation_landingThe page name.Opening the payment UI page.
closePaystation_landingThe page name.Closing the payment UI page.
sharePaystation_landingThe name of the social network.Clicking the share button.
payment_method_namePaystation_landingThe name of the selected payment method.Clicking the Pay now button on the payment data entry form.
choose-widgetPaystation_landingThe name of the payment method widget.Clicking the payment method widget.
choose-methodPaystation_landingPayment method name.Payment method selection.
change-statusPaystation_landing

Payment status.

Possible values:

  • created — payment created
  • processing — payment in process
  • done — payment successfully completed
  • error — payment error

Change of payment status. If the user closes the page or payment UI and the status changes after closing, no event message is sent.
purchase-successPaystation_landingdoneSuccessful payment. Similar to the change-status event, but sent only for the done status.

Header block events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
click-loginHeader_landingClicking the login button.
open-loginHeader_landingOpening the authorization widget when clicking the authorization button.
open-uid-widgetHeader_landingOpening the ID input widget when clicking the authorization button.
click-buyHeader_landingItem SKU.Clicking the buy button.
click-googleplayHeader_landingClicking a button with a Google Play link.
click-appstoreHeader_landingClicking a button with an App Store link.
click-user-accountHeader_landingClicking the profile button for an authorized user.
open-menuHeader_landingOpening menu in mobile version of the site.
logo-clickHeader_landingClicking the header logo.
change_languageHeader_landingCode of the selected language.Switching the UI language (with page refresh).
logoutHeader_landingLogout from account.

User ID input widget events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
closeUID_widget_landingClosing the ID input modal window.
inputUID_widget_landingStarting to enter a value in the ID input field.
confirmUID_widget_landingClicking the ID input confirmation button.
click-instructionUID_widget_landingClicking the link or icon to show Where to find User ID instructions.
errorUID_widget_landingIdentification error (invalid ID entered).
success_idUID_widget_landingEntered user ID.Successful identification.
method-validation-startUID_widget_landingStarting server-side login validation after user identification.
authorization-successUID_widget_landingSuccessful user authorization.
authorization-by-socialUID_widget_landingThe name of the social network.Authorization via social network.
close-instructionUID_widget_landingClosing the modal window with Where to find User ID instructions.
deeplink-clickUID_widget_landingFollowing a deeplink to log in to the application.
qr-clickUID_widget_landingClicking the QR code.
eye-clickUID_widget_landingShowing/hiding the value in the user ID input field.

Game packs block events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
click-buyPacks_landingItem SKU.Clicking the buy button.
open-loginPacks_landingOpening the authorization widget when clicking the buy button.
open-uid-widgetPacks_landingOpening the user ID input widget when clicking the buy button.
click-googleplayPacks_landingClicking a button with a Google Play link.
click-appstorePacks_landingClicking a button with an App Store link.

Promo slider ​block events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
click-buyPromo_landingItem SKU.Clicking the buy button on the slide.
open-loginPromo_landingOpening the authorization widget when clicking the buy button on the slide.
open-uid-widgetPromo_landingOpening the user ID input widget when clicking the buy button on the slide.
click-googleplayPromo_landingClicking a button with a Google Play link on a slide.
click-appstorePromo_landingClicking a button with an App Store link on a slide.
enter-emailPromo_landingClicking the email confirmation button when subscribing to the newsletter.

Store block events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
authStore_landing_buy_buttonOpening the authorization modal window after a user clicks the buy button.
open-psStore_landing_buy_buttonItem SKU.Initializing the payment UI after a user clicks the buy button in an item card.
authStore_landing_pop-upOpening the authorization modal window after an unauthorized user clicks the buy button in an item modal window.
openStore_landing_pop-upItem SKU.Opening the item card modal window.
open-psStore_landing_pop-upItem SKU.Initializing the payment UI after an unauthorized user clicks the buy button in an item modal window.

Call-to-action block events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
click-buyCTA_landingItem SKU.Clicking the buy button.
open-loginCTA_landingOpening the authorization widget when clicking the buy button.
open-uid-widgetCTA_landingOpening the user ID input widget when clicking the buy button.
enter-emailCTA_landingClicking the email confirmation button when subscribing to the newsletter.
Event nameValue of the event_category parameterValue of the event_label parameterDescription
socialFooter_landingThe name of the social network.Clicking the social network button.

Offer chain block events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
open-authOffer_chain_buy_buttonItem SKU.Opening the authorization modal window after a user clicks the buy button.
open-psOffer_chain_buy_buttonItem SKU.Initializing the payment UI after a user clicks the buy button in an item card.
claimOffer_chain_buy_buttonItem SKU.An offer was claimed after the user clicks the claim button in an item card.
open-authOffer_chain_pop-upItem SKU.Opening the authorization modal window after an unauthorized user clicks the buy button in an item modal window.
open-psOffer_chain_pop-upItem SKU.Initializing the payment UI after the user clicks the buy button in an item modal window.
claimOffer_chain_pop-upItem SKU.An offer was claimed after the user clicks the claim button in an item modal window.
openOffer_chain_pop-upItem SKU.Opening the item card modal window after the user clicks the card.
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 nameValue of the event_category parameterValue of the event_label parameterDescription
open-authDaily_reward_landingOpening the authorization widget or the user ID input widget when clicking the claim button on the step card.
open-psDaily_reward_landingItem SKU.Daily reward was claimed.
expandDaily_reward_landing

List action.

Possible values:

  • more — expand the list
  • less — collapse the list.

Clicking button to expand or collapse the list of daily rewards.

Rewards block events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
loadRewards_landing

Reward chain type.

Possible values: standard, clan.

Loading of the reward system for an authorized user.
vp-addedRewards_landing

Reward chain type.

Possible values: standard, clan.

Value points are сredited to the user’s balance.
step-achievedRewards_landing

Reward chain type.

Possible values: standard, clan.

The user has progressed to a new step in the rewards system
step-collectedRewards_landing

Reward chain type.

Possible values: standard, clan.

A reward is successfully claimed.
step-openedRewards_landing

Reward chain type.

Possible values: standard, clan.

Opening the step modal window after the user clicks the card.
reward-tab-clickRewards_landing

Reward chain type.

Possible values: standard, clan.

Switching between the reward chains by clicking tabs.
reward-button-open-authRewards_landing

Reward chain type.

Possible values: standard, clan.

Opening authorization widget or the user ID input widget when clicking the claim button on the step card.
steps-scroll-rightRewards_landing

Type of the reward chain the user switched to.

Possible values: standard, clan.

Scroll right by clicking the right arrow in the steps cards slider.
steps-scroll-leftRewards_landing

Reward chain type.

Possible values: standard, clan.

Scroll left by clicking the left arrow in the steps cards slider.

Cart events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
click-cart

Header_landing — for Web Shop with Single-page store type.

Remote_block_landing — for Web Shop with Multi-page web portal type.

Clicking the cart icon in the header.
open-cart

Header_landing — for Web Shop with Single-page store type.

Remote_block_landing — for Web Shop with Multi-page web portal type.

Opening the cart modal window.
close-cartCart_landingClosing the cart modal window.
change-item-quantityCart_landingItem SKU.Changing the item quantity in the cart.
input-codeCart_landingApplying a promo code in the cart.
error_codeCart_landingError code (e.g., 9811).Error applying a promo code.
deleteCart_landingItem SKU.Deleting an item from the cart.
checkoutCart_landingCreating an order and opening the payment UI.
back-to-storeCart_landingReturning to the store from an empty cart.
clearCart_landingClearing the cart (clicking the Remove all button).
continueCart_landingReturning to the store from the cart (clicking the Keep shopping button).
click-checkoutCart_landingClicking the checkout button.
confirm_codeCart_landingConfirming promo code entry.
remove-codeCart_landingRemoving the applied promo code.
discount-cartCart_landingApplying a discount to the entire cart.
discount-itemCart_landingApplying a discount to a single item.
warning-deleteCart_landingShowing a warning when deleting an item.
close-warningCart_landingClosing the item deletion warning.
authorization-modal-open-in-cartCart_landingOpening the authorization window when the user places an order or applies a promo code.

Custom action and navigation events

Event nameValue of the event_category parameterValue of the event_label parameterDescription
click-linkDynamic category (depends on the block).Following a link or clicking a button with a link in a block.
click-pageDynamic category (depends on the block).Navigating to another site page upon clicking a button.
click-scrollDynamic category (depends on the block).Clicking a button to scroll to a specific block.
click-more-infoDynamic category (depends on the block).Clicking the Learn more button.
open-videoDynamic category (depends on the block).Opening a video in a lightbox.
click-subscriptionDynamic category (depends on the block).Clicking the button to subscribe to news.
input-emailDynamic category (depends on the block).Entering an email in the newsletter subscription form.

Ecommerce events

The Xsolla payment UI is loaded in a separate iframe with its own domain and analytics. Only payment initialization and completion events are sent from the landing page. Detailed data on the payment process is sent as ecommerce events.

EventDescription
open-paystationOpening the payment UI. Sent during initialization.
open-{state_name}Opening the payment UI page.
open-payment-credit-cardOpening the payment UI for entering card details.
open-payment-saved-methodsOpening the page with saved payment methods.
open-payment-payment-methodsOpening the list of all available payment methods when clicking more.
open-payment-{id}Opening the page for a specific payment method, where id is the payment method ID.
open-external-pagesOpening external pages from the payment UI.
open-statusOpening the payment status page.
open-status-processingOpening the payment status page when processing payment (status — processing). Upon completion, the status transitions to success or error.
open-status-errorOpening the status page upon a payment error (status — error).
open-status-successOpening the status page upon a successful payment (status — success).
choose-payment-widgetSelection of a payment method widget.
choose-methodSelection of a payment method.
click-btn-payClicking the Pay now button on the payment data entry form.
click-btn-return-urlClicking the return to store button (Back to the game).
click-additional-btn-return-urlClicking an additional return to store button.
create-invoiceCreating a transaction. Transforms into a purchase event with additional purchase parameters (items, amount, currency).
purchaseCompleting a purchase. The event is sent when an invoice is created and contains detailed purchase information, including item costs and taxes. The event is sent only if you have configured the item catalog in Publisher Account.
change-statusChanging the payment status. Sent with an additional status parameter.

General event parameters (sent with every event):

ParameterDescription
categoryAlways paystation.
versionPayment UI version.
projectIdProject ID.
projectNameProject name.
user_idUser ID.
v1User ID (duplicates user_id).
countryPayment country code.
external_idExternal ID (if available).
purchase_invoice_idPurchase invoice ID on the Xsolla’s side.
pidPayment method ID.
total_sumTotal purchase amount including all fees.
total_sum_currencyCurrency of the total purchase amount.
purchase_skuItem SKU.
purchase_sku_digitalContentDigital content SKU.

Additional parameters for the purchase event:

ParameterDescription
transaction_idTransaction ID.
currencyCurrency.
valueAmount excluding taxes.
itemsArray of items with parameters:
  • item_id — item ID
  • item_name — item SKU
  • price — item price
  • quantity — item quantity
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: June 27, 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.