Urchin filter question

5 views
Skip to first unread message

nakita_dog

unread,
Dec 3, 2009, 8:45:38 AM12/3/09
to Urchin Software from Google - help forum - Urchin 6
All my URLs are currently tagged in a unique way. I would like to know
how I can use an Urchin filter in order to change how my tagging is
processed from within Urchin.

For example, I use the following type of URL:
www.example.com?ref=google_adwords&campaign=mysearch_campaign&adgroup=myadgrouptheme&ad=033

ref=google_adwords
campaign=mysearch_campaign
adgroup=myadgrouptheme
ad=033

I need to change it to:

www.example.com?utm_source=google_adwords&utm_medium=cpc&utm_campaign=mysearch_campaign&utm_content=033&utm_term=myadgrouptheme

utm_source=google_adwords
utm_medium=cpc
utm_campaign=mysearch_campaign
utm_term=myadgrouptheme
utm_content=033


I have been trying search and replace filters, however this does not
seem to work.

Jeremy Aube

unread,
Dec 4, 2009, 8:35:44 AM12/4/09
to Urchin Software from Google - help forum - Urchin 6
This really requires a code change in your UTM code. See the
following:

http://www.google.com/support/googleanalytics/bin/answer.py?answer=75768

You can use filters instead to some extent, but this is probably more
of a patch than an actual fix. They would probably look something like
this:

Filter Name: Map Source
Filter Type: Advanced
Field A: request_uri (AUTO)
Extract A: ref=([^&]*)
Field B: (None)
Extract B:
Output To: utm_source (AUTO)
Constructor: $A1
Field A Required: Yes
Field B Required: No
Override Output Field: Yes
Case Sensitive: No

The rest would be similar. The problems with using filters instead of
the code change are:

1. Filters are only session based, so return visits wouldn't be
tracked.
2. This particular filter is actually pageview based, so conversions,
etc. won't be properly attributd. CPC cost data is unlikely to be
attributed as well.

Jeremy Aube
http://www.roirevolution.com/urchin

On Dec 3, 8:45 am, nakita_dog <aaronwein...@gmail.com> wrote:
> All my URLs are currently tagged in a unique way. I would like to know
> how I can use an Urchin filter in order to change how my tagging is
> processed from within Urchin.
>
> For example, I use the following type of URL:www.example.com?ref=google_adwords&campaign=mysearch_campaign&adgroup...
>
> ref=google_adwords
> campaign=mysearch_campaign
> adgroup=myadgrouptheme
> ad=033
>
> I need to change it to:
>
> www.example.com?utm_source=google_adwords&utm_medium=cpc&utm_campaign...

nakita_dog

unread,
Dec 4, 2009, 10:34:06 AM12/4/09
to Urchin Software from Google - help forum - Urchin 6
Thank you for your detailed reply.

> This really requires a code change in your UTM code.

What if I am only using the IP+UserAgent method and not the UTM
Method?

How would that effect things.

> 2. This particular filter is actually pageview based, so conversions,
> etc. won't be properly attributd. CPC cost data is unlikely to be
> attributed as well.

What if the conversion (Goal) were to occur within one session?
> Jeremy Aubehttp://www.roirevolution.com/urchin
Reply all
Reply to author
Forward
0 new messages