Woopra Forums » General Discussion » How Do I...

query string

(9 posts)
  • Started 3 months ago by berbel
  • Latest reply from crittelmeyer

Tags:

  • berbel
    Member

    Hi

    For most of our URLs we use IDs in the query string.
    example : http://www.example.com/product?id=2

    All urls in woopra are stripped of these. = pretty much no use to us whatsoever. Any way around this?

    Regards,
    Soeren

    Posted 3 months ago #
  • The woopra API allows you to create your own variables to pass to woopra.
    I don't know what language you're using, but you need to output javascript that resembles this:

    <script type="text/javascript">
    var woopra_id = 'xxxxx';

    var woopra_array = new Array();
    woopra_array['userid'] = 'joe';
    woopra_array['age'] = '32';

    </script>
    <script src="http://static.woopra.com/js/woopra.js"></script>

    Where userid and age are the variables you want instead.

    Posted 3 months ago #
  • berbel
    Member

    Thanks for replying but not quite how that would help us.

    At the moment a live view Visitor Navigation path pretty much looks like this :
    /product.asp
    /product.asp
    /product.asp
    /product.asp
    ...

    When really it should have been :
    /product?id=3
    /product?id=4
    /product?id=5
    /product?id=6

    If you know what I mean.. ALL urls in the navigation path is stripped of query string parameters, which is just mind boggling silly.

    Posted 3 months ago #
  • Right, you could create variables that would tell you the query string parameters. For instance, something like:

    woopra_array['id']='<%= QueryString("id")%>';

    That way the ID would show up in Woopra.

    Posted 3 months ago #
  • berbel
    Member

    Thanks skidvis for getting back on this.

    Tried it, but still no difference in the Visitor Navigation path so I guess I'll just have to wait and see if it is implemented on a later stage.

    Another question, I see mention of an API, but have not been able to find any other details anywhere on this site.

    Cheers,
    Soeren

    Posted 3 months ago #
  • Photography by Toine
    Member

    skidvis -

    HOW is that information showing up Woopra? I don't see it.

    T

    Posted 2 months ago #
  • maxime
    Member

    Hi,

    Is it possible to use this method to automatically tag visitors ? Maybe a woopra_array['name']= $var; ?

    Actually I have just tested it and it works. This is truly amazing...

    Thanks,

    Maxime

    Posted 2 months ago #
  • How did you get this to work? Could you post your code? (without ID obviously) I've been trying to get Woopra to read syntax from an email url with no luck. (code tags added here)

    Here's what I've tried:

    woopra_array['email2']='<%= QueryString("utm_content")%>';
    woopra_array['email3']='<%= QueryString("utm_content=")%>';
    woopra_array['name']= $utm_content;
    woopra_array['name']=' <% QueryString("utm_content")%>';

    But I don't have any idea how the arrays are named or where they might show up!

    Help?

    Btw, the syntax looks something like this:
    http://www.redcanary.ca/view/project-manager26?utm_source=ESP&utm_medium=Email&utm_term=%2Fview%2Fproject-manager26&utm_content=email%40domain.ca&utm_campaign=landing+page

    Posted 2 months ago #
  • crittelmeyer
    Member

    Hey guys, I also am having trouble with this.

    Also, when will we be able to pay money to lift the user cap? I can't WAIT!

    Love this program...

    Chris
    (from InvestorVillage @ blogworld)

    Posted 1 week ago #

RSS feed for this topic

Reply

You must log in to post.