-
AuthorPosts
-
August 9, 2017 at 3:50 pm #836456
Hi,
Looking at http://www.kenningtonosteopaths.co.uk we’ve been asked to add two different pieces of code to pages so we can start tracking conversions from AdWords on the 2 different forms on the website.
I have added the code and pages they need to go to in the private box with logins to the website. We’re not too sure where to put this code. Please may you look into this for us?
Thanks,
Helen & Lucy
August 10, 2017 at 8:28 am #836808Hey helenwhite,
Please try adding the code in a Code Block element on the top of each page to see if that works. If not then please specify where the code in question has to go, you can likely find that out in your AdWords account.
Best regards,
RikardAugust 10, 2017 at 11:04 am #836900Hi,
We did try to use that method but the code block made a big white space on the page.
It is suggesting to paste the code into the source of the page with this article for help: https://support.google.com/adwords/answer/6331314?hl=en
Where would this be on the theme?
Thanks for all your help!
Helen and Lucy
August 11, 2017 at 6:44 am #837318Hi,
Ok, I think we can fix the space with CSS. I couldn’t see anything like that on either page you linked to though, did you remove the code?
Best regards,
RikardAugust 11, 2017 at 10:18 am #837367Hi,
We have now put it back on http://www.kenningtonosteopaths.co.uk/contact/
Please may you have a look at using CSS to remove it?
Thanks,
Lucy & HelenAugust 11, 2017 at 4:10 pm #837497Hi,
Thank you for the link.
In custom.css or Enfold -> General Styling -> Quick CSS field (or when using a child theme: in styles.css of the child theme or Enfold-Child -> General Styling -> Quick CSS field) try to put the following:
#main > div.main_color.container_wrap_first.container_wrap.fullsize { display: none !important; }
Best regards,
GünterJanuary 2, 2018 at 6:36 pm #892549Hi, I’m in the following situation: I am trying to track the clicks to the button in my landing page.
I entered the Global Google AdWords code in header.php between the tag head, then I paste the code of Event snippet, in a Code Block element at the top of the page. But it does not work,Thank you.January 3, 2018 at 3:22 pm #892865Hi topmedialab,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaJanuary 3, 2018 at 4:32 pm #892876Hi,
yes I give you the credentials for the administrative panel.
I want to monitor the clicks on the Landing page button of the form.
Thank you.January 4, 2018 at 7:33 am #893142Hi,
Thanks for the login details. I’m not sure exactly what is not working on your site though, I’m guessing you are not receiving any tracking data?
Best regards,
RikardJanuary 4, 2018 at 4:30 pm #893273That’s right, I’ll send you links to see the screen Google AdWords panel who is still not configured.
If I active Google Tag Assistant on site instead it gives me valid
Maybe I’m wrong to configure on Worpress?Best regards.
January 9, 2018 at 5:55 am #895093Hi,
I logged in to the site and checked the pages but they are blank. Please provide a link to the actual page that’s in the screenshot. How and where did you implement the tracking codes?
Best regards,
IsmaelJanuary 10, 2018 at 4:30 pm #895718Hi,
Please link to the private page (1) and watch the first Block Code.
Then I inserted in header.php file the Global site tag.Best regards.
January 13, 2018 at 3:34 am #896780Hi,
Did you apply the gtag_report_conversion function inside the onclick attribute of the button? Example:
<a onclick="return gtag_report_conversion('http://example.com/your-link');" href="http://example.com/your-link">Click Me!</a>
Best regards,
IsmaelJanuary 15, 2018 at 5:39 pm #897643no I did not enter this code.
Where does I have to go paste?
See the screen where I entered but does not proper!
In addition to ‘http://example.com/your-link’ I have to put the same page?January 16, 2018 at 2:38 am #897809Hi,
Do you want to apply it in the contact form button? Please don’t add it in the Submit Button Label field. Use this filter in the functions.php file instead.
add_filter('avf_contact_form_submit_button_attr','avf_contact_form_submit_button_attr_mod', 10, 3); function avf_contact_form_submit_button_attr_mod($att, $formID, $form_params){ $att = "onclick=\"return gtag_report_conversion('http://example.com/your-link');\""; return $att; }
Yes, you should replace the dummy url with the page’s url.
Best regards,
IsmaelJanuary 17, 2018 at 10:36 am #898367Hello,
I added your code in the functions.php file.
To verify that it works what should I do? What should I see different?Best regards and thank you because you are giving me support to solve it.
January 18, 2018 at 8:52 am #898936Hi topmedialab,
You will see data recorded in your Google Tag Assistant when people start using the form.
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 29, 2018 at 11:53 pm #904534I want to do something similar but track clicks on a button that links to an external page. Is there something similar to the fix in the 1/16/18 post that I can use?
January 30, 2018 at 5:08 am #904620Hi,
@kramdeninst: Did you set a goal for the tracker? Please provide a link to the page with the button so that we can inspect it. If possible, please create your own thread with the site credentials.// https://support.google.com/analytics/answer/1012040?hl=en
Best regards,
IsmaelJanuary 30, 2018 at 11:19 am #904726Hello,
I would still need assistance in this.
I tried to send a request from the form where I entered code, but the data recorded in the Google Tag Assistant warn me of errors. I enclose a screen of what I see.
What could have gone wrong?Best regards.
January 30, 2018 at 5:54 pm #905023Ismael,
I think I set up a goal. I’m very new to this and still getting a handle on the terminology. I started a new thread (https://kriesi.at/support/topic/google-adwords-tracking-code-button-to-external-site/)
January 31, 2018 at 7:34 am #905408Hi,
@topmedialab: Please post the gmail account login details in the private field so that we can check the tag manager dashboard.Best regards,
IsmaelJanuary 31, 2018 at 10:53 am #905497Hello,
you find the login details for my Gmail account in the private field.Best regards.
February 1, 2018 at 10:15 am #906113Hi,
We are working on the site but it suddenly lost its connection to the database. Are you working on the site? We added the following script in the functions.php file. ( see private field )
Please test the contact form button on different network and review the “Contact Polati” conversion tracker.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.