- 
		AuthorPosts
 - 
		
			
				
June 12, 2014 at 11:37 am #278014
Hi all. I want to add the Google Analytics Tracking Code script across all of my pages. Can I paste this into enfolds Google Analytics Tracking Code setting or does it need to be done another way?
<script type=”text/javascript”>
/* <![CDATA[ */
var google_conversion_id = 965951940;
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;”>
</div>
</noscript>June 12, 2014 at 6:47 pm #278173Hey!
Yes, you can put it right there (Google Analytics Tracking Code setting).
Cheers!
JosueSeptember 13, 2014 at 6:40 am #318420This reply has been marked as private.September 13, 2014 at 7:27 am #318426Hey!
Alternatively you could put any <script></script> code inside a Code Block element in the pages you want to track.
Best regards,
JosueDecember 11, 2014 at 7:56 am #366537This reply has been marked as private.December 11, 2014 at 7:32 pm #366836Hey!
Try adding it to the footer instead. Add this to the bottom of your functions.php file.
add_action( 'wp_footer', 'enfold_customization_footerscripts' ); function enfold_customization_footerscripts() { ?> <script type = "text/javascript"> your code goes here </script> <?php }And then replace “your code goes here” with the code you need to use. If your code already has script tags then remove them.
Regards,
Elliott- 
		This reply was modified 10 years, 11 months ago by 
Elliott.
 
December 12, 2014 at 8:51 am #367150Hi,
Can I add the remarketing code to the Google Analytics Tracking Code box under Enfold Theme options?
December 12, 2014 at 9:45 pm #367509Hi!
I’ve never tested it so you can try but if your getting errors then do what is suggested in my last post.
Best regards,
Elliott- 
		This reply was modified 10 years, 10 months ago by 
Elliott.
 
May 26, 2016 at 1:14 am #638362Adding the remarketing code to the Google Analytics Tracking Code box under Enfold Theme options worked for me. I checked it with Google Tag Assistant (Chrome extension) and it found no errors.
May 26, 2016 at 2:59 am #638392Hi,
Glad you found a workaround and thank you for sharing the tip :)
Best regards,
Vinay - 
		This reply was modified 10 years, 11 months ago by 
 - 
		AuthorPosts
 
- The topic ‘Google Adwords remarketing code, Add to all pages’ is closed to new replies.
 
