Hi,

We need to add virtual pageviews for ours webforms. Is it possible with webform?

Regards

Comments

DanChadwick’s picture

Status: Active » Fixed

What is a virtual page view? Do you mean some sort of thumbnail of the webform data entry form? Webform doesn't display anything like that.

I also recommend that you update to, at a minimum, the latest 7.x-3.x, and as soon as possible, 7.x-4.x. The 3.x branches are now receiving only critical bug fixes.

javi.wroom’s picture

Hi, thank you for your reply.

I want to modify onsubmit parameter. For example:

<form action="xxx" method="xxx" onsubmit="ga('send', 'pageview', {'page': '/new-register','title': 'New Register'});">

So, through Google Analitics I could see a tracking of it...

Regards

DanChadwick’s picture

We don't provide programming support, but I'd suggest you look at hook_form_webform_client_form_alter() to make whatever modification you need, including adding javascript as needed. Good luck.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.