How do I add links in the text?

Add links to your template and focus on internal link building by directing your customers to relevant key pages

Want to add links to your contact page? A category page? Or maybe you want to include a link to a relevant product in your product description? Or lastly, you might want to add links focusing on internal link building and SEO juice? Whatever your reasons are for adding links to your template, there is one easy way to do it.

You mark the text in a variant you want to convert to a link. A drop-down menu will appear, and by clicking on "Format" you will see different format options.

To add a link you have to click on the last icon, the link icon (two chains linked together), and the following will appear in the variant:

<a href="">your marked text</a>

You will then add your link in between the two citation marks. 

"Your marked text" will then be your anchor text on the link (the link text that people can click on). The link will then look like this as an example:

<a href="https://icrobotic.com/">visit our website here</a> 

Want a quick way to insert a link in another variant? Just copy the above HTML code and insert it directly into another variant. Remember to change the URL and link text. 

Links are static if they do not come from the data

The links you add to the text are static which means that the link in that specific variant always will be the same. It doesn't change based on the data.

If you want a link that changes based on your data (a dynamic link), you will have to add links to your data. It will then be streamed to the software like any other kind of data.

You create a dynamic link the same way as creating a static link with a minor change. Instead of adding a URL between the two citation marks, you add the variable containing the link. Thus, the link will automatically change based on your loaded data and the link in that exact data variable. The link will then look like this: 

<a href="{data_variable_main_category_URL}">relevant product</a> 

If you want to make dynamic internal links in the text you can do it through extra variables. This could e.g. be a link to a category page based on the category or a brand page based on the brand.

Add internal links to an extra variable

Start by creating a dictionary extra variable following the guide in "How do I create an extra variable?". After this, follow the steps below to add the entries to the internal links.

  • Add dictionary entries based on the different outcomes from the chosen variable
  • Translate the entries to an internal link (see screenshot below). Remember to put single citation marks around the link.
  • Click on the +-icon or enter to add the entry and continue adding all relevant entries
  • Save the extra variable

Now you can insert the extra variable in the link just as shown above.

The link will then look like this: 

<a href="{dictionary-extra-variable-internal-link}">{vendor/brand}</a> 

The link is now based on two variables. The variables are the ones shown with {}.

The first variable is the internal link from the extra variable based on the brand/vendor. The second is the existing data variable for the vendor/brand. This means that when the brand/vendor changes, the internal link changes too.

In this way, you have a dynamic link that automatically changes based on the brand/vendor data.