![]() | ||
forums.webtrends.com
Webtrends Online Forums
Webtrends Analytics 8 Software
Installation, Configuration, and Administration
Campaign data not being collected|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
We are about to launch a marketing campaign for a new product and we want to track it in Webtrends (we havent used it for this before).
To test it I created 3 simple html pages on my local machine running IIS 5.1 (with all logging fields switched on) named index.htm, order.htm and confirm.htm with links between the 3. I've added the WT.mc_id tags to my URLs so they look like: http://localhost/index.htm?WT.mc_id=testCampaign and on the confirm.htm page I also have WT.mc_ev=boughtSomething In Webtrends I've created a new profile, added the marketing reports (and site design if thats any use) and analysed the logs from my machine. The problem is, all of the marketing reports are coming up as 'no data available'. I've followed everything in the guide at https://product.webtrends.com/WRC/8/ResourceCenter/rc/l...mpaign_Reporting.pdf but this doesnt seem to have done anything. Can somebody either point me to another guide or try and work out what I'm doing wrong? Also, can conversions be tracked in the way that I have them here (with the WT.mc_ev tag)? I didnt think they could, but thought I'd give it a shot before trying to set up some scenario analysis Many thanks in advance |
|||
|
|
|
The WT.mc_ev tag is designed as event tag that is supposed to work in conjunction with the WT.mc_id tag. It is also designed to be used with the campaigns.csv translation file. One of the events it can be used for is an EmailOpen, but this is to show conversions from an email that was sent out to a clickthrough on the site. It is not designed to show conversions to a purchase based on a campaign.
I suspect you are not getting any campaign ID data because you are using index.htm as the page name. If you edit the profile and look in the "Home" tab, do you see index.htm in the Home Page File Name field? If the answer is yes, you will not see campaign data. There is a very long winded explanation for this, but in the interest of healthy fingers, suffice it to say it just won't work. Try using a different page name and running your test again (in fact, you could just modify the log file you already have). Also, make sure the Campaign ID report is selected. This is the only one that will really be of any use to you unless you start using the campaign translation file. |
|||
|
Thanks for the quick reply.
I've renamed my index.htm to entry.htm and left everything else the same (generated a new log file though). I've cleared out the old analysis and run it again, and still the campaign ID report says 'no data available'. In fact, all of the reports in the campaigns section say that I havent touched the campaigns.csv file, should I have? |
||||
|
|
|
One other thing I forgot to mention. The campaign reports are visit based, and will not count the visit until it ends. If you are using a test log, you need to make sure the visits have closed out (30 minutes elapsed since the last hit by that visitor). This means at least two hits at the end of the log file, both at least 30 minutes after the last hit by the visitor.
I usually manufacture those records by copying the last record in the log, pasting it twice, making the first copied record one hour later and the second copied record two hours later. The reason you want to make two is the analysis engine always ignores the last second of the log file. It does not use the last second until the NEXT time it analyzes additional data. So the next to the last record is the one it looks at to determine if the previous visits need to be closed out. So, try doing this and running the data again. And no, you do not need to touch the campaigns.csv at this point. You can start playing with that once you are sure your Campaign ID report is working. Getting into that is a lot more involved, and you will want to thoroughly read the Advanced Configuration Guide on how to set that up. |
|||
|
This is much better now.
I did what you said and falsified the last 2 lines of the log and ran it again. This time, the campaign ID report was still empty, but the 'Same Visit campaign IDs' report had the correct data in (2 visits to campaign1 and 1 visit to campaign2) I assume I can now use this to track conversions in the 'Purchase Conversion Funnel by Campaigns' report if I set up scenario analysis or the ordering process. I think I saw how to do this in the quick guide I posted a link to above. Thanks, you've been a great help |
||||
|
Hi Adam,
Is your profile configured to use the Visitor History Table? Many of the campaign reports use the Visitor History table in order to get the "Most Recent..." variables. You can verify this setting by editing the profile and looking at the Visitor History tab under Analysis. Ashley |
||||
|
Hi Ashley,
I've got the visitor history enabled and 'campaign history' is definitely ticked as well. I can now get some data in the 'Same Visit Campaign IDs' report after falsifying the last 2 lines of the log to an hour in the future. I'm now trying to get the revenue fields to actually work as well (and then perhaps use a drilldown to list that revenue per product if its possible since we only have 4 for this campaign). Not having much luck with this so far! I've added to the confirmation page: WT.tx_u=1 & WT.tx_s=100 & WT.pn_sku=product1(spaces added for readability) but nothing is being attributed against the campaign. Do i need to include the WT.mc_id=campaign1 again here? I thought it remembered your most recently visited campaign so you didnt have to. Can you tell I've only just started learning this stuff...? |
||||
|
|
|
You need to make sure the cookie is the same as that for the other hits in the log. You are tracking by cookie, right? Or query parameter? If you have neither, then the analysis defaults to IP/User Agent. These will not be entered into Visitor History. The campaign reports rely on Visitor History. If the entries are not there because you are not using a strong tracking method, you will never see data in those reports.
|
|||
|
Good catch 2D! I forgot to mention that part
|
||||
|
Pretty sure I'm using strong tracking. In the 'profile > analysis > session tracking' I've unticked 'Always Use Default Definition' and I'm using 'Track User Sessions using First Party Cookie'
I've got campaign tracking working now (it will tell me visits, clickthroughs) and I've got order tracking working in the commerce reports, but i cant get the revenue for the campaign to work unless I include the WT.mc_id in the URL again when I have the WT.pn_sku in the URL. This is hardly ideal, but at least it works! Now all I need to do is work out how I can use some kind of drilldown so that i can see how well each product did for each campaign rather than just a total revenue for that campaign... |
||||
|
Have you got the WT.tx_e=p parameter set for your purchases?
(From the Query Paramters guide...) Prior to v7, it was assumed that all instances of WT.tx_u referred to purchases and ignored the WT.tx_e parameter. The v7 definitions require WT.tx_e=p to identify purchases. |
||||
|
Hi Richard,
I didnt have that parameter in, but i did put it in and its made no difference that I can see. Looking lower down in the config guide it says:
and i already have WT.tx_s in there. If I use the query string WT.tx_u=1&WT.tx_s=300&WT.tx_e=p&WT.pn=product3then nothing will register as revenue generated by the campaign (but does register as regular revenue) but if instead I use WT.mc_id=email&WT.tx_u=1&WT.tx_s=300&WT.tx_e=p&WT.pn=product3it will register (since I've included the campaign id again) I'm still puzzled as to why you have to put this in again, I was sure it said it was supposed to remember which campaign you were referred by the first time you visit the site with that campaign id, and then any purchases are registered against that campaign automatically. Instead, I'm manually telling it the campaign id a second time. Well at least it works! Thanks guys, you've all been great |
||||
|
"Puzzled" is an understatement! That's crazy, you shouldn't have to do that, in fact it's basically impossible for you to do unless you've managed to pass the WT.mc_id value along from hit to hit for every visit. It's got to be something else.
I hope you are calling WT for a phone consultation on this. Chris G |
||||
|
Hi all,
I have the same problem here. I did exactly like Adam posted at the beginning: 1. Created a test web site with .NET aspx pages. 2. Added WT.mc_id as a meta tag and also as a query parameter in URL in order to test both SDC and IIS logs methods. 3. Created two separate profiles, one which is using IIS log files as a data source and another one that uses SDC log files. 4. Both profiles have same settings: - enabled marketing related reports in templates that are used; - enabled Visitor History and Campaign History; - Session Tracking is set to use First Party Cookie; - URL Rebuilding is set to Retain original URL; - default.aspx page exists in Home tab of profile settings; 5. Added a row in campaigns.csv configuration file with the matching Campaign ID 6. Used IIS logs and SDC logs from two days activity, to make sure that at least one visit session exists. The result of this is that the "Campaign IDs" report have "no data available", and the only report that have data, like in Adam's case, is the "Same Visit Campaign IDs" report, which display correct Campaign ID. This report displays data only in profile which uses IIS log files. The profile based on SDC show absolutely no marketing data. So, my question is, are there some additional steps that I must perform? There is a mention here of a strong tracking method. I didn't manually create a cookie for my test web site, so perhaps this is the issue? If so, how come there is data in this one report using IIS logs, but nothing with SDC? Correct me if I'm wrong, but doesn't SDC uses it's own cookie for collecting data? Thanks in advance for responses. |
||||
|
| Powered by Social Strata |
| Please Wait. Your request is being processed... |
|
forums.webtrends.com
Webtrends Online Forums
Webtrends Analytics 8 Software
Installation, Configuration, and Administration
Campaign data not being collected
