Tagged: x
-
AuthorPosts
-
December 19, 2016 at 3:13 pm #1298635
giveitlegsParticipantGreetings support peeps! I know there’s a bunch of other threads on this, and I hate to be a pain, but I tried their solutions already and they did not work. 🙁
I’m trying to add the Google Remarketing Tag to our site.
URL: http://fit.farm
Just to get a few things out of the way…
1 – Yes, I am using a CHILD X Theme
2 – Yes, it is activated (see screenshot uploaded)…
3 – Yes, I have inserted the Google Remarketing Js code into the functions.php file from the WP editor (see screenshot)
(I think I did it correctly, but if not – please tell me, I’m all ears. 🙂 )
HERE IS MY GOOGLE REMARKETING TAG (RAW)
<!-- Google Code for Remarketing Tag --> <!-------------------------------------------------- Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup ---------------------------------------------------> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 877176603; var google_custom_params = window.google_tag_params; var google_remarketing_only = true; /* ]]> */ </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/877176603/?guid=ON&script=0"/> </div> </noscript>So, basically Google just cannot see the tag functioning,… and I am not sure why…
Any help is appreciated. (following up immediately with a private reply with cred info, since that’s likely where this support thread is headed)…
thnx!
December 19, 2016 at 3:15 pm #1298645
giveitlegsParticipantThis reply has been marked as private.December 19, 2016 at 4:55 pm #1298725
DarshanaModeratorHi there,
You can add the following code into your child theme’s functions.php file.
// Add Google Tag Manager Code // ============================================================================= function add_google_tag_manager_code(){ ?> <!-- Google Tag Manager --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 877176603; var google_custom_params = window.google_tag_params; var google_remarketing_only = true; /* ]]> */ </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/877176603/?guid=ON&script=0"/> </div> </noscript> <!-- End Google Tag Manager --> <?php } add_action( 'x_before_site_begin', 'add_google_tag_manager_code' ); // End Add Google Tag Manager CodeHope that helps.
January 10, 2017 at 1:59 pm #1324415
giveitlegsParticipantThat totally did it. Thanks for you help! 😉
Cheers
January 10, 2017 at 2:51 pm #1324504
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1298635 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
