first stab at ads

Do not merge yet,
For review only now
After I implement analytics (which will all have to be available in the head), I'm not sure that the ads code will need to implement its very own tracking function