How to include Google adsense code at footer in PrestaShop 1.7

How to include google adsense code at footer in prestashop 1.7

In this post I am going to explain how to include google adsense code at footer in prestashop 1.7

In order to add your google adsense code at footer, please open the below files from your current template/theme.

For example classic template footer.tpl file path.

[PrestaShop Root Directory]/themes/classic/templates/_partials/footer.tpl

Please check your template name and find the footer.tpl file according to your template name.

Now, at the end of current code in footer.tpl file include your adsense code like below.

Here, replace “data-ad-client” with your publisher ID & “data-ad-slot” with your ad unit’s ID.

Save changes in this file, refresh your home page and check the changes:

Thats it!

1 Comment

  1. awesom….gives a clear idea ………. Thanks !

Leave a Reply

Your email address will not be published. Required fields are marked *