How to change "Collection List" to Collection Handle URL
Data Layer 1.0. has been depreciated
Please follow our upgrade guide to update to our latest version.
Learn how to change this setting in your Shopify GTM App
If you are using our app to implement Google Analytics (Shopify Plus stores) then you might be wondering why we set "Collection Page" as the product list name instead of the actual category.
This is subjective and can be done in multiple ways, we chose to follow Google's recommendations as our default where the "Lists" are macro-level placements for products like:
- Collection Pages
- Search Result Pages
- Related Products Block
- Cross-Sell Products Block
- Cart Page
- etc
We still send collection-level data - it just lives under the Product Category - Enhanced eCommerce dimension in Google Analytics as shown below:
If you'd prefer to change this to send collection URLs to fall under this product list performance, you can do so making these three changes.
- Go to your theme > edit code > search for elevar-body-end which will bring up the file you need to change.
- Then change Collection List in these three places shown below to collection.handle
- Save and validate on the frontend using GTM Preview mode
First place to change:
Two more places:
Validate on frontend:
That's it!
Worried You’re Making Decisions on Data You Can’t Trust?
Check out our blog and discover Shopify Optimization & Analytics Tips from Elevar's data experts.
Updated 1 day ago