Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
New documentation: how to use the campaign feature to track newsletters #604
- See new [Tracking Campaigns](http://piwik.org/docs/tracking-campaigns/)
hi, i searched for a way to track links from a newsletter this way an it does it fine for me!
You can use campaigns to monitor how effective links you send out through things like your email list or twitter. Campaigns allow you to add an extra bit of information to any link you make to your site that will let Piwik recognize visitors who have followed that link.
Note: If the address you want to link to already includes a ? you should replace the ? before piwik_campaign with an &. For example:
You do not need to configure campaigns names in advance. Just use them in a link and visitors following those links will be tracked as campaign referrers and you will be able to monitor them in the Campaigns screen under the Referrers section of Piwik:
SCREENSHOT SHOWING CAMPAIGN TABLE
To add a little more precision to the tracking you can specify different channels for your campaign by adding a second parameter so your link might read http://example.org?piwik_campaign=summer&piwik_kwd=newsletter.
If you use keywords, you will be able to click on the name of the campaign to see the campaign referrers broken down by keyword. In this example, the summer campaign has had two visitors, one via the newsletter keyword and one with no keyword:
SCREENSHOT SHOWING CAMPAIGN SUB TABLE
You will probably want to know more about your campaign visitors than just how many there were. The More metrics button, second from the left under the table and highlighted in red below, will help you understand what those visitors did on your site:
SCREENSHOT SHOWING ADVANCED STATS SECOND ICON
= Advanced Configuration =
You do not have to use x and y. You can use whatever is convenient for you.
This was referenced
Apr 27, 2011
referenced this issue
Mar 28, 2011
This was referenced
Mar 17, 2011
Hi mattab ,
Thanks for the reply.
You mean , I need to go to "Ecommerce & Goals" tab in piwik, And select "View goals by Referrers " , there I can see the Campaigns section. There the number of visitors is showing correctly, But I am not getting the revenue. I have not created any goals manually. Is there any need to create goal by me?
I have made this done by clicking from the newsletter like this
Now the click status is showing correctly, but I dont know how to track the revenue , if they have brought anything from the magento shop site.
Could you please help me on this.
@shogunjames Ok please create a new report here on github (as this issue here was closed long time ago). in your issue please attach screenshot of the whole Ecommerce report page if possible. we will investigate, it could be a bug (also make sure you use 2.13.1 as some bug related to this were fixed recently)
Thank you for your reply,
I have attached a screenshot from my piwik insttalation where I am checking the campaign status.
I am using a magento site for ecommerce activities , and we are sending newlstters to our customers.
I need to get the revenue I got from each newsletter , when they came to the site by clicking the urls in the newsletter and when they purchase a product.
I hope it is clear for you.
Also I have enabled ecommerce for my magento site and installed piwik ecommerce extension in my site. This is the piwik code which is on the source code of the success page after the order is placed.
var pkBaseURL = (("https:" == document.location.protocol) ? "piwiksiteurl" : "piwikurl");
This is the screenshot :
My current piwik version is 2.1.0 . Should I need to upgrade this? If I upgrade will I get the total revenue from each newsletter I send out?
I have piwik ( version : 2.13.1) installed. I am using a magento store. I have installed piwik ecommerce tracking extension in magento to track the ecommerce order in piwik. I also managed to get the revenue from campaign too. But after one month , it stopped working.
I am using the following url from campaign :
[store porduct page url]?pk_campaign=june16&pk_kwd=odernow
to track the campaign revenue, and it was working fine.But now the revenue is not tracking, only the number of visits is showing.
Could you please help me. I need to solve it asap.