How do i write a query in workflow such that i get number of click that user has performed on the email sent via adobe campaign?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Ajit_Tr ,
In query select targeting dimension as 'recipient' and filtering dimension as 'recipient Tracking log'
Query Condition: [url/@type] equals to Email Click
Complementary information > add data > Data linked to the filtering dimension > Data of the filtering dimension > add a new expression: count(@id)
Below click on Advanced parameter > Disable all checkbox and enable 'Group data by targeting dimension element'
Result:
Hi @Ajit_Tr ,
In query select targeting dimension as 'recipient' and filtering dimension as 'recipient Tracking log'
Query Condition: [url/@type] equals to Email Click
Complementary information > add data > Data linked to the filtering dimension > Data of the filtering dimension > add a new expression: count(@id)
Below click on Advanced parameter > Disable all checkbox and enable 'Group data by targeting dimension element'
Result:
The above query condition will provide Email click counts of all deliveries/campaign in the instance.
To filter email counts on any specific campaign or delivery, then you can add additional conditions like 'deliveryCode of delivery equals to' or 'internal name of delivery equals to' or 'internalName of Campaign equals to' depends on the requirement.
@Ajit_Tr ,
To retrieve the number of clicks that a user has performed on an email sent via Adobe Campaign, you can use the nms:trackingLogRcp schema in a workflow query activity, like -
select count(*) as Clicks
from nms:trackingLogRcp
where deliveryId = '<deliveryID>'
and linkLabel is not null
and targetMode = 'M'
and isProcessed = 1
and recipientId = '<recipientID>'
You will need to replace the <deliveryID> and <recipientID> placeholders with the appropriate values.
The query filters the tracking log records based on the following criteria:
Note that the tracking log records are only available for a limited time after the delivery is sent, so it is important to run this query soon after the delivery has been sent to ensure the tracking data is still available.
Hi @Ajit_Tr,
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies