Using multiple adroll pixels

My client wants to use adroll pixels that will track individual pages. I have used insert header/footer plugin. The adroll folks are telling them they need to be in the header of each page related to the pixel.

I currently have all the pixels inserted but they are saying this will not work. They mentioned header files for each page with the pixel in it.

Please advise. Your guidance is much appreciated. Thank you.

https://www.evergyed.com

Hi Keith,

Thank you for writing in, do you mean to add the adroll script to specific pages only? If so then you need to write a function utilizing the do_action( 'wp_head' ) to insert the script on the <head> and then the conditional is_page () function to target only the specific pages.

In Wordpress in general, there is only one header file template, so you need to do the conditional is_page () function to target specific page/s.

Or find another plugin that is similar to insert header/footer plugin, but lets you add the script per page.

Hope it helps,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.