Analytics
3.7K members online now
3.7K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Tracking embedded contact form (foxyform)

Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

Hi there,

 

I'm using a convenient embedded contact form on my website, which works well.

However, I would like to track when people click "send" on the form - is there a way to do this despite this being an embedded form/code?

 

Thank you!

 

Martin

 

The contact page: http://www.csselectronics.com/screen/product

 

The code:

<a id="foxyform_embed_link_726705" href="http://www.foxyform.com/">foxyform</a>
<script type="text/javascript">
(function(d, t){
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src="http://www.foxyform.com/js.php?id=726705&sec_hash=fe8702fc65b&width=350px";
s.parentNode.insertBefore(g, s);
}(document, "script"));
</script>
<!-- Do not change the code! -->

Re: Tracking embedded contact form (foxyform)

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭
Dear Martin,

What you want to achieve can be done in 3 ways in GA from my understanding.

1. Set up goal with destination URL.
2. Setup goal with events.
3. Custom event with click on send button.

But the plugin you are using will not allow the same. Because your plugin has no success page or any success message.

Hope this helps

Happy Analytics.
Regards,
Ankur.

Re: Tracking embedded contact form (foxyform)

Follower ✭ ☆ ☆
# 3
Follower ✭ ☆ ☆

Hi Ankur, thanks for your input!

 

I realise the above can be used in a regular scenario and I'm utilizing all three in various instances on the site.

However, what I'm looking for is if there is clever a way to e.g. send a virtual pageview when a certain condition is satisfied - which can be obtained despite the fact that the form is embedded.

 

If anyone has an idea on this it would be highly appreciated!

 

Martin

Re: Tracking embedded contact form (foxyform)

Follower ✭ ☆ ☆
# 4
Follower ✭ ☆ ☆

Any potential solutions for this would be highly appreciated! Thank you,

 

Martin