Dokumentacja Steamworks
Widget sklepu

Wprowadzenie

Dla każdej gry z widoczną opcją zakupu w Sklepie Steam możesz stworzyć widget zawierający informacje o twoim produkcie, cenie, zniżkach oraz z przyciskiem zakupu, by pomóc ci w promocji produktu i umieszczeniu go w dowolnym miejscu.

widget-example-firewatch-purchase.png

widget-example-manor-upcoming.png

Widget Functionality

Utworzenie widgetu dla wydanej gry spowoduje wyświetlanie przycisku zakupu oraz cenę gry. In this case, clicking the "Buy on Steam" button from the widget will take customers to the Steam website with the item in their cart where they can easily complete the purchase process and pay with whatever method they prefer, including funds from their Steam Wallet.

Stworzenie widgetu dla niewydanej jeszcze gry wygeneruje widget z przyciskiem „Dodaj do listy życzeń” zamiast „Kup na Steam”.

Creating your Widget

To create your Steam widget, you will need to head over to your public store page in Steam. This widget will keep up to date as you change your product price or discount, add platforms, or update your branding image.

  1. Kliknij na przycisk „Widget” znajdujący się w prawej części strony twojego produktu w Sklepie Steam.
  2. Jeżeli oferujesz kilka opcji zakupu, musisz wybrać jedną z nich (oraz cenę), którą widget ma wyświetlać.
  3. Zobaczysz również pole, które zostanie wstępnie wypełnione pierwszą częścią opisu twojego produktu. Możesz edytować ten tekst, by inaczej opisać swój produkt.
  4. Kliknij „Utwórz widget”.
  5. Ujrzysz teraz podgląd swojego widgetu wraz z kodem HTML, który należy skopiować i wkleić na swoją stronę, bloga lub inne miejsce, w którym ma on być wyświetlany.

Measuring Engagement

Steam's UTM Analytics provides visit and conversion data for Store widgets. By default, widgets will include utm_source=steamwidget on links to your Store page, including on the purchase button. On the UTM Analytics dashboard filter to utm_source=steamwidget to view visit and conversion data for your widget.

You can optionally include your own UTM parameters on the Steam widget's iframe link if you want to be able to track conversions from different places that you have the widget embedded. These parameters will be included on links to your Store page within the widget. If you provide a utm_source it will override the default utm_source=steamwidget. Here's an example
<iframe src="https://store.steampowered.com/widget/500/?utm_source=homepage&utm_campaign=mycampaign"></iframe> // UTM parameters are included on Store page links within the widget <a href="https://store.steampowered.com/app/500/?utm_source=homepage&utm_campaign=mycampaign"/>