Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 17.0

...

  1. In the Frosmo Control Panel, in the sidebar, select Setup More > Shared codeCode.
  2. Click Create shared code.
  3. Define the shared code settings.

    Creating shared code

  4. When you're done, click Create.
  5. To start executing the shared code on the site, click Activate, and then click Activate to confirm. You can also activate the shared code later, either from the shared code list or by editing the code.

...

  1. In the Frosmo Control Panel, in the sidebar, select Setup More > Shared codeCode.
  2. In the shared code list, find the piece of shared code you want to edit, and click its the shared code name.
  3. Edit the shared code settings.
  4. When you're done, click Save.
  5. Optionally, activate or deactivate the shared code:

    • If currently active: To stop executing the shared code on the site, click Deactivate, and then click Deactivate to confirm. The piece of shared code is no longer executed on the site (unless a visitor still has the code cached in their browser).
    • If currently inactive: To start executing the shared code on the site, click Activate, and then click Activate to confirm. The piece of shared code is now automatically executed on every page load or when the trigger, if defined, fires.
    Tip

    You can also activate and deactivate the shared code from the shared code list.


...

The following table describes the settings you can define for a piece of shared code in the Frosmo Control Panel.

Table: Shared code settings

...