trackLinks
Alert
Outdated method. Supported for backward compatibility, but may be deprecated at any time. We strongly discourage its use.
To manage tracking outbound clicks, use the trackLinks parameter when initializing a tag.
Setting tracking of outbound links and download links.
The collected data is used when generating click maps and the Outbound clicks and File downloads reports.
ym(XXXXXX, 'trackLinks', enabled);
|
Parameter |
Type |
Default value |
Description |
|
|
|
Boolean |
Enables/disables tracking outbound links and file download links. Example: |
* Required parameter.
To disable tracking information about particular outbound clicks, use the ym-disable-tracklink HTML class.
To mark an internal link as an outbound link, use the ym-external-link class.
* Required parameter.