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
Set up Google Ads Conversions
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
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
Re: Set up Google Ads Conversions
You will need to be more specific.
Where exactly do you need to insert the code?
Is it a script or a tag?
Where exactly do you need to insert the code?
Is it a script or a tag?
Re: Set up Google Ads Conversions
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
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
Re: Set up Google Ads Conversions
You can add an 'onclick attribute' via the Event properties.
Or you can also do it manually via Object HTML -> Inside tag.
Or you can also do it manually via Object HTML -> Inside tag.