Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #791084

    carparos
    Participant

    Hi,
    I’m using adwords I want to track clicks on a button as conversions.

    The suggested code by Google is this:

    Add the code to a button
    In the code below, replace “http://example.com/your-link” with the URL for your link, and replace “Download now!” with your button text:

    <button onclick=”goog_report_conversion (‘http://example.com/your-link’)” href=”http://example.com/your-link”>Download now!</button>

    How can this be done in Cornerstone?

    I got the code from here: https://support.google.com/adwords/answer/6331304?authuser=0

    Many thanks,
    Carles

    #791913

    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Could you please try following this thread (https://community.theme.co/forums/topic/google-adwords-errors-in-cornerstone-custom-js/).

    Hope that helps.