Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Scroll export button
template-idaaa054c9ef6af82b-3300f039-4c874de1-b9299c19-31877bda9a5a9b84d787fd5c
scopecurrent
captionexport to pdf
quick-starttrue
add-onScroll PDF Exporter

Scroll ignore
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-htmltrue
scroll-epubtrue
17true6falselistfalse

What is tracking or analytics data?

...

Variable

Meaning

ws_state

Status or state the shop is in when the page is displayed.

ws_shopid

The shopID is assigned by WEBSALE and exists for each WEBSALE shop.

ws_subshopid

The SubshopID is assigned by WEBSALE and exists for each WEBSALE shop. Subshops are used e.g. for additional shop languages, but can also represent an end customer shop (B2C) or a dealer shop (B2B).

ws_sid

Session ID of the shop

This 32-character ID is generated uniquely for each shop visit. It can be used to measure the exact number of visits.

ws_extid

This optional ID is assigned by an external service provider.

ws_page_name

Name of the displayed shop page, e.g. "shopping cart".

ws_data_type

Possible values:
basic: Only standard information will be output
advanced: Additional information is output, which is marked in blue in this documentation.

ws_order

Possible values:
yes: Page is part of the ordering process.
no: Page is not part of the ordering process

ws_referer

Will be passed optionally when calling the shop

z. E.g. "...&ref=google"

ws_subreferer

Additional information about the referer

Is optionally transferred with the call of the shop

z. E.g. "...&subref=banner26"

ws_http_referer

HTTP referer. Complete URL from which the shop was called

Please note:
An HTTP referer is not always passed by the browser!

ws_login_type

Current state of the login/registration

Possible values:
na: Customer is not (yet) logged in
login: Old customer has logged in
register: New customer has registered

ws_tp1

An optional parameter (maximum 128 characters), which can be passed additionally when calling the shop (with "&ws_tp1=...").
The value is output by WEBSALE on every page.
If this parameter is missing when calling, WEBSALE returns an empty string (ws_tp1="").

ws_tp2

Meaning and handling as for "ws_tp1".

ws_tp3

Meaning and handling as for "ws_tp1".

ws_gclid

Optional GoogleClickID (max. 64 characters), which can be passed additionally when calling the shop (with "&gclid=...").
The value is output by WEBSALE on every page.
If this parameter is missing when calling, WEBSALE returns an empty string (ws_gclid="").

ws_test

Possible values:
yes: The shop is in test mode
no: The shop is not in test mode

ws_userindex_md5

MD5 hash (16 bytes, 32 characters) of the user index. The UserIndex is a unique ID when a user logs in or registers in the shop. This ID is assigned only once and remains constant for a user over the entire period. For non-registered users this parameter is empty.

ws_email_md5

MD5 hash (16 bytes, 32 characters) of the email address. This value will be output only if the shop knows the e-mail address of the orderer.

ws_price_type

Values:
net: All prices/costs except "ws_basket_total" are net
large: All prices/costs are gross

ws_currency

Currency code according to ISO 4217, e.g. "EUR" for Euro

ws_currency_display

Optional target currency according to ISO 4217, if several subshops work with different currencies

ws_exchange_rate

Optional exchange rate, related to the target currency.

Example:
Base currency: USD
Target currency: EUR
ws_exchange_rate = 1.3072

...

State "ws_state

Description

additional variables

Start

Start page

Category

Display a category

ws_cat_name (name of the category)
ws_cat_index (index of the category)

Product

Display of an article

ws_cat_name
ws_cat_index
ws_prod_name (item name)
ws_prod_number (item number)
ws_prod_index (product index)

Basket

Display the basket

AddBasket

One or more items were added to the basket

ws_add_basket_positions (Number of added items)

ws_add_basket_mainpositions(Number of added main items in the basket, considers all items except hidden items and set subproducts)

ws_add_basket_quantities (number of added items)

ws_add_basket_mainquantities (number of added main items in the basket, considers all items except hidden items and set subproducts)

The following information will be output when ws_data_type=advanced!

ws_add_basket_subtotal(value of added items)

ws_add_basket[i][1](Item number)

ws_add_basket[i][2](item name)

ws_add_basket[i][3] (Price)

ws_add_basket[i][4] (Quantity)

ws_add_basket[i][5] (Category path)

ws_add_basket[i][6] (Product index)

ws_add_basket[i][7] (VAT rate, e.g. "19")

ws_add_basket[i][8] (Total amount)

ws_add_basket[i][9] (Set top product yes/no)

ws_add_basket[i][10] (Set subproduct yes/no)

ws_add_basket[i][11](hidden position yes/no)

i=1 ... n

n= number of items in basket

DelBasket

One or more items were deleted from the basket

ws_del_basket_positions (Number of deleted positions)

ws_del_basket_mainpositions(Number of deleted main items in the basket, considers all items except hidden items and set subproducts)

ws_del_basket_quantities (Number of deleted quantity)

