Any pissibility to transmit more deltails trough Simple Image Tracker?


(Frederik10k) #1

Hy there.

I try to use a analyticsoftware on my eBay-account.
First I used Google-Analytics, with a script from says-story (search google for more infos).

Now I moved to Piwik-software which looks more flexible to me.

So I wonder if it could be possible to use the codesnippet from says to transfer informations like referers, pagetitles and so on.

Says uses a curl funktion inside his “GIF”-Image.

Any ideas?


(Matthieu Aubry) #2

You can find all info about how to track all details using Image API or HTTP Tracking API at the Tracking API doc: http://piwik.org/docs/tracking-api/

Also check out the Client doc: http://qa.piwik.org/phpdocs/PiwikTracker/PiwikTracker.html


(Frederik10k) #3

I used this code:

<?php
require_once "/PiwikTracker.php";
PiwikTracker::$url = 'http://www.xxxmydomainxxx.de/piwik/';
?> 

<?php
$piwikTracker = new PiwikTracker( $idSite = 2 );
?>

I pasted this code to the “additional header” of my eBay-Shop.
But eBay won’t parse the php-code, you can still “read” the php code when you open the sourcecode of the final page.

[…]

                <table cellspacing="0" cellpadding="0" border="0" width="100%"><tbody><tr><td colspan="1" rowspan="1">

                				<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td><?php

require_once “/PiwikTracker.php”;
PiwikTracker::$url = ‘www.mydomain.de/piwik/’;
?>

<?php $piwikTracker = new PiwikTracker( $idSite = 2 ); ?> [...]

(Frederik10k) #4

Hy.

I still dont know how to include the HTTP Tracking API into my eBay-Store.
Does anyone know how to?

My regards.


(Frederik10k) #5

Sorry for my tripplepost.

I fround a way to transmit the referer.


(Matthieu Aubry) #6

for ebay and myspace, you can only use the simple Image tracker and gather basic data only.

I added some doc in trunk:

Image Tracker tag
The Simple Image Tracker tag can be used when Javascript is disallowed.
› Display Image Tracker tag

Some websites like MySpace or eBay will not allow users to add Javascript to their profile but accept HTML. In this case, you can still track visits with Piwik using the simple Image Tracker.
Note: the code doesn’t use Javascript so Piwik will not be able to track some user information such as search keywords, referer websites, screen resolutions, plugin support and page titles.

The following parameters can also be passed to the image URL:

* action_name - Defines the custom Page Title for this page view
* idgoal - The request will trigger the given Goal
* revenue - Used with idgoal, defines the custom revenue for this conversion