[Plugin: Contact Form 7] Piwik & Thank You Redirect with Contact 7
-
Goal: To use contact form 7, when the person fills out the form they are redirected to a new page and execute the piwik javascript goal code (google analytics alternative) which I added to the “Additional Settings” part of Contact 7. I can get the redirect to work, but for some reason not the piwik code. Here are my seperate codes, do I need to combine them somehow like the google analytics code example you gave on contact7’s website?
Redirect code in “Additional Settings”
on_sent_ok: "location.replace('https://mysite.com/thank-you-page');"
Piwik code in “Additional Settings” – Cant get to work ??
<script type="text/javascript"> piwikTracker.trackGoal(2); </script>
Please help!?!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: Contact Form 7] Piwik & Thank You Redirect with Contact 7’ is closed to new replies.