Support » Plugin: Jetpack Without Promotions » Feature Request: Track # Ads Blocked

  • It would be interesting to know how many ads this plugin blocks. I know it’s a lot but having actual numbers is a different thing.

    And if your average site has huge numbers of ads then maybe Jetpack will consider adding so many ads in the first place (making Jetpack better for everyone who doesn’t have this installed).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dominik Schilling

    (@ocean90)

    WordPress Core Developer

    Hello @bftrick, thanks for your request.

    The plugin disables the promotions before they even can be displayed. Therefore we can’t provide such functionality without changing how promotions are fundamentally removed.

    I believe you could run a separate function right before you block the ads right?

    Ex. add_filter( 'jetpack_just_in_time_msgs', 'log_jetpack_just_in_time_msgs', 19 );

    Then fill out log_jetpack_just_in_time_msgs to update an option in the DB.

    Ulrich

    (@grapplerulrich)

    TDLR – This feature is not really in the scope of the plugin.

    I think it is more involved than that. You would need to count the number of calls before and afterwards so that you would get the count of the promotions without valid messages. Calculating the number of blocked messages over a certain time is not that interesting. Per page load would be more interesting, which becomes a larger overhead and impacts the performance of the website when you save information to the database on every admin page load.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature Request: Track # Ads Blocked’ is closed to new replies.