Skip to main content

How to add javascript snippet to footer

Hi,

I know how to add code snippets to the template of any given page, but would like to know how i can add a code snippet to a master template, so that the code is reproduced in the footer of every single page of the site. Code is integration code for an affiliate program.

Any easy way to do this? Don't want to past to 100 pages manually.

Thanks.

Official response from

As Tim Wayne indicated, any code that should be included in all pages of your website should be included in the appropriate theme file of your site. These files can be accessed when you are using a Custom Theme. You can begin a Custom Theme based on any Stock Theme. 

Pages within your nation pull code from a variety of places, beginning with the theme files. The video included in our Theme Documentation helps explain this process. 

From your discussion in the comment section, it sounds like the Google analytics code you placed is not complete. Be sure it is in this format: UA-2839551-10. The code you place should include as many digits as included in this format example.

Share this post

Showing 9 reactions

Please check your e-mail for a link to activate your account.