News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Remarkety changes for virtuemart

Started by roman5527, July 26, 2017, 16:05:44 PM

Previous topic - Next topic

roman5527

Hi, i use Remarkety services.

I need some changes  :


1. Customer identify code
Once the customer has logged in, you can notify Remarkety using the following JavaScript snippet:
Replace the sample email address with the real email address of the logged in customer.

[code]<script>
        var _rmData = _rmData || [];
        _rmData.push(["setCustomer", "email@sample.com"]);
        </script>
[/code]


2. Product View
To notify Remarkety about a customer who viewd a specific product you can use the following JavaScript snippet:
Replace the values of productId, productCategories, and productCategoriesIds with real values


<script>
        var _rmData = _rmData || [];
        _rmData.push(['productView', {
            productId: "XXXX",
            productCategories: ["Category1", "Category2"],
            productCategoriesIds: ["11101","11102"],
        }]);
        </script>



How do I do that?

Thanks