Specials URLs tracking doesn't work since 2.6

Created on 30 May 2023, over 1 year ago

Just updated to latest 7.x and it appears special URL tracking no longer works.

This is the bit of code from googleanalytics.js that doesn't fire anymore.

/**
 * Check whether this is a special URL or not.
 *
 * URL types:
 *  - gotwo.module /go/* links.
 *
 * @param string url
 *   The web url to check.
 *
 * @return boolean
 */
Drupal.googleanalytics.isInternalSpecial = function (url) {
  var isInternalSpecial = new RegExp("(\/go\/.*)$", "i");
  return isInternalSpecial.test(url);
};
🐛 Bug report
Status

Active

Version

2.8

Component

Code

Created by

🇦🇺Australia standingtall

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024