Use the same function call. You don’t need to change the “Contact Form” part.
So even though I want to differentiate the different contact forms on my site, I don’t have to change the “Contact Form” to say “Get Started Contact Form” and “Questions Contact Form” and so on?
And another question would be where can I see if it’s working in Google Analytics? I followed the instructions, but don’t see Content > Events > Overview in the Google Analytics dashboard.
Any extra help on this would be great. Trying to get this all sorted out asap. I entered the code yesterday before seeing the reply but I used “Get Started Contact Form” instead of just “Contact Form”. I figured I would wait to see if it shows up in GA, but haven’t seen anything yet. (And really don’t know where to look.) Do I have to do a test with the form to see it working? Or do I have to change it back to “Contact Form”? And if I do that, will it tell me in GA which form it is gathering stats from?
So nothing is still working. I found this page https://www.impression.co.uk/blog/825/event-tracking-wpcf7-universal-analytics/ and entered this into my Additional Settings on_sent_ok: "ga('send', 'event', 'Get Started Form', 'Send');" Then went to GA to go through the steps of entering a goal. They weren’t the same steps, but I tried to get by with “Custom” in the 1st step, “Get Started Form” and “Event” in the 2nd step, and “Get Started Form” and “Send” in the 3rd step. I now have to wait 24 hours to see if this works.
UNLESS, someone can just tell me if there is ONE specific way to get this done. I don’t see why that’s not an option. The thing that drives me nuts is that none of the notes for this on the plugins site are updated. They are just all over the place and old. I really didn’t think it was going to be this difficult
PLEASE help with this Plugin Author Takayuki Miyoshi.
Here’s a link to the page on the site that I am talking about. There are 6 different forms on this site and we will want to track all of them separately. Thanks!
Why are you loading the same GA tracking code twice?
I don’t know. Maybe because I am using Google Analytics Dashboard for WP plugin so the Analytics show up on the dashboard? Or there is some code on the page for a Facebook Pixel. Would either of those make that happen?
I don’t know. You’d better try figuring it out first.
If you don’t mind. how are you seeing this?
Sorry. Should have explained my last comment. I only see it once in the <head> of the page. Do you see it elsewhere?
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-********-1', 'auto');
ga('send', 'pageview');
</script>
I see this twice in the <head>.
Yep. It’s the Google Analytics Dashboard for WP plugin that is making it read the second time. Will that interfere with this? If so, I can turn it off I suppose, but my client really wanted a way to ready the Analytics on the WordPress dashboard as well as on Google.
Well, looks like the code I entered a couple of days ago is working. I did the same thing to the other forms and hope that works too. I will update this in a couple of days if it shows up in GA.