[Resolved] Google Ads Conversion Tracking With Google Analytics – Track Form, Click, Button

Home Forums Support [Resolved] Google Ads Conversion Tracking With Google Analytics – Track Form, Click, Button

Home Forums Support Google Ads Conversion Tracking With Google Analytics – Track Form, Click, Button

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2175532
    Paul

    hello how are you

    i want to set up Google Ads Conversion Tracking With Google Analytics – Track Forms, Clicks, and Buttons, others

    so i need to add these tags from the screenshot https://prnt.sc/XxL65JwC0XZN to track forms, clicks and buttons

    so, all need to be added by element hooks?

    do u have file to check about this issue from generatepress

    thanks

    #2175715
    David
    Staff
    Customer Support

    Hi there,

    to insert code into the <head> of the site, which is where these kinds of scripts are generally placed, then use a Hook Element and set the hook to wp_head

    The Config Command, the first red box in your screenshot, however needs to be included within a Global Site Tag:

    https://support.google.com/google-ads/answer/7548399?hl=en-GB

    #2176184
    Paul

    hi, david

    thanks for your help

    The global site tag with another piece of code (an event snippet or a phone snippet) should be placed between the <head> and /<Head> section.

    1/ the global site tag should be placed on all pages.
    2/ another piece of code (an event snippet or a phone snippet) should be placed on the certain pages I would like to track
    3/ an event snippet maybe be the the word with the Hyperlink, or maybe be one button with the Hyperlink, and other.

    have a nice day.

    #2176251
    David
    Staff
    Customer Support

    1. Create a Hook Element just for this with your Global Site Tag script including any Config commands.
    The hook will be the wp_head. And the Display Rules set to the Entire Site

    2. Adding Event Snippets – use another Hook Element, with the wp_head hook, but this time increase the Priority to 15 – this will ensure its loaded after the Global Site Tag. And set the Display Rules to the specific pages you want it applied to.
    Repeat this for any different event snippets you need to add.

    3. I think thats up to you and how you implement your tracking codes.

    #2176336
    Paul

    Hi david,

    really thanks for your help eveyry time and alwasy SURPRISED ANSWERS.

    HAVE A NICE DAY AND STAY SAFE.
    BEST REGARDS

    #2176348
    David
    Staff
    Customer Support
    #2176364
    Paul

    Hi David
    im sorry that i come back again

    According to your guide, i already added click Event Snippet to the Contact Us page,
    So now i need to again add below code to Submit Button

    <button onclick=”return gtag_report_conversion(‘our contact us page url‘)”>Submit</button>

    Now im using Contact Form 7 plugin, https://prnt.sc/1Bh_r2c44fDA

    How to add it? because im good at the ccs code editting

    once done, it will be verified and will track conversoion. https://prnt.sc/CpijQiHg4IE_

    thanks in advance,

    #2176979
    Fernando
    Customer Support

    Hi Paul,

    It would be best to reach out to the support of Contact Form 7 regarding this as this would be out of our scope.

    You may need a script as such: https://kriesi.at/support/topic/adding-event-to-contact-form-7-button/#:~:text=Moderator-,Hey%20dondela%2C,-You%20can%20use

    Hope this clarifies. 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.