Support Forums - Classified Ads Script Osclass

Osclass theme support => Gamma Osclass Theme => Topic started by: webcity on April 14, 2020, 10:58:14 AM

Title: Using Google AdSense for Search
Post by: webcity on April 14, 2020, 10:58:14 AM
Hi,

I want to use AdSense for Search on my Gamma theme.

Can anyone suggest how to insert the page title or category of a search page into JavaScript?

The JavaScript code is:
Code: [Select]
"query": "my category title"I just want to grab the page title or category name and insert it into the JavaScript code.

Many thanks
Title: Re: Using Google AdSense for Search
Post by: MB Themes on April 20, 2020, 08:14:15 AM
That is not javascript code.