First time here? Check out the FAQ!
2

How to add piwik code to askbot?
 

I want to implement the google analytics alternative piwik, but in the admin settings I can only put some custom javascript, which is then in the custom.js file. But to work correctly it should be implemented like analytics, the full code at the bottom of the page.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Toms's avatar
767
Toms
asked 12 years ago
todofixthis's avatar
1.3k
todofixthis
updated 12 years ago

Comments

see more comments

1 Answer

2

Ok, there is a solution for this problem. You have to put in custom html fields.

Probably it would be better to implement it completely on the bottom of the page, but this solution works also fine.

Edit: Crazy thing happens.. I'm trying to paste the piwik code, but I get a blank http://askbot.org/en/answers/9428/edit/ page after that.. Google Chrome 22

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Toms's avatar
767
Toms
answered 12 years ago, updated 12 years ago
link

Comments

@Toms, perhaps you could post the code snippet?

Evgeny's avatar Evgeny (12 years ago)

Could you send me your code by email, please? support@askbot.com I'll test it in the editor. Thanks.

Evgeny's avatar Evgeny (12 years ago)
see more comments