1. Create a separate AdSense channel for each category you want to track.
2. Get your AdSense code for each category and insert the code into your WordPress template files (depending on your theme, these could be: category.php, archive.php, or index.php) using conditional tags for each category.
Example:
<?php if (is_category('Category1')) { ?>your Google code with custom channel for this category goes here<?php } ?>
Viewing 1 replies (of 1 total)
The topic ‘track adsense on different catagories’ is closed to new replies.