Author Topic: Piwik analytics/ JavaScript Tracking Code  (Read 3874 times)

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Piwik analytics/ JavaScript Tracking Code
« on: December 16, 2015, 07:27:04 AM »
Hello. Please advise where should I paste the JavaScript Tracking Code from piwik to make it work correctly.

thank you

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2049
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Piwik analytics/ JavaScript Tracking Code
« Reply #1 on: December 16, 2015, 07:51:39 AM »
Yes,
you can
create your own html-block, paste embed-code into it's content and place block into layouts
or
you can to build your own extension and hooks
or
paste embed-code into templates common tpl such as footer.tpl.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline unclesam2010

  • Newbie
  • *
  • Posts: 15
  • Karma: +3/-0
    • View Profile
Re: Piwik analytics/ JavaScript Tracking Code
« Reply #2 on: December 16, 2015, 08:17:34 AM »
create your own html-block, paste embed-code into it's content and place block into layouts - this one is the best option

thank you!!

Offline webdevmerc

  • Full Member
  • ***
  • Posts: 172
  • Karma: +32/-1
    • View Profile
Re: Piwik analytics/ JavaScript Tracking Code
« Reply #3 on: December 16, 2015, 08:54:35 AM »
create your own html-block, paste embed-code into it's content and place block into layouts - this one is the best option

thank you!!

I use this method myself since it doesn't change any core files...

 

Powered by SMFPacks Social Login Mod