Pet Products algorithm is developed to automatically identify customer's pet or pets, their food and toys preferences, and specify product recommendations based on this data.
Add Additional Parameters to Your XML-file
For the algorithm to work properly every product in your XML Product Feed should have additional properties:
- pet type this product is targeted at;
- product purchase frequency;
- pet age.
This data should be included into the XML-file in the form of specific product parameters and send to PersonaClick.
Section <pets>
A distinctive cosmetic product feature is presence of the <cosmetics>
subsection inside the <offer>
section.
Add the following parameters to each product to your XML-File.
Pet Type
Optional parameter <pet_type>
. Placed inside the <offer>
section, within the <pets>
subsection.
Consider the following table of possible values:
Value | Description |
---|---|
dog | Dog |
cat | Cat |
bird | Bird |
fish | Fish |
Consider the following example of use:
... <offer ...> ... <pets> <pet_type>cat</pet_type> </pets> </offer> ...
Do not set this parameter, if the pet does not belong to any types described above.
Pet Breed
Optional parameter <breed>
. Placed inside the <offer>
section, within the <pets>
subsection.
This parameter should be attributed to the products that are targeted at specific breed. Shouldn't be used if the product is targeted at all breads of a wide variety of breeds.
Consider the following example of use:
... <offer ...> ... <pets> <breed>old</breed> </pets> </offer> ...
Pet Size
Optional parameter <breed>
. Placed inside the <offer>
section, within the <pets>
subsection.
This parameter should be attributed to the products that are targeted at specific size of the pet, for instance a food formula for a Saint Bernard or food formula for a Brussels Griffon.
Consider the following table of possible values:
Value | Description |
---|---|
small | For small pets |
medium | For medium-sized pets |
large | For big pets |
Consider the following example of use:
... <offer ...> ... <pets> <pet_size>old</pet_size> </pets> </offer> ...
Pet Age
Optional parameter <pet_age>
. Placed inside the <offer>
section, within the <pets>
subsection.
Consider the following table of possible values:
Value | Description |
---|---|
young | Kittens, pups and other cubs |
middle | Mid-aged pets |
old | Old pets |
Consider the following example of use:
... <offer ...> ... <pets> <pet_age>old</pet_age> </pets> </offer> ...
Purchase Frequency
Optional parameter <periodic>
. Placed inside the <offer>
section, within the <pets>
subsection.
Consider the following table of possible values:
Value | Description |
---|---|
1 | Product is purchased frequently |
0 | Product is purchased occasionally |
Consider the following example of use:
... <offer ...> ... <pets> <periodic>1</periodic> </pets> </offer> ...
Product Brand
Optional parameter <brand>
. Placed inside the <offer>
section, within the <pets>
subsection (a basic XML tag, for more information address XML Product Feed).