Google Adsense Und SP Page Builder - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Google Adsense Und SP Page Builder

AB

Andreas Becker

SP Page Builder 5 months ago

Hi, I'm looking to add Google Adsense to my website and I'm wondering how best to add scripts.

Is there a common practice how I can add the AdSense script via the SP-Page-Builder specifically, via a module?

0
1 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #192344

Hi Andreas,

As you can read here: https://support.google.com/adsense/answer/9274516?hl=en

Code must be added inside < Head > section, not inside component area where SPPB works.

For that use PhocaSite plugin (phoca.cz) - free, small & works with all templates.


According to next tip: https://support.google.com/adsense/answer/9190028?hl=en&ref_topic=28893&sjid=10472196793404169905-EU

As You can read it can be also in the center of your page. Then you have to use extra Custom Code module. Find it on JED. Then that module you can choose in Module addon, or use as module in template position(s).


Notice! Raw HTML Addon is for HTML code only, not Javascript that is used by AdsByGoogle.

0