Loading...

Last updated: Apr 24 2018

Area: Episerver Campaign Applies to versions: Not applicable

getClickCountByUrl

Counts the clicks for each of the given URLs in Episerver Campaign.

Type: int[ ]

Parameters

NameTypeValue

sessionId

String

ID of the session

mailingId

long

ID of the mailing

URLs

String[ ]

Link URLs of the mailing to be analysed

unique

boolean

  • true: Multiple countings of recipients that clicked a link in the mailing several times are removed.
  • false: The overall number of clicks for a link is returned.

Return values

Number of clicks for each URL

Code structure

int[] getClickCountByUrl(String sessionId, long mailingId, String[] URLs, boolean unique)

Do you have feedback on this documentation? Send an email to documentation@episerver.com. For development-related questions and discussions, refer to our Forums on https://world.episerver.com/forum/