I was wondering how one can set up Google analytics for Maestro forms?
I've previously used these instructions for my composer forms (Google Analytics Virtual Page Integration). But it requires the use of a business rule, which doesn't appear to be available in Maestro.
Form Options > Analytics
Set the appropriate tracking ID and base URL in there, and the form will provide load, page change events automatically. If you want to do anything further than that in a business rule, you have access to the global "ga" object and all it's standard Google methods. We are discouraged from doing field-level stuff though, as that will be better handled by Insights.
I followed these instructions and was blocked by the Content Security Policy in my Smart Form.
I see this message in the console.
And can verify that the header is being set on page load.
Is there a place to white list the google analytics script?
A search of the Avoka Knowledge Base will yield the answer you seek:
If you do need to run any business rules on page change you can do this by: