Jump to content

Adding custom script in <head> tag


malisa

Recommended Posts

Posted

I have been trying to solve this problem for an hour, and it's supposed to be a very simple one:

  • Add custom javascript tracking code from external service that is not Google Anlytics

I have tried with plugins, nope... Is there a simple way to do this? 

 

Posted

Can't you just add the code in place of the Google Analytics code in System > Site Features > Community Enhancements > Google Analytics?

Posted

The thing is that I need some customization. For example,

  • ga('send', 'pageview');
  • ga(‘set’, ‘&uid’, );

​I need to send to google analytics userID, so it I like this System > Site Features > Community Enhancements > Google Analytics, but it won't work for PHP

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...