Versions Compared

Key

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

If you offer different product variations (such as size, colour, material, etc) than your integration will slightly be different, please follow the guidelines on the Product Variant page.

...

As demonstrated in javascript code when there are multiple products in shopping cart product codes, quantities and prices must be seperated with ";".

Note
titleImportant Notes

-SuggestActions() function must be called only once on every page. Otherwise recommendation won't work properly.

- You must define OnVisilabsLoaded() before calling it. You can do it by inserting the OnVisilabsLoaded() code before the RMC main script.

- OnVisilabsLoaded function must be defined only once on every page. When a page has multiple event triggers, for example:  and event can be triggered on same page; 2 functions must be defined with different names. In this case, since the OnVisilabsLoaded name defined for Product Page View, function name for Cart Update(Add to/Remove from Cart) event must be something else and this function must be called when Cart Update(Add to/Remove from Cart) event triggers.

- Example function definition and call for Cart Update(Add to/Remove from Cart) event:

definition: function rdAddtoCart() {
  ...
}
call: rdAddtoCart();

- Do not use thousands separator when sending numbers. Wrong: 123.456,78 Correct: 123456,78

-You must pass the total revenue value to OM.ppr parameter which is the number of items purchased multiplied by the price of a single item.


...