Introduction
To display campaign on specifics pages , you have to configure the Beyable Object with the setAttributes method before to call the sendPageView method.
#
Attributes detailsattributes | type | actions |
---|---|---|
string | specify the type of page | |
string | fill the referer | |
string | fill url of your web site |
#
urlTypethe urlType value is a set of interface imported from the @beyable/sdk package. it's allow you to specify the type of your current page and change the parameter to set up you setAttributes methode.
value | actions |
---|---|
EPageUrlType.HOME | access to homePage attributes |
EPageUrlType.CART | access to cartPage attributes |
EPageUrlType.CATEGORY | access to categoryPage attributes |
EPageUrlType.TRANSACTION | access to transactionPage attributes |
EPageUrlType.PRODUCT | access to productPage attributes |
In the next section we will sea every attributes in details