Contact Form 7 set goal
-
Hi,
I want to set a piwik goal at contact form 7, when an email is sent (submit button is clicked).
I′ve created a goal and the site is linked via wp piwik to piwik. I can set additional settings at contact form for each form. Example:
on_sent_ok:trackGoal(1);
This code is not working: Uncaught ReferenceError: trackGoal is not defined.I′ve googled a lot, I′ve tried a lot.
This code is also not working:
on_sent_ok:piwikTracker.trackGoal(1);
How can I set a piwik trackGoal command? I don′t know how wp piwik can transfer such commands to piwik and how commands have to look like. Any hints?
Best,
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Contact Form 7 set goal’ is closed to new replies.