Below an example of a new Data View to create a simplified way to create an overview of all clicks and LinkNames.
Step 1: create a new data extension
- Create a new data extension and name it ‘AS_LinkName_EmailMetrics’
- Create the following fields:
- PrimaryKey: text (4000) + Primary Key
- SubscriberKey: text (254)
- JobId: number
- JourneyName: text (4000)
- EmailName: text (1024)
- SentDate: Date
- ClickDate: Date
- LinkName: text (1024)
- SecondsBetweenSentAndClick: decimal
- ClickType: text (1024)

Step 2: create a SQL activity
- Navigate to Journey Builder >> Automation Studio >> Activities
- Create a new SQL activity and call it ‘Email Clicks and LinkNames’
- Copy & past the SQL below into the SQL activity
- Choose update and select the data extension we created in step 1
Select
a.PrimaryKey,
a.SubscriberKey,
a.ClickDate,
a.LinkName,
a.SentDate,
a.JourneyName,
a.EmailName,
a.JobId,
a.SecondsBetweenSentAndClick,
a.ClickType
from (
SELECT
CONCAT(c.SubscriberKey, '_', c.EventDate, '_', c.JobID, '_', c.LinkName) AS PrimaryKey,
c.SubscriberKey,
c.EventDate AS ClickDate,
c.LinkName,
c.IsUnique,
s.EventDate AS SentDate,
j.journeyname AS JourneyName,
jo.EmailName AS EmailName,
s.JobID AS JobId,
DATEDIFF(second, s.EventDate, c.EventDate) AS SecondsBetweenSentAndClick,
CASE WHEN DATEDIFF(second, s.EventDate, c.EventDate) >= 100 THEN 'human-like' ELSE 'bot-like' END AS ClickType,
ROW_NUMBER() OVER (PARTITION BY c.SubscriberKey, c.JobID, c.LinkName ORDER BY c.EventDate DESC) AS RowNum
FROM [_CLICK] c
INNER JOIN _SENT s
ON c.JobID = s.JobID
AND c.ListID = s.ListID
AND c.BatchID = s.BatchID
AND c.SubscriberID = s.SubscriberID
INNER JOIN _job jo
ON c.JobID = jo.JobID
LEFT JOIN [_journeyactivity] ja
ON s.TriggererSendDefinitionObjectID = ja.JourneyActivityObjectID
LEFT JOIN [_journey] j
ON ja.VersionID = j.VersionID
WHERE c.IsUnique = 'TRUE'
/* AND c.EventDate > DATEADD(day, -1, GETDATE()) */
AND c.LinkName is not null
AND c.LinkName != ''
) a
WHERE a.RowNum = '1'
Step 3: create an automation
Create an automation in Automation Studio to run the SQL activity daily.
Step 4: connect the data extension to Data Designer
To be able to select this data extension in Activation Studio, you can connect it to the Data Designer on Contact Key = subscriberKey (one-to-many)
