Jump to content

Adding Google code to a text link & Buttom

Recommended Posts

Site URL: https://www.ginoseast.com/los-angeles

I am having issues locating where I can place additional tags in my url link. I have 3 buttons I am tracking on Google Ads and need to get the click back info from those buttons.

I need to add an onclick attribute directly to the code for the button/link. I do not know where I can edit the url to hold the following parameters in highlight:

Add the code to a text link: In the code below, replace "http://example.com/your-link" with the URL for your website or telephone link, and replace "Download now!" with your link text.
 

<a onclick="return gtag_report_conversion('http://example.com/your-link');" href="http://example.com/your-link">Download now!</a>

I am trying to avoid moving to developer mode because its only 1 page I need to make these changes on. Thanks for the help.

Link to comment
  • Replies 2
  • Views 507
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.