Nats encode (NATS3)
From TMM Wiki
Jump to navigationJump to searchnats_encode
Creates a linkcode.
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
programid | The program number | Any valid program number. | The default program ID number | programid="123" |
campaignid | The campaign number | Any valid campaign number. | The default campaign ID number | campaignid="123" |
siteid | The site number | Any valid site number. | The default site ID number | siteid="123" |
assign | Store output in this variable | Any valid Smarty variable name | See output section below | assign="my_var" |
Output
Outputs a linkcode. For example: http://nats.example.com/track/OC4xLjEuMS4wLjAuMC4w The linkcode is also placed in the variable, {$encoded}.
Notes
None.
See Also
- nats_decode -- decodes an encoded link.
- nats_decode -- This function in NATS4.