Different CMS collection page depending on the static page it links from

Hi friends,

I have two different static Webflow pages linking to the same CMS collection template page.

I want the CMS collection template to display different layouts depending on which static page the user is coming from.

Specifically, I want a group of share icons to not be visible if the user is coming from one of the two static pages.

I’m not sure if I can set this up only with conditional statements, or if I need custom code.

Thanks for your help!


Here is my public share link: LINK
(how to access public share link)

You would need to implement custom code that was conditional based on the referrer. See Document.referrer - Web APIs | MDN

1 Like

Thanks!! I’ll take a look at this