I noticed that google analytics went to zero after I updated to D7. It seems that the google analytics module is doing its thing, but the footer is never output anywhere in the Corolla theme. Neither is the header. Here is a patch that writes the footer.
I am a little unsure if the header is a region (as we know them form D6), so I left that out of the patch. If it is a place to stick scripts and stuff like I suspect, that should go in the theme as methinks.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 945124_2.patch | 559 bytes | naxoc |
| footer_corolla.patch | 552 bytes | naxoc |
Comments
Comment #1
naxoc commentedHmm, the first patch throws notices on undefined index. This one is a little more robust.
Comment #2
jarek foksa commentedThere is no $footer region defined in Corolla's info file.
I don't understand how printing this region would solve the problem with Google Analytics, it should already use $page_bottom region to append its JavaScript files.
Comment #3
naxoc commentedOK, we can close this then :) It was probably more like a bug in Google Analytics
Comment #4
mdylanbell commentedNothing to see here.