The mgiInlineToken Tag

Tag Behavior

The mgiInlineToken tag tokenizes a single URL. A token associates the contents of a shopping basket with a specific web site visitor. The token is composed of the visitor's IP number and time interval so that each token is absolutely unique.


Tag Syntax

The mgiInlineToken tag has one required parameter and one optional parameter. The tag form is:

<mgiInlineToken url="URL" function="Tag Function">

Required Parameters:

  • url="URL" where "URL" is the address to be tokenized.

Optional Parameters:

  • function="Tag Function" where "Tag Function" is the current action of the mgiToken tag. The "addTokenOnly" function appends a unique MGI Token number to each URL on the page. The "addTokenWithPathArguments" function appends a unique MGI Token number and any path arguments that are passed to the page to each URL on the page. The "addPathArgumentsOnly" function appends any path arguments that are passed to the page to each URL on the page. The default function is "addTokenOnly".


Example Usage and Output

<mgiRedirect href={mgiInlineToken url={mgiFieldContent name="gohere"}}>

When this example mgiInlineToken tag is processed through an MGI server, the HREF from a popup menu will be appended with a unique token number.


Suggested Usage

  • Redirects


[Return to the Referencing MGI Menu]


[User Guide Main Menu] [Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]