News:

Support the VirtueMart project and become a member

Main Menu

Google tag x Vm register new user

Started by mieciow, April 28, 2023, 23:28:17 PM

Previous topic - Next topic

mieciow

Hi
I need to put a google tag that works when the page clicks register (on the page registration page).
How do I do that?

Thanks

pinochico

GTM have a lot of event for click by ID or class
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

mieciow

#2
I need to put the tag on the register user button

<button name="register" class="btn-large waves-effect waves-light" type="submit" onclick="javascript:return myValidator(userForm,true);" title="Efetuar cadastro">Efetuar cadastro</button>

on the button where I need to put this code, there's a javascript, I don't know how to put the code here, or where to put it
<!-- Event snippet for CONTATO - CADASTROU SITE conversion page -->
<script>
  gtag('event', 'conversion', {'send_to': 'AW-11147908395/GntiCLyFrZoYEKu'});
</script>

pinochico

Why you don't read my first post carefoully and search on the google? :D
First try and second post your result.

maybe this?
https://www.youtube.com/watch?v=ghUwerH1fsw
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products