Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Adding Google Adverts code in header of a specific page

Started by Goran 8 years ago · 0 replies · 610 views
8 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 jeremycherfas, 1 week ago
4 181 2 days ago
General · by lynbor, 6 days ago
2 122 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 1 week ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago