Hi. Can I use one of the extensions in the menu to insert code into the page in the head and body section? Like tracking codes, conversion codes, etc.? I don't like putting it in the page code directly. I would like to have it in some kind of extension on all websites. Thank you.
You can use Sourcerer to place the code.
Put that in a module of type Custom and assign it to all pages or just the ones you need it on.
regularlabs.com/sourcerer
I tried it and it seems impractical. Maybe this is an interesting idea for your next extension. I see it as an interesting component for simple, but mainly clear management of these codes.
Administration could look the same as ReReplacer. The whole component could look like ReReplacer, with the difference that I will not search and replace, but just insert. I would immediately buy such a component, because I like order in codes 🙂
Really? They always guess they want before HEAD. What is the difference?
However, I would definitely buy a component directly for embedding the code if you do it the way I wrote above 🙂
Hi. I have an additional question. How to create replacements so that the generation of the page is as minimal as possible? For example, Enable in area only body, or something else?
ReReplacer needs to do the least amount of stuff if you set the Area to Everywhere or Body.
So set it to that if it doesn't really matter for your replacement.
Well, yes, in your case, with that specific replacement, you are searching for '</head>'.
That only appears in the entire HTML code. So you need to set it to 'Everywhere'.