Skip to main content

Google Analytics and External Links

How can I have google analytics track a click to an external link as a goal conversion? I tried to follow google's instructions (, but when I insert the google's code into the HTML source section of the NB content page, much of it gets deleted when I click save.

Official response from

There are two parts to the answer.

a. If you want to do JavaScript or more sophisticated HTML, you shouldn't use the WYSIWYG editor as that will strip out a lot of stuff to make the content area as clean as possible.  But you have complete control over the HTML if you click on the "Template" tab for your page. 

b. You are using the older code, NationBuilder uses the latest "async" Google Analytics code, details are here on how to do goal tracking of off-site URLs

Complete and current information on how to use NationBuilder is available in the documentation section.

Share this post

Showing 2 reactions

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