Go back to previous page
Forum URL: http://www.dombom.com/cgi-bin/dcforum/dcboard.cgi
Forum Name: Tuelz
Topic ID: 11
Message ID: 1
#1, Using Replacez to Insert Tracking Codes
Posted by Kurt on Jan-31-05 at 02:29 AM
In response to message #0
LAST EDITED ON Jan-31-05 AT 02:49 AM (PST)
 
Many website stats programs (and other things) require each page to use a unique tracking code. Replacez is perfect for this.

Replacez is perfect for this type of thing. It's a "two stepper".

Step One:
Find:
</body>

Replacez:
<!--trackingTagID=PAGE-ID-TAG--></BODY>

This will insert the tracking tag at the bottom of each page. Don't forget to re-include the </body> tag in the "replace", also.

Step Two
Find:
PAGE-ID-TAG&id=

Replacez:
PAGE-ID-TAG&id=1
PAGE-ID-TAG&id=2
PAGE-ID-TAG&id=3
PAGE-ID-TAG&id=4
...etc.

Of course, the exact tag will be different, but try to isolate the ID number that needs to change and use Replacez.

This will give a different ID for each page. You may be able to use your keywords as ID, depending on your tracking program.

This method should take less than 5 minutes to add a unique tracking code to a few thousand pages.

Just make sure you have more "numbers" than pages.