Skip to main content
All CollectionsScript installation
Adding Claspo script via Google Tag Manager
Adding Claspo script via Google Tag Manager

Learn how to install the Claspo script on the site where you have the GTM code installed

M
Written by Maryna Hura
Updated over 5 months ago

If you have the GTM code installed on your site, you can add the Claspo script to a tag in GTM. After that, you can publish Claspo widgets on your site.

To add the Claspo script to a tag in GTM:

  1. In your Claspo account, select Copy code at the Installing the script using Google Tag Manager onboarding step.

  2. In your GTM container, select Tags and then New.

  3. Enter the tag’s name at the top of the window. For example: Claspo script.

  4. Select Tag Configuration.

  5. In the Tag Configuration section, choose the Custom HTML tag.

  6. Paste the Claspo script in the HTML field. This is the script you copied in step 1 of these instructions.

  7. Select Triggering.

  8. In the Triggering section, select All Pages.

  9. Click Save.

  10. Click the Submit button.

  11. Enter the version name and description into the corresponding fields and click Publish.

Did this answer your question?