Adding Google analytics to an E-commerce site

3 replies
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...!
#adding #analytics #ecommerce #google #site
  • Profile picture of the author detector
    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
    Signature

    Coming soon, PREMIUM rebrandable software at very low prices.

    {{ DiscussionBoard.errors[4318522].message }}
    • Profile picture of the author danilolee
      I recommend checking the header to see if it's a global (sitewide) element.
      {{ DiscussionBoard.errors[4324775].message }}
  • Profile picture of the author TrueStory
    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.
    Signature

    Your business matters only to people that matter to your business[/U][/B] - Reach them?

    {{ DiscussionBoard.errors[4325499].message }}

Trending Topics