Google Ads Adwords Quform PHP version

Home Forums Quform PHP Google Ads Adwords Quform PHP version

This topic is: resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #31702
    markko
    Participant

    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

    #31707
    markko
    Participant

    I can see you may have answers for the wordpress Quform plugin, but I don’t have the permissions to view these…

    #31708
    Ally
    Support Staff

    You 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.
    #31716
    markko
    Participant

    Hi 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.
    #31724
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #31726
    markko
    Participant

    Thank you Ally!

    I’ll give this a try at the weekend.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy