Set up Google Ads Conversions

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
dio
 
 
Posts: 5
Joined: Fri Sep 04, 2020 1:22 pm

Set up Google Ads Conversions

Post by dio »

Hi,

I want to define clicking on a particular button on my site as a Google Ads "Conversion" event. In order to do this Google intructs to place a tag in the header of the page - this is not a problem - but it is also needed to place a short code right next to the html code of the targetted button.

How can I do this?
(The instruction I found in the Forum - Insert -> HTML then double click on the object does not work in WB18).

Thank you
dio
User avatar
Pablo
 
Posts: 23602
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Set up Google Ads Conversions

Post by Pablo »

You will need to be more specific.
Where exactly do you need to insert the code?
Is it a script or a tag?
dio
 
 
Posts: 5
Joined: Fri Sep 04, 2020 1:22 pm

Re: Set up Google Ads Conversions

Post by dio »

These are Google's related instructions :

You'll now need to add an onclick attribute directly to the code for the button or link you want to track. The particular code you use will depend on how the link or button is displayed on your site: as a text link, a button, or a button image.

Add the code to a text link: This code shows you how to add click tracking functionality to a link using the <a> tag. In the code below, replace “http://example.com/your-link” with the destination URL of your link or “800-123-4567” with the phone number on your website, and replace “Download now!” or "Call now!" with your link text. The code that should be added to the link tag is highlighted in yellow.
<a onclick="return gtag_report_conversion('http://example.com/your-link');"
href="http://example.com/your-link">Download now!</a>


I want to make a button on this page: https://www.hpix.hu/Vendeglatas.html a google conversion event.

thanks
dio
User avatar
Pablo
 
Posts: 23602
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Set up Google Ads Conversions

Post by Pablo »

You can add an 'onclick attribute' via the Event properties.
Or you can also do it manually via Object HTML -> Inside tag.
Post Reply