ws_del_basket_mainquantities (number of deleted main items in the basket, considers all items except hidden items and set subproducts)

The following information will be output when ws_data_type=advanced!

ws_del_basket_subtotal(value of goods of deleted items)

ws_del_basket[i][1](Article number)

ws_del_basket[i][2](item name)

ws_del_basket[i][3] (Price)

ws_del_basket[i][4] (Quantity)

ws_del_basket[i][5] (Category path)

ws_del_basket[i][6] (Product index)

ws_del_basket[i][7] (VAT rate, e.g. "19")

ws_del_basket[i][8] (Total amount)

ws_del_basket[i][9] (Set top product yes/no)

ws_del_basket[i][10] (Set subproduct yes/no)

ws_del_basket[i][11] (hidden position yes/no)

i=1 ... n

n= number of items in basket

Address

Input of the billing address

DelivAddress

Input of a different delivery address

PayDeliv

Specification of the payment method and delivery

Conditions

Display of the terms and conditions page

PlaceOrder

Order overview, send order

Confirm

Confirmation page

The following information will be displayed if ws_data_type=advanced!

ws_order_number(Unique order number)

ws_basket_positions(Number of positions in the basket)

ws_basket_mainpositions(Number of main items in the basket, considers all items except hidden items and set subproducts)

ws_basket_quantities(Number of items in the basket)

ws_basket_mainquantities(Number of main items in basket, considers all items except hidden items and set subproducts)

ws_basket_subtotal(value of goods, gross or net)

ws_basket_subtotal_net(value of goods, net)

ws_basket_subtotal_gross(Gross value of goods)

ws_basket_total(total, always gross)

ws_basket_total_net(total net)

ws_affiliate_provider(Name of the affiliate provider)

ws_affiliate_partner_id(Affiliate partner ID)

ws_delivery_name(Delivery name)

ws_delivery_cost(Delivery cost)

ws_payment_name(Payment method name)

ws_payment_cost(Cost of payment method)

ws_total_discount(total discount given)

ws_a_zip(postal code of the billing address)

ws_a_city(city of the billing address)

ws_a_country(country of the billing address)

ws_a_number(MD5 hash of the customer number)

ws_d_zip(Postal code of the dev. delivery address)

ws_d_city(City of the different delivery address)

ws_d_country(Country of the different delivery address)

ws_basket[i][1](Item number)

ws_basket[i][2] (item name)

ws_basket[i][3] (Price)

ws_basket[i][4] (Quantity)

ws_basket[i][5] (Category path)

ws_basket[i][6] (product index)

ws_basket[i][7] (VAT rate, e.g. "19")

ws_basket[i][8] (Total amount)

ws_basket[i][9] (Set top product yes/no)

ws_basket[i][10](Set subproduct yes/no)

ws_basket[i][11] (hidden position yes/no)

ws_basket[i][12] (commission info)

ws_basket[i][13] (AdditionalInput fields)
Format:

Code Block
{
  "additionalinput1" : "value1",
  "additionalinput2" : "value2" 
  ...
}

ws_basket[i][14](ExtraInput fields)
Format:

Code Block
{
  "extrainput1" : "value1",
  "extrainput2" : "value2"   
  ...
}

ws_basket[i][15](free fields in basket)
Format:

Code Block
{
  "style" : "value1",
  "material" : "value2"
  ...
}

ws_basket[i][16] (number of used addresses of the item (if MultiALA)/empty, if MultiALAs not used)

i=1 ... n
n= number of positions in the basket

Optional costs for climate-neutral production
ws_climateneutral_cost(net or gross)
ws_climateneutral_cost_net(net)
ws_climateneutral_cost_gross(gross)

Optional costs for Web2Print
ws_web2print_cost(net or gross)
ws_web2print_cost_net(net)
ws_web2print_cost_gross(gross)

ProductRecmd

Recommend article

ws_cat_name
ws_prod_name
ws_prod_number
ws_prod_index

ProductRecmdConfirm

Recommend article confirmation

ws_cat_name
ws_prod_name
ws_prod_number
ws_prod_index

Voucher

Page Enter voucher number

Notify

General notification page

ws_notify_msg (text of the notification)

OrderHistory

Page shopping cart history (order history)

Search

Search results

ws_search_phrase (search phrase)

ws_search_results (number of hits of the search)

MemoList

Show memo list

PrintConfirm

Print view of the confirmation page

Login

Login or registration in the shop

ws_login_error (Error during login/registration)

na: Login page was called

error: General error

uid_pw: Invalid user ID or password for existing customer login

new_uid: UserID already exists at registration or is wrong at new customer registration

new_pw: Wrong password at a new customer registration

change_uid: UserID already exists or is wrong at "Change UserID

change_pw: Password is wrong at "Change password

UserAccount

Customer account

Template

Any template

ws_template_name

DirectOrder

Direct order

Logout

Logout

...