mailing_tags
php
array mailing_tags ( number|array $shipmentId, number $shipmentIdMax )Returns link tags and the total number of clicks on all links sharing each tag. You can retrieve data for a single mailing ($shipmentId as a mailing ID), a list of mailings ($shipmentId as an array), or mailings from $shipmentId to $shipmentIdMax.
Example:
php
print_r(mailing_tags(7));Result:
Array ( [ticket] => 1 )