Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Which manufacturer is on which place - number ? Category Listing

vitalin58577727
Level 4
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
Asheesh_Pandey
Correct answer by
Community Advisor
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
Asheesh_Pandey
Correct answer by
Community Advisor
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