ChannelTracking
What (summary)
AdSense can attribute ad revenue to "channels" that are setup on the AdSense website. This project is to associate AdSense channel ids withWhy this is important
Channel tracking gives us the ability to relate ad revenue to the effort we expend to earn it (ROI).
DoneDone
- We will know that this is done when the content team can ...
- create a new channel,
- tag pages with a channel id
- see revenue the next day that is attributed to that channel.
- We must test that multiple channels are handled properly
- We must also check that ad revenue attributed to channels is not subtracted from our current reports. We believe this to be the case but must check too.
Steps to get to DoneDone
- create a database table for associating portal names with ids
- create a CRUD interface to this table with the same access restrictions as our credit-card transaction interface
- emit ids as a variable definition that can be examined by our skin
- modify our google ads to include channel id info (see below)
- test by ...
- changing channels, and
- changing other ad parameters that are recorded elsewhere in aboutus software
AdSense code format
This project requires understanding and dynamically modifying AdSense generated code. This appears to be straightforward since hand generated code with multiple channels has these included into the add code with the reasonably obvious addition:
- //2007-12-31: Portland Tech, AboutUs.org
- google_ad_channel = "5511508489+2208325199";
Presumably the comment is optional and the 5511508489+2208325199 part would be constructed from the ids associated with all applicable portal-tracking tags.