Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
- gtag('config', 'AW-951550023');
- function gtag_report_conversion(url) {
- var callback = function () {
- if (typeof(url) != 'undefined') {
- window.location = url;
- }
- };
- gtag('event', 'conversion', {
- 'send_to': 'AW-951550023/f0eyCJ63wcIBEMeA3sUD',
- 'event_callback': callback
- });
- return false;
- }
- jQuery( document ).ready( function() {
- jQuery( document )
- .on('click', '#nf-field-11', function() {
- gtag_report_conversion(url)
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement