How do I add tracking code to a button?

I set up Google and LinkedIn ads, and now I’m trying to add code to the buttons on my landing page so I can track conversion. However, nothing seems to be working.

Here’s what I’ve done so far:

  1. I added the global Google and LinkedIn codes to Custom Code in Settings.
  2. Based on another post, I added the following to Custom Code in Settings:
  1. I added the Event tags for Google and LinkedIn in the Custom Attributes for the buttons. Please see attached image.

Do you have any suggestions? Neither of the pixels are firing.

Thank you,
Dylan


Here is my site Read-Only: [LINK][1]
([how to share your site Read-Only link][2])

[1]: http://perfectkickoff.com


[2]: https://preview.webflow.com/preview/perfectkickoff?utm_medium=preview_link&utm_source=designer&utm_content=perfectkickoff&preview=16384ff2e6010e20e5f117239932f4b3&mode=preview

Hi Dylan! I know it’s late but I’m hoping to be able to help others as well who are struggling with the Insight Tag instead of Pixel tracking, there’s an even simpler solution than going through Tag Managers.

Simply click on your Button or Link, go to All Settings, and go to Custom Attributes. You can name this anything, as long as you have “_” in between each word, no spaces allowed. Then you add the tracking code in the Value below (ref in the image on how this would look like).

image

2 Likes