Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

Which manufacturer is on which place - number ? Category Listing

Avatar

Level 4

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 ;-)

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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