Frameworks and Platforms

Ours Integration with Drupal

Step-by-step guide to integrate Ours with Drupal for tracking page views and custom events while maintaining privacy and HIPAA compliance.

Ours Integration with Drupal

Integrating Ours with your Drupal site allows you to track page views and custom events efficiently. This guide walks you through setting up Ours Privacy tracking on Drupal.

The simplest way to integrate Ours with Drupal is using the Ours Privacy Tag Manager. Follow the Tag Manager Installation Guide to get started with no-code, HIPAA-compliant tag management.

Option 2: JavaScript Web SDK

You can also integrate directly using the JavaScript Web SDK:

  1. Copy the Ours Install Script:

    • Log in to your Ours account and navigate to the installation page.
    • Copy the provided install script.
  2. Insert the Script into Your Drupal Site:

    • You can add the script to the <head> section of your Drupal site. This can be done by editing your theme's html.html.twig file or using a module that allows you to insert custom scripts.
  3. Track Events Using JavaScript:

    • Once the script is installed, you can track events by calling the ours('track', 'Event Name') function anywhere in your JavaScript code.

Why Use Ours Privacy with Drupal?

Ours provides a HIPAA-compliant analytics solution that ensures privacy and security for your Drupal site. It allows you to track user interactions without exposing IP addresses or using third-party cookies.

How is this guide?

On this page