Adding Google Analytics tracking code to a POWr Plugin

Created May 04 2016. Updated May 11 2016

Can I add a Google Analytics tracking code to my POWr Plugin?

Yes, you can! All you need is a Google Analytics account and a POWr Premium, Pro, or Business subscription.

How do I add the code to my POWr Plugin?

First, find your Google Analytics tracking code:

  1. Sign in to your Google Analytics account.
  2. Select the Admin tab.
  3. Select an account, then choose a property from the dropdown in the Property column.
  4. Under Property, click Tracking Info > Tracking Code.
  5. Copy the code.

Then, install the code in any of your POWr Plugins:

  1. Go to
  2. Access any of your Plugins and open the POWr Editor.
  3. Go to Design > Advanced > Custom JS.
  4. Remove any script tags from the code.
  5. Save your Plugin.

It's important that you leave out the script tags. Adding script tags to the custom code boxes can break your POWr Plugin. If your tracking code contains noscript tags and plain text, please leave those out, as well.

What can I track with a GA code in a POWr Plugin?

Adding a tracking code to your POWr Plugins is useful if you are tracking user behavior in Google Analytics. Make your POWr Plugin a "Goal" (e.g. measure if a visit to your Contact page results in the user submitting a form response) or integrate a POWr Plugin in one of your "User Flows".

If you'd like to track the submit action in a POWr Form plugin, you will want to wrap an extra bit of javascript around your tracking code. It would have to look like this:


Yes, This was helpful
Yes, This was helpful
No, This was NOT helpful