how to add code for open web analytics?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
heynen
 
 
Posts: 128
Joined: Sun Dec 31, 2017 4:27 pm

how to add code for open web analytics?

Post by heynen »

Dear all,

I am trying to install "Open Web analytics" for my page.

1) The code below needs to be included on my php pages. How do I manage that?
2) Do I have to add something in that code individually for every page (page title)? Or do I place the exact same code on every page and the server does the rest?

Thanks!

Malte

require_once('/var/www/vhosts/hostingxxx.php');

$owa = new owa_php();
// Set the site id you want to track
$owa->setSiteId('xxxx');
// Uncomment the next line to set your page title
//$owa->setPageTitle('somepagetitle');
// Set other page properties
//$owa->setProperty('foo', 'bar');
$owa->trackPageView();
User avatar
Pablo
 
Posts: 23488
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: how to add code for open web analytics?

Post by Pablo »

You can add custom code via Page HTML or an HTML object.
https://www.wysiwygwebbuilder.com/add_html.html

If the code must be included on all pages then you can add it on a master page.

Note that there is no support on programming.
User avatar
BaconFries
 
 
Posts: 5949
Joined: Thu Aug 16, 2007 7:32 pm

Re: how to add code for open web analytics?

Post by BaconFries »

Not sure how this is related to the software and it's use but a quick Google reads that it is required to be installed / inserted on your server
https://www.google.com/search?client=ms ... 4duLkAI9:0

Maybe you will find more at the following on how to use.
http://www.openwebanalytics.com
Post Reply