Salve @danivee ,
qui hanno già discusso e risolto:
1. Enter Contact Form 7 in WP.
2. Select “edit” which form you want to track
3. There are 4 tabs at the top of your form labeled: Form, Mail, Messages, Additional Settings.
4. Select the last one labeled “Addition Settings”
5. Add this line of code:
on_sent_ok: “ga(‘send’, ‘event’, ‘Contact Form’, ‘submit’);”
DO NOT ADD THE OTHER CODE AS IT WILL NOT DISPLAY THE THANK YOU MESSAGE AS JBLANCARTE MEMBER POINTED OUT.
then again
6. In Google Analytics under Admin…select the View you use to monitor your traffic. Click on Goals to create a new Goal based on this Event
Goal > +New Goal > Custom > “Give it a Name” >
and then set the Event Conditions to:
a) Contact Form
b) submit
c) Label – I Left this field empty because if I didn’t it would not verify.
then you should see a link below to verify. Click to test it.
Save and you should be done.
Then in AdWords, after a short while you should be able to Import this new Goal “Give it a Name” and those AdWords Conversions attributed to any submissions will be registered. More how here –
https://support.google.com/analytics/answer/1034306/?hl=en&utm_id=ad&authuser=1
Give it about 24 hours to start recording conversions, meanwhile go to Real-time in analytics to test that it is recording.
I hope this helps. Good luck.
Thales
tratto da:
https://wordpress.org/support/topic/how-to-add-google-adwords-conversion-tracker-in-updated-contact-form/
facci sapere.
Ciao
Chi ha creato la discussione
danivee
(@danivee)
Buongiorno Cristiano,
grazie mille per la dritta ma purtroppo non ho capito su AdWords come impostare la conversione, ovvero si dice:
“under Admin…select the View you use to monitor your traffic.
Click on Goals to create a new Goal based on this Event Goal > +New Goal > Custom > “Give it a Name” > and then set the Event Conditions to:
a) Contact Form
b) submit
c) Label”
Ma in AdWords creando una nuova conversione c’è l’opportunità di scelta solo tra
Sito web
App
Telefonate
Importazione
Se scelgo sito web propone le impostazioni standard da settare come Nome, Origine, Valore, Conteggio, Finestra di conversione, Categoria, se Includere nelle conversioni e il Modello di attribuzione.
Settati questi parametri consente la scelta tra “Caricamento pagina” o “Clic” ed a quel punto propone il tag da installare sul sito…
Non ho trovato nulla in merito ad impostazioni Custom dove impostare un Event Conditions con i parametri indicati.
Effettivamente proseguendo la lettura sul post citato anche l’utente non ha trovato riscontro, non vorrei sbagliarmi ma la ragione credo che sia perché il riferimento è diretto ad Analytics e non ad AdWords (anche il riferimento alla “vista” mi fa pensare sia così…
Grazie in ogni caso