| | #1 |
| Active Warrior Join Date: 2010
Posts: 67
Thanks: 10
Thanked 2 Times in 2 Posts
|
Does anyone know the easiest way to add analytics to every page of an e-commerce site - or any sites with lots of pages for that matter, without doing it one by one, page by page? That would take forever...! |
| | |
| |
| | #2 |
| Active Warrior War Room Member Join Date: 2009 Location: Wakefield, UK
Posts: 86
Thanks: 92
Thanked 116 Times in 17 Posts
|
it depends if you use a custom e-commerce solution which would make it harder or an off the shelf script that might have a module built in to allow for google analytics if you give me some more info ill gladly help you out, dont mind spending half an hour getting it sorted for you? det |
| |
| | #3 |
| Active Warrior War Room Member Join Date: 2011 Location: United States
Posts: 46
Thanks: 0
Thanked 2 Times in 2 Posts
|
I recommend checking the header to see if it's a global (sitewide) element.
|
| |
| | #4 |
| www.MichaelKove.com War Room Member Join Date: 2007 Location: Miami Beach, FL
Posts: 142
Thanks: 7
Thanked 18 Times in 16 Posts
|
I know your pain, i have personally picked up several projects where two-page site spiraled into thirty-page site, and if I had to do any changes to the header menu, it had to be done in ALL files. Ok, here is solution i have used that worked for me: In Dreamweaver there is a wonderful function Find and Replace. I used that, I replaced ALL instances of </head> with <google analytics code></head> You can modify your search parameters to include entire folder (not just current open documents). Download all your files to your HD and edit them in Dreamweaver. IF you do not have dreamweaver, ...... This just in... Notepad++ has the same feature. (How To “Find And Replace” Words In Multiple Files) Hope this help. Oh and since you're doing "search and replace", I HIGHLY recommend creating one global header file and including it ...trust me, you will thank yourself later. |
| |
|
| Bookmarks |
| Tags |
| adding, analytics, ecommerce, google, site |
| |