Create alter hook for pageview value.

Created on 11 August 2020, over 4 years ago
Updated 10 July 2023, over 1 year ago

Problem/Motivation

When we get the numbers from GA it would be great if we can alter the values before writing it to db.

API changes

New alter hook before writing data to db.

✨ Feature request
Status

Closed: won't fix

Version

4.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary brtamas

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΈπŸ‡°Slovakia kaszarobert

    I don't see a use case for this but can be done in the latest version. Implement a custom GoogleAnalyticsCounterResultProcessor in a custom module. See example:
    - src/Plugin/GoogleAnalyticsCounterResultProcessor/DefaultResultProcessor.php
    - src/Plugin/GoogleAnalyticsCounterResultProcessor/UrlAliasResultProcessor.php

    I don't think we need a hook or event just for this, so closing this issue.

Production build 0.71.5 2024