πŸ‡ΊπŸ‡ΈUnited States @kleinmp

Account created on 10 November 2008, over 15 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States kleinmp

I just wanted to note that we ran into an issue with New Relic after adding the Content-Length header. It wouldn't inject the js-agent into the html because there was a Content-Length header (probably because it changes the length by doing so). So, we stopped getting PageView information until we removed the header.

https://docs.newrelic.com/docs/release-notes/agent-release-notes/php-rel...

One work around is to add the script tag manually in code. That way you get the correct Content-Length and you don't rely on it being injected automatically by the php agent.

https://docs.newrelic.com/docs/apm/agents/php-agent/features/browser-mon...

πŸ‡ΊπŸ‡ΈUnited States kleinmp

Attaching patch.

πŸ‡ΊπŸ‡ΈUnited States kleinmp

kleinmp β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States kleinmp

This patch is allowing a site I'm working on to run in both Drupal 9.5.x and 10.0.x with version 2.0 of this module. It probably does not work for Drupal 9.4 and less.

I updated the handle method to match how core is using it:

https://git.drupalcode.org/project/drupal/-/blob/10.0.11/core/modules/pa...

πŸ‡ΊπŸ‡ΈUnited States kleinmp

I re-roled the patch off of drupal 8 and hopefully fixed the simple test issue.

πŸ‡ΊπŸ‡ΈUnited States kleinmp

Here's the patch re-roled against the newest drupal 7 dev.

Production build 0.69.0 2024