You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often goals need to be triggered in the page body in content that is dynamic when the site footer and header are the same. Currently it appears that trackGoal() only works when included in boilerplate Piwik JS code, usually in the page footer. Please generate tracking JS which can be used anywhere in the page, separate to any other piwik tracking code. This will also be necessary for sites with heavy use of dynamic JS content.
The text was updated successfully, but these errors were encountered:
You can always call that method whenever you want. As long as var _paq = _paq || []; was already defined (which can also be done in before and outside the tracking code)
Often goals need to be triggered in the page body in content that is dynamic when the site footer and header are the same. Currently it appears that trackGoal() only works when included in boilerplate Piwik JS code, usually in the page footer. Please generate tracking JS which can be used anywhere in the page, separate to any other piwik tracking code. This will also be necessary for sites with heavy use of dynamic JS content.
The text was updated successfully, but these errors were encountered: