We'll create fresh WordPress site with Wirtualna Polska Pixel installed. You have 20 minutes to test the plugin after that site we'll be deleted.
WPH Pixel is used to analyze the activities of users visiting the website (conversion analysis). The collected data can be used, for example, to analyze the effectiveness of the conversion path and build a sales funnel.
Data from WP codes are used for:
More info: https://ads.wp.pl/help/pixel/
The WP Pixel script is a code written in JavaScript that records the following user actions on the website:
Parameters are objects passed in JSON. They provide additional information about the activities of users visiting the website.
To add parameters to an object, format the data as an object with JSON and include it as the third parameter of the function when calling wph(\’track\’).
value (type: number)
Order value
example: 104.99
currency (type: string)
The default value is set in PLN, if the transaction took place in another currency, you can add information in which currency,
example: ‘EUR’
name (type: string)
product name
example: ’coca-cola’
content_category (type: string)
Category name,
example: ’soda’
content_ids (type: string[])
An array of product IDs provided in the product feed,
example: [‘ID1’, ‘ID2’, ‘ID3’]|
transaction_id (type: string)
Unique order ID
example: ‘ID001’
mvalue (type: string)
Margin on a given click
example: ’15.50’
in_stock (type: bolean)
Information whether the product is available
example: true
price (type: number)
Price of a single product
example: 123.90
sizes (type: string[])
Size chart assigned to the product
example: [’s’, ’m’, ’l’, ’xl’]
shipping_cost (type: number)
Shipping cost
example 22.55
discount_code (type : string)
Discount code
example: ’QWERTY123’
quantity (type: number)
Number of units
example: 3
contents (type: CustomProduct[])
List of products with identifiers associated with the product feed and additional informations.|
example:
[
{
id: ‘PRODUCT_ID’,
name: ‘PRODUCT_NAME’,
price: 20.15,
quantity: 2,
in_stock: true,
sizes: [‘SX’, ‘L’]
}
]
After installing the pixel on your website, open any page of the website where the pixel is located. If the pixel is installed correctly, it will send information to analytical systems.