Home › Forums › Quform PHP › Google Ads Adwords Quform PHP version
- This topic has 5 replies, 2 voices, and was last updated 4 years, 3 months ago by markko.
- AuthorPosts
- July 26, 2020 at 7:51 pm #31702markkoParticipant
Dear Ally,
Can you please show me how to integrate the Google adwords (google ads) goal code in the PHP version of your form, without having to use a success page.
Thanks in advance
July 27, 2020 at 11:02 am #31707markkoParticipantI can see you may have answers for the wordpress Quform plugin, but I don’t have the permissions to view these…
July 27, 2020 at 11:05 am #31708AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- This reply was modified 4 years, 4 months ago by Ally.
July 29, 2020 at 6:46 pm #31716markkoParticipantHi Ally, many thanks for this!
I also have a Clicky.com conversion code to add as well. This registers a conversion the same time as google.
<script> var clicky_custom = {}; clicky_custom.goal = { name: 'New Site Conversion', revenue: '1' }; </script>
How would I add this to the code you have given below?
$('form.quform').Quform({ successStart: function (response) { if (window.gtag) { gtag('event', 'conversion', { 'send_to': 'AW-CONVERSION_ID/AW-CONVERSION_LABEL', 'value': 1.0, 'currency': 'USD' }); } } });
This is the script loaded elsewhere in the page to call Clicky.com
<script type="text/javascript"> var clicky_site_ids = clicky_site_ids || []; clicky_site_ids.push(10000000); (function() { var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//static.getclicky.com/js'; ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s ); })(); </script> <noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/fffffffffns.gif" /></p></noscript>
More info here.
https://clicky.com/help/faq/features/goals/js
Thank you
- This reply was modified 4 years, 3 months ago by markko. Reason: added detail
- This reply was modified 4 years, 3 months ago by markko.
- This reply was modified 4 years, 3 months ago by markko. Reason: clarity
- This reply was modified 4 years, 3 months ago by markko. Reason: added URL for clicky explanation
- This reply was modified 4 years, 3 months ago by markko.
July 30, 2020 at 10:35 am #31724AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
July 30, 2020 at 9:26 pm #31726markkoParticipantThank you Ally!
I’ll give this a try at the weekend.
- AuthorPosts
- You must be logged in to reply to this topic.