[Support request] How to Add Google Ads Tracking Code

Home Forums Support [Support request] How to Add Google Ads Tracking Code

Home Forums Support How to Add Google Ads Tracking Code

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2338671
    xinghui

    I want to add the Google Ads tracking code to my website, I want to ask can I put the code snippet directly into the HTMl snippet of the plugin Snippet? Or do I need to put it directly in the head of my function.php file
    i want to put there image url:https://i.postimg.cc/nL4gpDrj/google-das.jpg

    #2338846
    David
    Staff
    Customer Support

    Hi there,

    you can use a Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    Add your code to the Hook text area.
    Set the Hook to: wp_head and this will add the code to the <head> of your website.
    Set the Display Rules to Entire Site

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