How to trigger the Adwords conversion code after someone has successfully sent a message using a form built with Contact Form 7.
One method that worked for some is quite neat and simple and doesn’t involve creating a ‘Thank You’ page:
Simply take the last part of your AdWords Conversion code and paste it into the first of the fields titled: “# Sender’s message was sent successfully” in the Messages section of your Contact form.
Here’s a more detailed explanation:
# Copy the last section of the conversion code generated from your Google Adwords account – the section between the divs (including the div tags themselves). Put it into TextEdit or Notepad or whatever text/code editor program you have and make the snippet of text Plain Text to remove any invisible formatting code.
# In your WordPress Admin click on Contact in the left column.
# Click on the form you want to set up the AdWords Conversion on.
# Scroll down past the the Contact section, the Mail section, and the Mail (2) section down to the Messages section.
# Then paste that Div section of code into the first field in the Messages section titled “# Sender’s message was sent successfully”. Example:
"Your message was sent successfully. Thank you!" <div style="display:inline;"><img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1234567/?value=1&label=abcdefghijklmnop&guid=ON&script=0"/></div>
# Save the form.
Theoretically, the AdWords Conversion code in that div is triggered every time that “Your message was sent successfully. Thank you!” message is shown on the successful sending of the Contact form.
I have implemented this method but it is not working for me even though others have found it to be a working solution.
If anyone has been able to get this method to work, or has a variation of this method, or has any other solution to this problem please post it here so others who are struggling with this much requested feature can benefit.
- The topic ‘Trigger Adwords Conversion After Successful Form Submission’ is closed to new replies.