Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
AnchorTopTopPet 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.
Panel
titleFollowing steps are covered
Table of Contents

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 Additional niches properties of products allow studying user preferences and calculating recommendations more accurately. This section describes allowing filling the product feed with niche features of pet products.



Case Sensitivity

Warning

All parameter names are case-sensitive and should follow the spelling used in this documentation.




Pets

The "pets" element must be inside the "offer" element.


Code Block
languagexml
themeMidnight
<offer ...>
    ...
    <pets>
        ...
    </pets>
</offer>



Type

Anchor
type
type
The "pet_type" element must be inside the "pets" element and can have one of the following values:

ValueDescription
dog
Dog
Products for dogs
cat
Cat
Products for cats
bird
Bird
Products for birds
fish
Fish
Consider the following example of use:
Products for fish

Warning

Don't use this element for products made for other pets.


 ... info
Code Block
languagexml
titlethemeXML example
Midnight
<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:

Breed

The "breed" element must be inside the "pets" element.

Tip

Specify the pet breed code (EMS) if the product relates to a specific pet breed. If the product relates to more than one breed, don't use this element.


 ...
Code Block
languagexml
titlethemeXML example
Midnight
<offer ...>
    ...	
	<pets>
        <!-- ANA - the Anatolian cat (Turkish Shorthair) -->
	    <breed>old<<breed>ANA</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

Anchor
size
size
The "pet_size" element must be inside the "pets" element and can have one of the following values:

ValueDescription
smallFor small pets
mediumFor medium-sized pets
largeFor big pets

Consider the following example of use:


 ...
Code Block
languagexml
titlethemeXML example
Midnight
<offer ...>
    ...
	<pets>
	    <pet_size>old<size>small</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

Anchor
age
age
The "pet_age" element must be inside the "pets" element and can have one of the following values:

ValueDescription
youngKittens, pups and other cubs
middleMid-aged pets
oldOld pets

Consider the following example of use:


 ...
Code Block
languagexml
titlethemeXML example
Midnight
<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


Periodic

The "periodic" element must be inside the "pets" element and can have one of the following values:

ValueDescription
1Product is purchased frequently
0Product is purchased occasionally

Consider the following example of use:

. The default value.

 ...
Code Block
languagexml
titlethemeXML Example
Midnight
<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).

Return to the top of the page Proceed to the next page

Panel
titleTable of Contents
Page TreerootNiche Solutions



Column

Page Navigation

Table of Contents
maxLevel2
minLevel2
indent0px
stylenone




Related Pages

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
cqllabel = "products"