Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Adding Google Adverts code in header of a specific page

Started by Goran 7 years ago · 0 replies · 557 views
7 years ago

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?

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 310 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 264 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago