Prints Nosto's JavaScript library.

Kuvaus

The content of this tag belongs to the content printed by the {Extensions} tag. Use the {Extensions} tag instead of this tag.

Add the markup {Extensions(for:'head')} to a page's <head> to ensure that the library loads properly in the <body> element.

Nosto's JavaScript library collects data about an online store's customers' browsing behavior, based on which it forms product recommendation lists and prints products in the theme's spots marked with the {NostoProducts} tag.

See also detailed instructions for implementing Nosto's recommendations in the theme.

Syntaksi

{NostoScript}

Näkyvyys

Toimii näkyvyydessä: globaali

It is possible to use global visibility tags in any page template and within any tag.

The tag is used only in the page's <head> element. Use this tag on all pages that display Nosto recommendations.

Attribuutit

before/after:

With the before and after attributes, you can define content that is output before or after the content produced by the tag.

Allowed values: text that may contain HTML and Interface markup.

E.g.

  • before: '<p>This markup appears before the tag's own content.</p>'.
  • after: '<p>This appears after the tag's own content.</p>'

If the tag does not produce any content, the content of the before and after attributes will also not be displayed.

escape:

Adds an escape character before quotation marks in the output. The attribute makes it easier to process the tag-produced content when using JavaScript.

Allowed values: true/false. The default value is false.

or:

Defines alternative content that is displayed if the tag itself does not produce any content.

Allowed values: text that may contain HTML and Interface markup.

E.g. or:'Content not found.'