Which manufacturer is on which place - number ? Category Listing

vitalin58577727 11-04-2019

I have a category page with the product pages (CategoryListing)

And I also have a DataLayer on the side:

digitalData.product = [

{

productInfo: {

productID: "10001",

manufacturer: "Samsung",

productName: "Smartphone12"

},

        category: {

    productType: "xx",

primaryCategory: "xx"

}

},

{

productInfo: {

productID: "10002",

manufacturer: "Apple",

productName: "SmartphoneXY"

},

        category: {

productType: "xx",

primaryCategory: "xx"

}

},

{

productInfo: {

productID: "10003",

manufacturer: "Nokia",

productName: "SmartphoneXYX"

},

        category: {

productType: "xxx",

primaryCategory: "xxx"

}

}

];

My question;

What is the best way to track which product or manufacturer is in 1st place and which is in 3rd place?

Which manufacturer is on which place(number)? Like Google Postion 😉

Accepted Solutions (1)

Accepted Solutions (1)

asheeshp
MVP
19-04-2019

First I would ask dev to set product position on the page in dataLayer. Example:

digitalData.product = [{

        productInfo: {

            productID: "10001",

            manufacturer: "Samsung",

            productName: "Smartphone12",

            position = 1

        },

        category: {

            productType: "xx",

            primaryCategory: "xx"

        }

    },

    {

        productInfo: {

            productID: "10002",

            manufacturer: "Apple",

            productName: "SmartphoneXY",

            position = 2

        },

        category: {

            productType: "xx",

            primaryCategory: "xx"

        }

    },

    {

        productInfo: {

            productID: "10003",

            manufacturer: "Nokia",

            productName: "SmartphoneXYX"3

            position = 3

        },

        category: {

            productType: "xxx",

            primaryCategory: "xxx"

        }

    }

];

Second I would set product position in merchandising variable. I had explained it detailed in another thread. See Here Tagging Product Position

Thanks,

Asheesh

Answers (0)