Skip to main content

Deploying SmartLink Optimizations

Updated over 3 weeks ago

📘 This article explains how to deploy the links produced by SmartLink. SmartLink is part of Botify's Activation Suite, available as an option with all Botify plans.

There are two methods to deploy SmartLink optimizations:

Deploying Optimizations with Botify

The preferred method is to deploy links through Botify. This method deploys the links using a JavaScript snippet embedded in your pages and a PageWorkers optimization. Contact your SEO Success Manager to deploy links through Botify. Alternatively, you can deploy them using PageWorkers if it is included in your Botify plan.

Prerequisites

Before deployment, you must install the Botify JavaScript snippet on your site pages.

Creating the PageWorkers Optimization

Create a PageWorkers optimization to deploy the links.

To create the optimization:

  1. Create a Page Editor optimization in PageWorkers, selecting the Custom HTML element and the “with a template” option.

  2. Define the template of the link block, creating new variables from the column names in the CSV file you downloaded from SmartLink (e.g., dst_anchor_1, dst_anchor_2, etc.).

  3. Follow the Applying Optimizations by CSV path using the CSV file.

❗️ Do not run a split test with SmartLink optimizations since it will be applied to source pages, which is not the goal of linking optimizations.

Defining Link Attributes

Define the following attributes in the PageWorkers template:

Attribute

Reason

Notes

data-smartlink="products-to-categories"

Enables results tracking when linking to PLPs

data-smartlink="products-to-products"

Enables results tracking when linking to PDPs

data-smartlink-version="{date}"

Enables results tracking

Replace {date} with the appropriate date in YYYY-MM-DD format

data-smartlink-optimizationID=[SL_OPTIMIZATION_ID]

Allows multiple optimizations from the same type (e.g., PDP to PLP)

Replace {optimizationID} with the unique identifier shown in the optimization's URL:

Deploying Optimizations on Your Own

To deploy the SmartLink optimizations with your own method, click the Download Links button on the last step of the SmartLink wizard to retrieve the links.

The SmartLinks are contained in a CSV file composed of:

  1. The source URL where you will add the links.

  2. The titles (i.e., anchor text) for each link.

  3. The links to add to the source page for each destination.

The number of columns in the file corresponds to the number of links for each source page, which will be any number up to the maximum number of links you set in the SmartLink configuration, as shown below:

👉 Ensure you define the link attributes identified above.

Did this answer your question?