Hi there,
There are two ways to add custom code to Collection page templates:
- Using page settings:
- Navigate to the page settings
- Insert your code between the or tags
- To create dynamic values for each Collection item, select the desired value in your code
- Click the purple “+ Add Field” button in the upper right of the custom code field
- Using Rich text fields:
- Click into a blank Rich text field
- Press the Plus icon
- Select “Custom Code”
- Paste your code in the HTML Embed Code Editor
- Click Save & Close
Please note that custom code will only be visible on the published site. You can learn more about custom code implementation in our documentation: https://help.webflow.com/article/how-to-add-custom-head-and-body-code-to-a-webflow-site
Hopefully this helps! If you still need assistance, please reply here so somebody from the community can help.