Google Tag Manager (GTM)

Use Google Tag Manager to easily deploy and manage the Cryptiques analytics script across your website.

Walkthrough:

  1. Copy the Cryptiques Script:

    • Go to your website settings in the Cryptiques platform (app.cryptique.io).

    • Select the "Script" integration option.

    • Copy the entire script snippet provided. Make sure it includes your YOUR_SITE_ID.

    <script>
          var script = document.createElement('script');
          script.src = 'http://cdn.cryptique.io/scripts/analytics/1.0.1/cryptique.js';  
          script.setAttribute('site-id', 'xxxxxxxxxxxxxx');
          document.head.appendChild(script);
    </script>
  2. Add Script to GTM:

    • Log in to your Google Tag Manager account at tagmanager.google.com.

    • Select the container for your website.

    • Navigate to Tags in the left sidebar.

    • Click New.

    • Click on Tag Configuration.

    • Choose the Custom HTML tag type.

    • Paste the full Cryptique's script snippet (copied in step 1) into the HTML field.

  3. Configure Triggering:

    • Click on Triggering.

    • Select the All Pages trigger (or a more specific trigger if needed, but 'All Pages' is typical for analytics).

  4. Save the Tag:

    • Give your tag a descriptive name (e.g., "Cryptique's Analytics Script").

    • Click Save.

  5. Publish Changes:

    • Click Submit in the top-right corner of your GTM workspace.

    • Click Publish and add version notes if desired.


Checking Script Status:

  1. Log In & Navigate: After deploying your website with the integrated Cryptiques script, log back into your Cryptiques account at app.cryptique.io/login (replace with actual URL).

  2. Access Off-Chain Analytics: Click on "Off-Chain Analytics" in the left-hand navigation bar to go to the dashboard.

  3. Select Your Website: Find the website selection dropdown menu at the top of the dashboard and choose the specific website you just integrated.

  4. Verify Installation: A pop-up or status indicator related to your selected website should appear, containing a "Verify Installation" button. Click this button.

    • Success: If the integration was successful, the platform will confirm the connection, and you should start seeing website data flowing into your dashboards shortly.

    • Error: If there's an issue with the integration, an error message will be displayed, prompting you to double-check the script placement and configuration. If problems persist, contact Cryptique's support.

Last updated