Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I wish to use Google DFP for my site and insert Google tag manager. Can i do that without using any module ie put main codes in tpl file and ad codes in blocks? I tried but it is not showing

share|improve this question
    
could you let us know how you have done it with a code sample? –  Mohammed Shameem Jan 19 '13 at 5:57
    
Where did you tried it ? in which tpl ? –  Nikhil M Jan 19 '13 at 7:17
    
have done in frot page tpl also added in page.tpl –  Vox Jan 20 '13 at 6:23
add comment

1 Answer

I have been able to solve it. I ddes the first part of code in front-page.tpl and page.tpl file just before . Further specific ad slots were added by using blocks where I created individual blocks to add google tag manager code.

No need to install google ad manager module.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.