Skip to main content

I have a question and I can't find the answer: I'm building a post-purchase flow for a brand that has many (many) products, with specific instructions for use for each product. On each product page of the site (woocommerce) there's a “how to use the product” section. I'd like to be able to redirect people directly to this specific part of the product page. I know how to make a link to the product page, but is it possible to integrate a tag or something into the link to redirect people to a section of the product page?

Thanks for your help :)

Hi @ClemenceBel,

Welcome to the Klaviyo community and thank you for your question!

What you’re looking to create here on WooCommerce is an Anchor Link. This means that you can create a link like www.website.com/productpage#CareInstructions, and when you click that link it directly goes to the CareInstructions anchor. 

I don’t have a ton of experience in WooCommerce but found an article that explains how to build Anchor Links in Wordpress here.

You can then use these created anchor links in your Klaviyo campaigns to send the customer to the right area!

Hope that helps.

Thanks
David


Hi @DavidV ! Thanks for your answer!

But what I was wondering is: could you use an anchor link or something like it in a link like this:

{{ event.extra.Items.0.URL }}


This is to use in a flow so I need the link to be dynamic and all the product pages have the same structure so I’m hoping there could be something haha


Hi @ClemenceBel,

Ahhh I’m so sorry - I misread what you were asking for and that you want to be able to do this at scale. 

I think in this case you would likely need to get a developer to create a fully custom catalogue feed that includes those specific URLs to call on.

The other option depending on your actual products would be to try and group them together and create a page with “how to use” instructions. For example you could use a condition in the flow to split based on the collection, and drive “clothing” collection purchases to the “clothing instructions” page. Not sure if that’s feasible for the product range you sell but that would be another option! 

Hope that helps!

Thanks
David


Thankkkssss for your answer ! I will look into all that but the “how to page” seem like the simpler option :) 

Thanks again !


Got it! Here’s a simpler approach without code:

  1. Locate the "How to Use" Section: Identify the section you want to link to on your product page.

  2. Edit the Product Page: Use the WordPress editor or page builder to edit the product page.

  3. Assign an Anchor: Some page builders have options to add anchors or IDs to sections. Look for an option to add a “section anchor” or “ID” to the “How to Use” section.

  4. Create the Link: Once the anchor is set, you can create a link to this section by appending #your-anchor-name to the product URL.

For example, if your product page URL is https://yourwebsite.com/product/your-product/ and the anchor you set is how-to-use, your link would be https://yourwebsite.com/product/your-product/#how-to-use.


Reply