Streaming live at 10am (PST)

How to add "canonical tag" for page 1 2 3 category

Hi webflow cumunity,
I want to add canonical tag to https://domain.webflow.io/category/name for those page 1 2 3 of that url like https://domain.webflow.io/category/name?d4b38997_page=2; https://domain.webflow.io/category/name?d4b38997_page=3.
I’ve tried to add this script to head tag of category page but useless

<link rel="canonical" href="https://domain.webflow.io/categories/{slug} />