Book Image

Digital Marketing with Drupal

By : José Fernandes
Book Image

Digital Marketing with Drupal

By: José Fernandes

Overview of this book

Drupal is an open-source platform for building ambitious digital experiences. With this practical guide to digital marketing, developers working with Drupal will be able to put their knowledge to work and boost the performance of their online marketing campaigns. Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, this book will take you through the most popular digital marketing techniques and how to apply them, including content marketing, email marketing, social media marketing, SEO, SEM, CRM, and marketing automation, and the latest developments in website personalization and AI marketing. Once you've learned the fundamentals of digital marketing, you'll see how to apply them to your Drupal website or online store. In addition, you'll discover how Drupal can help you better manage your tasks and automate some of them. The book will help you discover the free modules available, how to use them, and how to integrate Drupal with external marketing-related platforms and services. By the end of this Drupal digital marketing book, you'll be able to build and deploy a complete digital marketing platform on top of Drupal to reach a greater audience and achieve online success.
Table of Contents (15 chapters)
1
Section 1: Getting Started with Digital Marketing
4
Section 2: Market Your Drupal Website
11
Section 3: Boost Drupal's Digital Marketing to New Heights

Adding Google Analytics Enhanced Ecommerce integration to Drupal Commerce

You'll want to enable the measurement of user interactions with products on your e-commerce store across the user's shopping experience, including the views of product details when viewing a commerce product entity, the additions and removals of products from the shopping cart, the customer's checkout behavior, and their final purchases. We can do this using Google Analytics as follows:

  1. Firstly, you need to have a Google Tag Manager (GTM) account: https://tagmanager.google.com.
  2. Then, Google Analytics must be deployed with GTM: https://support.google.com/tagmanager/answer/6107124.
  3. On your Google Analytics account, you must enable Ecommerce and Enhanced Ecommerce Reporting: https://support.google.com/analytics/answer/6032539.

Figure 8.22 – Google Analytics with Enhanced Ecommerce enabled

  1. Install the Commerce Google Tag Manager module as...