Closed (works as designed)
Project:
Google AdSense integration
Version:
8.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2018 at 19:31 UTC
Updated:
7 Oct 2018 at 15:00 UTC
Jump to comment: Most recent
Comments
Comment #2
jcnventuraThis was done previously with the Adsense Injector module.
The way to do this in D8 is to enable and use the AdSense text filter. It's not exactly the same as adsense injector, but there seems to be no movement in porting that to D8.
Comment #3
tepelena commentedIt would be great to have that functionality in D8 as well.
I am sure someone has already done, but can we add it to this module?
Comment #4
jcnventuraAfter taking a good look at it, I don't think the module needs to do anything more than it already does.
It already provides a filter to allow the content creator to inline an ad in the content text, and it provides a block that could be used in a block-paragraph for those using paragraphs.
Altering the page output to insert a piece of HTML at random locations is something that can easily break the page quite easily.