0

everyone! I have another question and hope for your assistance.

Intro: Our SMC platform has a "Tracking" section where we can view analytics for campaign sends. In this analytics, we can download a table showing the counts of unique clicks on the email (in Overview). We find the analytics we need in the "Click Activity" section, but I am unsure how to download it along with the required data.

Question: Are there any methods(SQL queries) to create a Data Extension (DE) that contains all the data from "Click Activity" related to clicks, including the Subscriber key, email, click time,id, link, total and unique clicks in the table? enter image description here

1 Answer 1

0

What you are looking for is most probably _Click Data View. It holds all clicks made by your subscribers across all emails. You can join this with the _Job Data View, to identify jobs which sent specific emails, if you want to limit the clicks to only those coming from some of your emails.

The last use case can be achieved with a query similar to this:

SELECT
c.*
FROM _Click c
INNER JOIN (
    SELECT 
    JobID
    ,EmailName
    FROM _Job 
) j ON j.JobID = c.JobID
WHERE j.EmailName = 'Email Name'

Remember, _Job Data View is the only data view that is specific to a particular Business Unit.

5
  • Thank you so much for the answer. Am I right, that that query will show all clicks for each link in the result? Commented Oct 18, 2023 at 9:56
  • Yes, that’s correct @LarisaRusinovich Commented Oct 18, 2023 at 10:02
  • And if I need only 1 JobID, will be this code correct? SELECT c.* FROM _Click c INNER JOIN ( SELECT JobID ,EmailName FROM _Job WHERE JobID = 63 ) j ON j.JobID = c.JobID WHERE j.EmailName = 'Email Name' Commented Oct 18, 2023 at 10:59
  • @LarisaRusinovich - You don't need to join Job table for this, only: SELECT * FROM _Click where JobID = 63 Commented Oct 18, 2023 at 11:35
  • @LarisaRusinovich - remember to mark my answer as accepted, if it has been helpful Commented Oct 18, 2023 at 13:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .