Adding Google Adverts code in header of a specific page


#1

Hi there,
I am using Google Ads and and are looking to add the appropriate code snippets on the Grav website.

The first bit of code is the “Global site tag” which I have added in the head.html.twig under the partials folder for the template used.

The second bit of code called the “event snippet” should be added in the header of a specific (landing) page only.

Anyone know how I can do this?
Is it possible to target such individual page with such code snippet?