The most frequently clicked links in email campaigns

Synerise allows you to create a report of the most frequently clicked links in an email campaign. To display links without UTM parameters, create an expression that formula sets the logic of displaying links.

Requirements


Make sure the links in the email templates contain the tracking parameters. You can read more about it here.

Create a metric


As the first part of the process, create a metric that calculates the occurrences of the newsletter.click event.

  1. Go to Analytics icon Analytics > Metrics > New metric.
  2. Enter the name of the metric.
  3. Leave the metric kind at default (Simple metric).
  4. As Aggregator, select Count.
  5. Leave Event and Occurrence type at default.
  6. From the Choose event dropdown list, select newsletter.click.
  7. As the date range, select Lifetime.
    Formula of the metric
    Formula of the metric
  8. Click Save.

Create an expression


In this part of the process, create an expression expression that will be available as a variable when including the newsletter.click event in analytics. The formula of the expression contains the regular expression for the URL parameter of the newsletter.click event. As a result, the expression removes UTM parameters from the link.

  1. Go to Analytics icon Analytics > Expression > New expression.
  2. Enter the name of the expression.
  3. Set the Expression for option to Event.
  4. From the dropdown list, select newsletter.click.
  5. Build the formula of the expression:
    1. On the dashboard, click Select.
    2. From the dropdown list, select Function > Regexp.
    3. In the left Select field, select Event attribute.
    4. From the dropdown list, select url.
    5. In the right dropdown list, select Constant.
    6. Enter the following formula: (?<=www\.|https:\/\/)[^\?\s]+(?=\?)?
    Formula of the expression
    Formula of the expression
  6. Save the expression.

Create a report


In this part of the process, create a report based on the metric and expression you prepared before. The result of the report is a table with the top/last links clicked in email campaigns and the number of clicks for each link.

  1. Go to Analytics icon Analytics > Reports > New report.
  2. Enter the name of the report.
  3. Select the metric you created in this part of the process.
  4. From the Range dropdown list, select the number of top (the most frequently clicked) or last (the least frequently clicked) results to be shown in the preview of the report.
  5. In the Dimension section, select the expression you created in this part of the process.
  6. In the date range, select the time that will be analyzed.
    Configuration of the report
    Configuration of the report
  7. Save the report.
  8. Click Preview to see the results.
    Report preview
    Report presents the top 3 clicked links and the number of clicks in the links
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker