Support
- Where can I find my tracking code?
- Where should I add the tracking code?
- My report is empty - why?
- I added a site to track but it was blocked by your privacy team - why?
- I added a new site to track to an existing profile and now it is hard to compare tracked sites.
- How do I use beencounter API?
Where can I find my tracking code?
Once you register with beencounter you can add a tracking profile. There is a unique tracking code for each tracking profile. You can create a tracking profile and get its tracking code at http://www.beencounter.com/?page=profile
Where should I add the tracking code?
You should add the code just before the </body> tag. If you subscribed to our API service, you should add the code after the <body> tag or before the content that you would like to change, based on your visitor's profile.
My report is empty - why?
Sometimes the sites you track are not very popular so many of your visitors haven't been to them. If you want to be sure the code is working please add, for a short while, a popular site like www.google.com to your tracked sites. The report should show visitors that been to www.google.com. Another possible reason is that the tracking code was not placed between the <body>..</body> tags.
I added a site to track but it was blocked by your privacy team - why?
Out of respect for your visitors' privacy and to avoid misuse of data, our privacy team reviews tracked sites submissions. For example, banks will not be tracked by our system.
I added a new site to track to an existing profile and now it is hard to compare tracked sites.
Since tracking did not start at the same time, comparing distribution between tracked sites will be hard. There are two options:
- Delete the profile and create a new one.
- Select report date range after the profile change.
How do I use the beencounter API?
When you subscribe to beencounter API, several JavaScript arrays will be available to you:
Array b_c_been will include the sites your visitors have been to.
Array b_c_other will include additional visitor information:
- b_c_other["date"] will include the date the current visitor first came to your site.
- b_c_other ["server-time"] will include the server time (current time measured in the number of seconds since the Unix Epoch at January 1 1970 00:00:00 GMT) the current visitor first came to your site.
- b_c_ other ["referral"] will include the site the user first came from to your site (referral).
- b_c_ other ["visitor-id"] will include current visitor beencounter unique id.
You will find several examples below on how to use these arrays in order to customize your page for a specific visitor.
Example 1:
You are tracking visits to www.example.com and want to display a message to your visitors that have been to www.example.com. A possible script would be:
<script type="text/javascript">
if(b_c_been["xxxxx"] == "1" ) {
document.write("example.com is good but we are better.");
}
</script>
xxxxx is the tracked site id. You can find out the tracked site id in your profile page.
Example 2:
Same story as the example above but you want to show the message only to visitors that came to your site after searching on Google.
<script type="text/javascript">
var ref= b_c_other["referral"];
if (b_c_been["xxxxx"] == "1" && ref.indexOf("google")>-1)
{
document.write("example.com is good but we are better. Lucky you found us on Google.");
}
</script>
Example 3: Same story as example 1 but you want to show the message only to visitors that came to your site last week.
<script type="text/javascript">
var came= b_c_other["server-time"];
today=new Date()/1000;
week=60*60*24*7;
if (b_c_been["xxxxx"] == "1" && today-came>week)
{
document.write("Thank you for visiting us again. Since your previous visit, we have received an award on our best selling product.");
}
</script>
Example 4: Adding the user specific data to your register/contact us form. A possible script would be to add these script lines just before the </form> tag.
<script type="text/javascript">
document.write("<input name='date-came' type='hidden' value='" + b_c_other["date"] + "' />");
document.write("<input name='server-time-came' type='hidden' value='" + b_c_other["server-time"] + "' />");
document.write("<input name='referral' type='hidden' value='" + b_c_other["referral"] + "' />");
document.write("<input name='sites-been' type='hidden' value='" + b_c_other["sites-been"] + "' />");
document.write("<input name='b-c-id' type='hidden' value='" + b_c_other["visitor-id"] + "' />");
</script>
Other Questions?
Fill out this form and we'll be happy to help.
Your Name
Your Email
Your Message
Or email us at


