Filter session ID with Google Analytics

Today a request reaches me with the following problem:

The reader has a shop which generates a new session ID each time you visit and then packaged in the URL. It looks like this:

/ cgi-bin/shop/47125eba00685728274050f3360805ed/product/view/FRC3962246B

Changes the URL for each visitor to each beautiful statistics in the bucket is of course. My first advice would be to ban the session ID from the URL of course, because there it has nothing to find my opinion. But there is a solution with a filter for Google Analytics. You can simply take a search and replace filter and filter out the session ID by regular expression. Because I don’t have a shop with such URL structure unfortunately I could not test the filter. So take care!

And the filter would look like:

The regular expression \\w+ which searches for any character string of alphanumeric characters and numbers is important. If you know how long is the session ID, you could restrict the number of characters.

Because I did something on instinct the filter, I would very happy feedback and any corrections or problems in the comments.

And remember: always first create a copy of the profile, otherwise the data is gone. Filter unfortunately don’t apply to existing data, only for the future collected.

Related posts:

Amjad's articles more →

Sajjad's articles more →

Tahir's articles more →

Nadeem's articles more →

Alexis's articles more →

categories

archives

top searches

Back to Top

Amjad Iqbal
Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Page 16 Page 17 Page 18 Page 19 Page 20 Page 30 Page 40 Page 50 Page 60 Page 70 Page 80 Page 90 Page 100 Page 110 Page 120 Page 130 Page 140 Page 150 Page 160 Page 170 Page 180 Page 190 Page 200 Page 210 Page 220 Page 230 Page 240 Page 250 Page 260 Page 270 Page 280 Page 290 Page 300 Page 310 Page 320 Page 330 Page 340 Page 350 Page 360 Page 370 Page 380 Page 390 Page 400 Page 410 Page 420 Page 430 Page 440 Page 450 Page 460 Page 470 Page 480 Page 490 Page 500 Page 510 Page 520 Page 530 Page 540 Page 550 Page 560 Page 570 Page 580 Page 590 Page 600 Page 610 Page 620 Page 630 Page 640 Page 650 Page 660 Page 670 Page 680 Page 690 Page 690 Page 690 Page 700 Page 710 Page 720 Page 730 Page 740 Page 750 Page Last
Neat Bits & Pieces HTM Sitemap/Archives