WebSite-PHP Framework PHP
Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
Download WebSite-PHP FrameWork now
 


Loading
 


Tutorial : Link with Analytics tracking

Tutorials

>

Tutorial Link

>

Tutorial : Link with Analytics tracking


Link-03: Tutorial of the composant Link of the PHP FrameWork WebSite-PHP.

Tutorial : Link with Analytics tracking:



Go back to tutorial of the componant Link



Source code

Source code


File: /pages/tutorials/link/link-03.php

<?php
class Link03 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Link with Analytics tracking";
        
        
$link = new Link($this->getBaseLanguageURL(),
                            
Link::TARGET_BLANK__(HOME_LINK));
        
$link->setTrackEvent("Tutorial""Click""Link03");        
        
$this->render $link;
    }
}
?>


Go back to tutorial of the componant Link


Share

 


Copyright © 2009-2017 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker